2015-02-17 Steve Ellcey <sellcey@imgtec.com>
[glibc.git] / ChangeLog
blob606d80f82b07122bd1a60f433eb8c6d3f70f7894
1 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
3         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
5 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8         (__v1longjmp): Remove versioned symbol.
9         (__v1siglongjmp): Remove alias and versioned symbol.
10         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
11         (__v2siglongjmp): Likewise.
13 2015-02-16  Torvald Riegel  <triegel@redhat.com>
15         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
17 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
19         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
23         [BZ #17987]
24         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
25         zero result does not depend on the sign resulting from
26         subtraction.
27         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
28         Likewise.
29         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
30         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
31         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
32         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
33         * math/libm-test.inc (remquo_test_data): Add more tests.
35 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
37         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
38         Problem reported by J William Piggott.
40 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
42         [BZ #17978]
43         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
44         products 4 * y and 2 * y where those would overflow.
45         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
46         Likewise.
47         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
48         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
49         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
50         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
51         * math/libm-test.inc (remquo_test_data): Add more tests.
53         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
55         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
56         [defined _COMPILING_NEWLIB].
57         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
58         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
60         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
61         [!defined __mips_isa_rev || __mips_isa_rev < 6].
63 2015-02-16  Torvald Riegel  <triegel@redhat.com>
65         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
66         acquired.
68 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
70         [BZ #17792]
71         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
72         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
73         HOST_STACK_END_ADDR): Likewise.
75 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
77         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
78         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
79         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
81 2015-02-13  Roland McGrath  <roland@hack.frob.com>
83         * sysdeps/generic/c++-types.data: New file.
84         * sysdeps/generic/ld.abilist: New file.
85         * sysdeps/generic/libBrokenLocale.abilist: New file.
86         * sysdeps/generic/libanl.abilist: New file.
87         * sysdeps/generic/libc.abilist: New file.
88         * sysdeps/generic/libcrypt.abilist: New file.
89         * sysdeps/generic/libdl.abilist: New file.
90         * sysdeps/generic/libm.abilist: New file.
91         * sysdeps/generic/libpthread.abilist: New file.
92         * sysdeps/generic/libresolv.abilist: New file.
93         * sysdeps/generic/librt.abilist: New file.
95 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
97         [BZ #17569]
98         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
99         Compute absolute value of x as modified by fmod, not original
100         value of x.
101         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
102         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
103         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
104         RUN_TEST_ffI_f1_mod8.
105         (remquo_test_data): Add more tests.
107 2015-02-13  Roland McGrath  <roland@hack.frob.com>
109         * sysdeps/init_array/pt-crti.S: New file.
111 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
113         [BZ #17967]
114         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
115         __builtin_fmaf instead of relying on contraction of a * b + c.
117 2015-02-12  J William Piggott  <elseifthen@gmx.com>
119         [BZ #17969]
120         * manual/time.texi: correct the zoneinfo path in the TZ Variable
121         node.
123 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
125         [BZ #17964]
126         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
127         __builtin_fma instead of relying on contraction of a * b + c.
129 2015-02-12  Roland McGrath  <roland@hack.frob.com>
131         * Makeconfig (ASFLAGS): Add -Werror=undef.
132         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
133         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
134         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
136         * Makeconfig (after-link): New variable.
137         (+link-pie, +link-pie-tests): Use it.
138         (+link-static, +link-static-tests): Likewise.
139         (+link, +link-tests): Likewise.
140         * Makerules (build-module, build-module-asneeded): Likewise.
141         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
142         Likewise.
143         * elf/Makefile ($(objpfx)ld.so): Likewise.
145 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
147         [BZ #17965]
148         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
149         both struct timeval and struct timespec.
151 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
153         [BZ #16560]
154         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
155         and redefine.
156         (__ieee754_exp2l): Do not multiply small fractional parts by
157         M_LN2l.
158         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
159         small argument.
160         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
161         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
162         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
163         * math/auto-libm-test-in: Add more tests of exp2.
164         * math/auto-libm-test-out: Regenerated.
166 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
168         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
169         unaligned path.
171 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
173         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
174         little endian.
176 2015-02-12  Andreas Schwab  <schwab@suse.de>
178         [BZ #15790]
179         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
180         Filter out elision flags from value returned in kind.
181         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
182         * nptl/tst-pthread-mutexattr.c: New file.
184 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
186         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
187         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
188         into gnu-gnu, and update comment to refer to abi-tags.
190 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
192         [BZ #15467]
193         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
194         (__sincos): Set errno to EDOM for infinite argument.
195         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
196         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
197         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
198         (__sincosl): Set errno to EDOM for infinite argument.
199         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
200         (__sincosl): Set errno to EDOM for infinite argument.
201         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
202         (__sincosl): Set errno to EDOM for infinite argument.
203         * math/libm-test.inc (sincos_test_data): Test errno setting.
205 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
207         * string/strxfrm_l.c: Remove #define STRCMP.
208         * string/strcoll_l.c: Remove #define STRLEN.
209         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
210         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
212 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
214         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
215         * sysdeps/mips/mips32/sfp-machine.h: ... here.
216         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
217         * sysdeps/mips/mips64/Makefile: ... here.
218         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
219         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
220         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
221         * sysdeps/mips/mips64/sfp-machine.h: ... here.
222         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
223         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
224         * sysdeps/mips/mips64/n64/Implies: Likewise.
226 2015-02-10  Roland McGrath  <roland@hack.frob.com>
228         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
229         <sys/time.h>, <string.h>, and <errno.h>.
230         (dest_offset, dest_address, value, zero): Remove unused variables.
231         (ldouble): Remove typedef.
232         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
233         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
234         1).  Fix code style.
235         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
236         (check): Function removed.
237         (CHECK): New macro.
238         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
239         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
240         Don't call set_sigaction_FP and remove_sigaction_FP here.
241         (ldouble_test): Just use 'long double' as macro argument, no need for
242         the 'ldouble' typedef.
243         (do_test): Set up SIGFPE handler at start, using plain signal rather
244         than sigaction.  Fix code style.
246 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
248         [BZ #17949]
249         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
250         jump label.
252 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
254         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
255         * sysdeps/powerpc/powerpc32/configure: Regenerated.
257         * sysdeps/powerpc/configure.ac: Remove file.
258         * sysdeps/powerpc/configure: Likewise.
260         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
261         [sysdep_routines]: Remove wordcopy-power6 object.
262         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
263         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
264         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
265         (__memmove_ppc32): Likewise.
266         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
267         file.
268         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
269         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
270         Remove preprocessor.
272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
273         [sysdep_routines]: Remove wide chars objects.
274         [wcsmbs]: New rule for wide char objects.
276         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
277         Remove wordcopy-power6 obejct.
278         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
279         Use local call for wordcopy and memcpy symbols.
280         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
281         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
282         implementation for loader.
283         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
285         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
286         Remove wordcopy-power7 object.
287         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
289         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
290         (_wordcopy_fwd_dest_aligned): Likewise.
291         (_wordcopy_bwd_aligned): Likewise.
292         (_wordcopy_bwd_dest_aligned): Likewise.
294         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
295         Rewrite to call __memmove_ppc instead of include default
296         implementation.
298         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
299         Remove wide chars objects.
300         [wcsmbs]: New rule for wide char objects.
302 2015-02-09  Andreas Schwab  <schwab@suse.de>
304         [BZ #17912]
305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
306         in terms of __O_DIRECTORY.
308 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
310         * time/getdate.c: Include <stdbool.h>.
311         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
312         call PTR_MANGLE.
313         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
314         PTR_DEMANGLE.
316 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
318         Add ersatz _Static_assert on older C hosts
319         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
320         pre-C11 C platform that is not known to support _Static_assert.
322 2015-02-07  Richard Braun  <rbraun@sceen.net>
324         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
325         sigstate.
326         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
328 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
330         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
331         priority against unexistent AIO_PRIO_DELTA_MAX.
332         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
333         instead of int.
334         * misc/fchflags.c (fchflags): Likewise.
335         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
336         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
337         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
338         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
339         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
340         Declare macros.
341         [__USE_MISC] (chflags, fchflags): Declare functions.
342         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
343         EINVAL when nfds is greater than FD_SETSIZE.
344         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
345         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
346         45.
347         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
348         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
349         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
350         MACH_RCV_TIMED_OUT.
351         * hurd/hurd/signal.h (_hurd_self_sigstate,
352         _hurd_critical_section_lock, _hurd_critical_section_unlock):
353         Explicit casts from void *.
354         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
355         * abi-tags: Rename gnu-gnu os into gnu.
357         [BZ #4719]
358         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
359         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
360         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
361         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
362         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
363         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
365         [BZ #17944]
366         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
367         duplicates ADDR->sun_path with sockaddr LEN limitation.
368         * sysdeps/mach/hurd/connect.c: Include <string.h>
369         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
370         * sysdeps/mach/hurd/sendmsg.c: Likewise.
371         * sysdeps/mach/hurd/sendto.c: Likewise.
372         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
373         implementing it by hand.
375 2015-02-06  Roland McGrath  <roland@hack.frob.com>
377         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
378         Use sfi_breg on ldr.
379         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
380         Likewise.
382         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
383         it's defined.
384         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
385         Test SIGSETXID only if it's defined.
387         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
389         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
390         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
392         * nptl/tst-align2.c: Moved ...
393         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
394         * nptl/Makefile (tests): Remove tst-align2.
395         * sysdeps/unix/sysv/linux/Makefile
396         [$(subdir) = nptl] (tests): Add tst-align-clone.
397         * nptl/tst-getpid1.c: Moved ...
398         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
399         * nptl/tst-getpid2.c: Moved ...
400         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
401         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
402         * sysdeps/unix/sysv/linux/Makefile
403         [$(subdir) = nptl] (tests): ... here.
404         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
405         * sysdeps/unix/sysv/linux/Makefile
406         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
408         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
409         Drop trailing \n from perror argument.  Use return rather than exit.
411         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
412         on [SA_SIGINFO].
413         * nptl/tst-cancel21.c (do_test): Likewise.
414         * debug/tst-backtrace6.c: Include <signal.h> first thing.
415         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
416         [!SA_SIGINFO]: Make it a stub test.
418         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
419         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
421         * posix/tst-getlogin.c: Move to ...
422         * login/tst-getlogin.c: ... here.
423         * posix/Makefile (tests): Move tst-getlogin to ...
424         * login/Makefile (tests): ... here.
426         * libio/tst-atime.c (do_test): Move local variables SV and E
427         inside [ST_NOATIME] conditional.
429         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
431         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
433         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
434         (wait_code): New function replaces macro.
435         Call nanosleep rather than syscall.
437         * nptl/pt-system.c: Rewritten.  Put everything under
438         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
439         Use IFUNC to redirect when possible.
441         * nptl/pt-longjmp.c: Rewritten.  Put everything under
442         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
443         Use IFUNC to redirect when possible.
445         * nptl/pt-fork.c: Rewritten.  Put everything under
446         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
447         Use IFUNC to redirect when possible.
448         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
450         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
451         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
452         unconditionally nowadays.  This included the only reference to
453         __vdso_clock_gettime that appears outside libc proper.
454         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
455         Remove version set (containing only __vdso_clock_gettime).
456         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
457         Add attribute_hidden.
458         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
459         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
460         libc_hidden_data_def.
461         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
462         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
464         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
465         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
466         setrpcent, and getrpcport to ...
467         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
468         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
469         getrpcbynumber_r, and getrpcent_r to ...
470         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
471         * inet/getrpcbyname.c: Moved ...
472         * sunrpc/getrpcbyname.c: ... here.
473         * inet/getrpcbyname_r.c: Moved ...
474         * sunrpc/getrpcbyname_r.c: ... here.
475         * inet/getrpcbynumber.c: Moved ...
476         * sunrpc/getrpcbynumber.c: ... here.
477         * inet/getrpcbynumber_r.c: Moved ...
478         * sunrpc/getrpcbynumber_r.c: ... here.
479         * inet/getrpcent.c: Moved ...
480         * sunrpc/getrpcent.c: ... here.
481         * inet/getrpcent_r.c: Moved ...
482         * sunrpc/getrpcent_r.c: ... here.
483         * inet/Makefile (routines): Move those to ...
484         * sunrpc/Makefile (routines): ... here.
485         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
486         the $(subdirs) list.
487         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
488         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
489         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
490         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
492         * elf/Makefile (routines): Include $(all-dl-routines), not just
493         $(dl-routines).
494         (rtld-routines): Likewise.  Use = rather than :=.
495         * sysdeps/aarch64/Makefile [$(subdir) = elf]
496         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
497         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
498         * sysdeps/arm/Makefile: Likewise.
499         * sysdeps/i386/Makefile: Likewise.
500         * sysdeps/x86_64/Makefile: Likewise.
501         * sysdeps/hppa/Makefile [$(subdir) = elf]
502         (sysdep_routines, sysdep-rtld-routines): Don't add
503         $(sysdep-dl-routines) to these.
504         * sysdeps/ia64/Makefile: Likewise.
505         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
506         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
507         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
508         Don't add dl-static to these; sysdep-dl-routines alone is enough.
509         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
510         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
511         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
512         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
513         * sysdeps/powerpc/Makefile [$(subdir) = elf]
514         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
515         these; sysdep-dl-routines alone is enough.
517 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
519         [BZ #17932]
520         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
521         where multiplication results in zero and third argument is finite
522         and nonzero.
523         * math/auto-libm-test-in: Add more tests of fma.
524         * math/auto-libm-test-out: Regenerated.
526         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
527         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
528         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
529         (_FP_CMP_EQ): Likewise.
530         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
532         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
533         extra argument CHECK_NAN.  Redefine as wrapper around
534         _FP_EXTEND_CNAN.
536 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
538         * version.h (RELEASE): Set to "stable".
539         (VERSION): Set to "2.21"
540         * include/features.h (__GLIBC_MINOR__): Set to 21.
542         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
544 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
545             Paul Eggert  <eggert@cs.ucla.edu>
547         [BZ #16618]
548         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
549         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
550         size in bytes. Store needed elements in wpmax. Use needed size
551         in bytes for extend_alloca.
553 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
555         * manual/install.texi: Latest tested versions are GCC 4.9.2,
556         binutls 2.25, and texinfo 5.2.
557         * INSTALL: Regenerate.
558         * sysdeps/nios2/configure: Regenerate.
559         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
560         * manual/contrib.texi: Update.
561         * po/be.po: Update.
562         * po/bg.po: Update.
563         * po/ca.po: Update.
564         * po/cs.po: Update.
565         * po/da.po: Update.
566         * po/de.po: Update.
567         * po/el.po: Update.
568         * po/eo.po: Update.
569         * po/es.po: Update.
570         * po/fi.po: Update.
571         * po/fr.po: Update.
572         * po/gl.po: Update.
573         * po/hr.po: Update.
574         * po/hu.po: Update.
575         * po/ia.po: Update.
576         * po/id.po: Update.
577         * po/it.po: Update.
578         * po/ja.po: Update.
579         * po/ko.po: Update.
580         * po/lt.po: Update.
581         * po/nb.po: Update.
582         * po/nl.po: Update.
583         * po/pl.po: Update.
584         * po/pt_BR.po: Update.
585         * po/ru.po: Update.
586         * po/rw.po: Update.
587         * po/sk.po: Update.
588         * po/sl.po: Update.
589         * po/sv.po: Update.
590         * po/tr.po: Update.
591         * po/uk.po: Update.
592         * po/vi.po: Update.
593         * po/zh_CN.po: Update.
594         * po/zh_TW.po: Update.
596         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
597         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
598         * sysdeps/hppa/dl-irel.h: Remove #warning.
599         * sysdeps/hppa/entry.h: Provide prototype for
600         __canonicalize_funcptr_for_compare and cast argument.
601         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
602         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
603         * sysdeps/hppa/sotruss-lib.c: New file.
604         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
605         (atomic_compare_and_exchange_val_acq): Use __typeof__.
606         (atomic_compare_and_exchange_bool_acq): Likewise.
607         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
608         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
610         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
611         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
612         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
614 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
616         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
617         called function in non-PIC case.
619 2015-01-31  David S. Miller  <davem@davemloft.net>
621         * sysdeps/sparc/sparc32/bits/atomic.h
622         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
623         unlock not after it.
624         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
625         volatile register usage warnings from the compiler.
627         * sysdeps/sparc/nptl/sem_init.c: Delete.
628         * sysdeps/sparc/nptl/sem_post.c: Delete.
629         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
630         * sysdeps/sparc/nptl/sem_wait.c: Delete.
631         * sysdeps/sparc/sparc32/sem_init.c: New file.
632         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
633         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
634         padding explicitly initialized.
635         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
636         padding for in-semaphore spinlock.
637         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
638         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
639         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
640         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
641         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
642         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
643         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
644         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
645         version.
646         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
647         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
649 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
651         [BZ #17801]
652         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
653         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
654         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
655         New.
656         (index_AVX_Fast_Unaligned_Load): Likewise.
657         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
658         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
659         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
660         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
661         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
662         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
663         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
664         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
665         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
667 2015-01-29  Andreas Schwab  <schwab@suse.de>
669         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
671 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
673         [BZ #17892]
674         * nscd/nscd_stat.c (send_stats): Initialize DATA.
676 2015-01-28  Martin Sebor  <msebor@redhat.com>
678         * math/README.libm-test: Clarify. Add "How to read the test output."
680 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
682         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
683         Define to 0.
685 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
687         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
688         (__HAVE_64B_ATOMICS): Define to 0.
690 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
692         [BZ #17885]
693         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
694         value to set as new flag.
696         [BZ #16576]
697         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
698         and use _ARCH_PPCSQ instead.
699         (__ieee754_sqrt): Likewise.
700         (__ieee754_sqrtf): Likewise.
701         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
702         _ARCH_PPCSQ is defined.
703         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
704         fsqrt instruction.
705         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
706         _ARCH_PPCSQ is defined.
707         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
708         fsqrts instruction.
709         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
711 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
713         * iconv/loop.c: Suppress array out of bound warning caused by GCC
714         bug (GCC BZ #64739).
716 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
718         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
719         Mark _retval as used.
720         (lll_futex_wake_unlock): Likewise.
721         (lll_futex_timed_wait_requeue_pi): Likewise.
723         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
724         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
725         register variables.
727         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
728         libm_hidden_def.
730         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
731         (__bswap_64): Mark as __always_inline.
733 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
735         [BZ #15378]
736         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
737         when none of the search directories exist.
739 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
741         [BZ #17869]
742         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
743         power8 in .machine directive.
745         [BZ #17868]
746         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
747         set dependency from opd value.
749 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
752         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
753         architecture.
755 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
757         [BZ #17870]
758         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
759         with uint64_t.
760         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
761         (uint64_t) 1.
762         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
763         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
764         Replace 1UL with (uint64_t) 1.
765         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
766         int with uint64_t.
768 2015-01-23  Roland McGrath  <roland@hack.frob.com>
770         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
771         (if_freenameindex): Likewise.
773         * resource/getrlimit64.c: Add missing libc_hidden_def.
775 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
777         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
778         __label__.
779         (_FP_FMA): Likewise.
780         (_FP_TO_INT_ROUND): Likewise.
781         (_FP_FROM_INT): Likewise.
783 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
785         [BZ #16418]
786         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
787         Make code racy and cancel safe.
789 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
791         * sysdeps/arm/unwind-resume.h: Fix copyright year.
792         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
793         attribution.
795         * pwd/tst-getpw.c: Rewrite.
797         [BZ #17702]
798         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
799         (modules-names): Add moddummy1 and moddummy2.
800         ($(objpfx)tst-rec-dlopen): Define.
801         * dlfcn/moddummy1.c: New file.
802         * dlfcn/moddummy2.c: New file.
803         * dlfcn/tst-rec-dlopen.c: New file.
804         * elf/dl-cache.c (_dl_load_cache_lookup):
805         Return char*. Copy result with alloca/strcpy/strdup.
806         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
807         returns char*. Free cached. If not saving realname
808         free cached.
809         * elf/dl-open.c (dl_open_worker): Do not assert that
810         _r_debug->r_state is RT_CONSISTENT.
811         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
812         returns char*.
814 2015-01-21  Torvald Riegel  <triegel@redhat.com>
815             Carlos O'Donell  <carlos@redhat.com>
817         [BZ #12674]
818         * nptl/sem_waitcommon.c: New file.
819         * nptl/sem_wait.c: Include sem_waitcommon.c.
820         (__sem_wait_cleanup, do_futex_wait): Remove.
821         (__new_sem_wait): Adapt.
822         (__new_sem_trywait): New function.
823         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
824         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
825         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
826         (sem_timedwait): Adapt.
827         * nptl/sem_post.c (__new_sem_post): Adapt.
828         (futex_wake): New function.
829         (__old_sem_post): Add release MO fence.
830         * nptl/sem_open.c (sem_open): Adapt.
831         * nptl/sem_init.c (__new_sem_init): Adapt.
832         (futex_private_if_supported): New function.
833         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
834         (__old_sem_getvalue): Add using previous code.
835         * sysdeps/nptl/internaltypes.h: Adapt.
836         * nptl/tst-sem13.c (do_test): Adapt.
837         * nptl/tst-sem11.c (main): Adapt.
838         * nptl/sem_trywait.c: Remove.
839         * nptl/DESIGN-sem.txt: Remove.
840         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
841         (gen-as-const-headers): Remove structsem.sym.
842         * nptl/structsem.sym: Remove.
843         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
844         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
845         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
846         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
847         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
848         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
849         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
850         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
851         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
852         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
853         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
854         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
855         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
856         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
857         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
858         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
859         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
860         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
861         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
862         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
863         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
864         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
866 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
868         * INSTALL: Regenerated.
870         * po/libc.pot: Regenerated.
872 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
873             Sandra Loosemore  <sandra@codesourcery.com>
874             Andrew Jenner  <andrew@codesourcery.com>
875             Joseph Myers  <joseph@codesourcery.com>
876             Nathan Sidwell  <nathan@codesourcery.com>
878         * NEWS: Mention new Nios II port.
879         * sysdeps/nios2/Implies: New file.
880         * sysdeps/nios2/Makefile: New file.
881         * sysdeps/nios2/Subdirs: New file.
882         * sysdeps/nios2/Versions: New file.
883         * sysdeps/nios2/__longjmp.S: New file.
884         * sysdeps/nios2/abort-instr.h: New file.
885         * sysdeps/nios2/backtrace.c: New file.
886         * sysdeps/nios2/bits/endian.h: New file.
887         * sysdeps/nios2/bits/fenv.h: New file.
888         * sysdeps/nios2/bits/link.h: New file.
889         * sysdeps/nios2/bits/setjmp.h: New file.
890         * sysdeps/nios2/bsd-_setjmp.S: New file.
891         * sysdeps/nios2/bsd-setjmp.S: New file.
892         * sysdeps/nios2/configure: New generated file.
893         * sysdeps/nios2/configure.ac: New file.
894         * sysdeps/nios2/crti.S: New file.
895         * sysdeps/nios2/crtn.S: New file.
896         * sysdeps/nios2/dl-init.c: New file.
897         * sysdeps/nios2/dl-machine.h: New file.
898         * sysdeps/nios2/dl-sysdep.h: New file.
899         * sysdeps/nios2/dl-tls.h: New file.
900         * sysdeps/nios2/dl-trampoline.S: New file.
901         * sysdeps/nios2/gccframe.h: New file.
902         * sysdeps/nios2/gmp-mparam.h: New file.
903         * sysdeps/nios2/jmpbuf-offsets.h: New file.
904         * sysdeps/nios2/jmpbuf-unwind.h: New file.
905         * sysdeps/nios2/ldsodefs.h: New file.
906         * sysdeps/nios2/libc-tls.c: New file.
907         * sysdeps/nios2/libm-test-ulps: New file.
908         * sysdeps/nios2/machine-gmon.h: New file.
909         * sysdeps/nios2/math-tests.h: New file.
910         * sysdeps/nios2/math_private.h: New file.
911         * sysdeps/nios2/memusage.h: New file.
912         * sysdeps/nios2/nptl/Makefile: New file.
913         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
914         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
915         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
916         * sysdeps/nios2/nptl/pthreaddef.h: New file.
917         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
918         * sysdeps/nios2/nptl/tls.h: New file.
919         * sysdeps/nios2/preconfigure: New file.
920         * sysdeps/nios2/s_fma.c: New file.
921         * sysdeps/nios2/s_fmaf.c: New file.
922         * sysdeps/nios2/setjmp.S: New file.
923         * sysdeps/nios2/sfp-machine.h: New file.
924         * sysdeps/nios2/sotruss-lib.c: New file.
925         * sysdeps/nios2/stackguard-macros.h: New file.
926         * sysdeps/nios2/stackinfo.h: New file.
927         * sysdeps/nios2/start.S: New file.
928         * sysdeps/nios2/sysdep.h: New file.
929         * sysdeps/nios2/tls-macros.h: New file.
930         * sysdeps/nios2/tst-audit.h: New file.
931         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
932         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
933         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
934         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
935         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
936         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
937         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
938         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
939         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
940         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
941         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
942         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
943         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
944         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
945         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
946         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
947         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
948         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
949         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
950         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
951         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
952         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
953         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
954         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
955         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
956         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
957         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
958         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
959         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
960         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
961         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
962         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
963         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
964         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
965         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
966         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
967         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
968         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
969         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
970         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
971         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
972         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
973         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
974         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
976 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
978         [BZ #17844]
979         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
980         (getutent): Use weak_alias in non SHARED case
981         and default_symbol_version in SHARED case.
982         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
983         (getutent_r, pututline): Likewise.
984         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
985         (getutid): Likewise.
986         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
987         (getutid_r): Likewise.
988         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
989         (getutline): Likewise.
990         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
991         (getutline_r): Likewise.
992         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
993         (updwtmp): Likewise.
995 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
997         [BZ #17848]
998         * sysdeps/s390/s390-32/memcmp.S
999         (memcmp_g5): Rename to __memcmp_g5.
1000         * sysdeps/s390/s390-32/memcpy.S
1001         (memcpy_g5): Rename to __memcpy_g5.
1002         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1003         (memcpy_mvcle) Rename to __memcpy_mvcle.
1004         * sysdeps/s390/s390-32/memset.S
1005         (memset_g5): Rename to __memset_g5.
1006         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1007         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1008         and use prefixed functions.
1009         * sysdeps/s390/s390-32/multiarch/memcmp.S
1010         (memcmp_z196): Rename to __memcmp_z196.
1011         (memcmp_z10): Rename to __memcmp_z10.
1012         (memcmp): Set alias to __memcmp_g5.
1013         (bcmp): Set alias to __memcmp_g5.
1014         * sysdeps/s390/s390-32/multiarch/memcpy.S
1015         (memcpy_z196): Rename to __memcpy_z196.
1016         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1017         (memcpy_z10): Rename to __memcpy_z10.
1018         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1019         (memcpy): Set alias to __memcpy_g5.
1020         * sysdeps/s390/s390-32/multiarch/memset.S
1021         (memset_z196): Rename to __memset_z196.
1022         Jump to __memset_mvcle instead of memset_mvcle.
1023         (memset_z10): Rename to __memset_z10.
1024         Jump to __memset_mvcle instead of memset_mvcle.
1025         (memset_mvcle) Rename to __memset_mvcle.
1026         (memset): Set alias to __memset_g5.
1027         * sysdeps/s390/s390-64/memcmp.S
1028         (memcmp_z900): Rename to __memcmp_z900.
1029         * sysdeps/s390/s390-64/memcpy.S
1030         (memcpy_z900): Rename to __memcpy_z900.
1031         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1032         (memcpy_mvcle) Rename to __memcpy_mvcle.
1033         * sysdeps/s390/s390-64/memset.S
1034         (memset_z900): Rename to __memset_z900.
1035         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1036         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1037         and use prefixed functions.
1038         * sysdeps/s390/s390-64/multiarch/memcmp.S
1039         (memcmp_z196): Rename to __memcmp_z196.
1040         (memcmp_z10): Rename to __memcmp_z10.
1041         (memcmp): Set alias to __memcmp_z900.
1042         (bcmp): Set alias to __memcmp_z900.
1043         * sysdeps/s390/s390-64/multiarch/memcpy.S
1044         (memcpy_z196): Rename to __memcpy_z196.
1045         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1046         (memcpy_z10): Rename to __memcpy_z10.
1047         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1048         (memcpy): Set alias to __memcpy_z900.
1049         * sysdeps/s390/s390-64/multiarch/memset.S
1050         (memset_z196): Rename to __memset_z196.
1051         Jump to __memset_mvcle instead of memset_mvcle.
1052         (memset_z10): Rename to __memset_z10.
1053         Jump to __memset_mvcle instead of memset_mvcle.
1054         (memset_mvcle) Rename to __memset_mvcle.
1055         (memset): Set alias to __memset_z900.
1057 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
1059         [BZ #17748]
1060         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1061         __fesetenv instead of fesetenv.
1063 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1065         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1066         macro.
1068 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1070         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1071         regression on LE.
1073         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1074         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1075         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1076         strncmp-power8 object.
1077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1078         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1079         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1080         * NEWS: Update.
1082 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1083             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1085         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1086         trailing byte check.
1088 2015-01-13  David S. Miller  <davem@davemloft.net>
1090         * include/signal.h (__sigreturn): Guard with __USE_MISC.
1092 2015-01-13  Roland McGrath  <roland@hack.frob.com>
1094         * login/logout.c (logout): Use memset rather than bzero.
1095         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1096         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1097         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1098         (_gethtbyaddr): Likewise.
1099         * locale/programs/simple-hash.c (bcopy): Macro removed.
1101 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1103         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1104         Add strcmp-power8 object.
1105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1106         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1107         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1108         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1109         __strcmp_power8 implementation.
1110         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1111         * NEWS: Update.
1113         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1114         Add strncpy-power8 and stpncpy-power8 objects.
1115         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1116         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1117         implementations.
1118         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1119         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1120         __stpncpy_power8 implementation.
1121         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1122         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1123         __strncpy_power8 implementation.
1124         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1125         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1126         * NEWS: Update.
1128         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1129         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1130         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1132         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1133         strncat-power8 object.
1134         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1135         __strcat_power8 implementation.
1136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1137         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1138         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1139         optimized strcat for power8.
1141         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1142         strcpy-power8 and stpcpy-power8 objects.
1143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1144         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1145         implementations.
1146         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1147         multiarch stpcpy implementation for POWER8.
1148         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1149         multiarch strcpy implementation for POWER8.
1150         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1151         __strcpy_power8 function.
1152         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1153         stpcpy for POWER8.
1154         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1155         strcpy for POWER8.
1156         * NEWS: Update.
1158 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1160         [BZ #16009]
1161         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1162         weights and rules. Use do_xfrm_cached if data fits in cache,
1163         do_xfrm otherwise.  Moved former main loop to...
1164         * (do_xfrm_cached): New function.
1165         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1166         find_idx, find_position and stack_push.
1167         * (find_idx): New function.
1168         * (find_position): Likewise.
1169         * localedata/sort-test.sh: Added test run for do_xfrm.
1170         * localedata/xfrm-test.c (main): Added command line option
1171         -nocache to run the test with strings that are too large for
1172         the STRXFRM cache.
1174 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1176         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1177         variable to lll_futex_wake call, not the value itself.
1179 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1181         [BZ #17803]
1182         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1183         twom64.  Adjust value to 0x1p-64L.
1184         (__scalblnl): Only return standard underflowing result for K <=
1185         -64 not K <= -63; adjust exponent for underflowing result by 64
1186         not 63.
1187         * math/libm-test.inc (scalbn_test_data): Add more tests.
1188         (scalbln_test_data): Likewise.
1190         [BZ #17834]
1191         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1192         0x1p63L.
1193         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1194         not HX.
1195         * math/libm-test.inc (scalbn_test_data): Add more tests.
1196         (scalbln_test_data): Likewise.
1198 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1199             Stefani Seibold  <stefani@seibold.net>
1201         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1202         (sysdep_routines): Add dl-vdso here, ...
1203         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1204         (sysdep_routines): ... not here.
1205         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1206         fallback when vDSO is not presented.
1207         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1208         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1209         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1210         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1211         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1212         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1213         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1214         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1215         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1216         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1217         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1218         fallback configurable symbol when vDSO is not available.
1219         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1220         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1221         be able to redefine fallback symbol when vDSO is not available.
1222         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1223         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1225 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1227         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1228         (TLS_INIT_TP): Add tm_capable initialization.
1229         (TLS_DEFINE_INIT_TP): Likewise.
1230         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1231         TCB.
1232         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1233         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1234         calculation.
1235         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1236         transactoion is lock elision is built and TCB tm_capable is set.
1237         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1239         (INTERNAL_SYSCALL_NCS): Likewise.
1240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1241         (INTERNAL_SYSCALL_NCS): Likewise.
1242         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1244         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1245         for powerpc.
1246         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1247         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1248         and remove it for 32 bits case.
1249         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1250         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1251         initialization.
1252         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1253         Disable lock elision with rdlocks if elision is not available.
1255         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1256         (sysdep_routines): Add lock elision objects.
1257         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1258         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1259         [pthread_mutex_t] (__elision): Add field.
1260         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1261         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1262         elision definitions for powerpc.
1263         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1264         implementation of lock elision for powerpc.
1265         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1266         implementation of timed lock elision for powerpc.
1267         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1268         implementation of trylock with lock elision for powerpc.
1269         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1270         implementaion of unlock for lock elision for powerpc.
1271         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1272         automatic enable lock elision for mutexes.
1273         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1274         transaction execution definitions for powerpc.
1275         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1276         definitions.
1277         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1278         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1279         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1280         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1281         * NEWS: Update.
1283 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1285         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1286         for #include of <shm-directory.h>.
1288 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1290         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1291         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1293 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1295         [BZ #17791]
1296         * NEWS: Mention bug fix.
1297         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1298         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1299         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1301 2015-01-09  Torvald Riegel <triegel@redhat.com>
1303         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1305 2015-01-09  Torvald Riegel <triegel@redhat.com>
1307         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1309 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1311         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1312         pointer and cast to uintptr_t.
1314 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1316         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1317         removed.
1318         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1320 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1322         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1323         of 0.
1325 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1327         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1328         <nptl/pthreadP.h> instead.
1329         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1331         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1332         already defined.
1333         [__SIGRTMIN] (init): Function removed.
1334         [__SIGRTMIN] (initialized): Variable removed.
1335         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1336         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1337         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1338         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1339         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1340         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1341         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1342         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1343         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1344         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1345         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1346         * sysdeps/nptl/allocrtsig.c: New file.
1347         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1348         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1349         * sysdeps/generic/testrtsig.h: File removed.
1351         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1352         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1354         * nptl/nptl-init.c (pthread_functions): Conditionalize
1355         .ptr__nptl_setxid initialization on [SIGSETXID].
1357         * sysdeps/nptl/sys/procfs.h: New file.
1358         * nptl_db/Makefile (headers): Add it.
1359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1361         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1362         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1363         * nptl/pthread_attr_setaffinity.c: Include it.
1364         * nptl/pthread_setattr_default_np.c: Likewise.
1365         * nptl/check-cpuset.h: New file.
1367 2015-01-08  Richard Henderson  <rth@redhat.com>
1369         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1370         (CFLAGS-tst-execstack-prog.c): Likewise.
1371         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1373 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1374             Sandra Loosemore  <sandra@codesourcery.com>
1375             Andrew Jenner  <andrew@codesourcery.com>
1376             Joseph Myers  <joseph@codesourcery.com>
1377             Nathan Sidwell  <nathan@codesourcery.com>
1379         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1380         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1381         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1382         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1383         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1384         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1385         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1386         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1387         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1388         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1389         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1390         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1391         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1392         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1393         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1394         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1395         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1397 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1399         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1400         timespec struct member in syscall macro.
1401         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1402         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1403         first timeval struct member in syscall macro.
1404         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1406 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1408         [BZ #17748]
1409         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1410         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1411         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1412         __feupdateenv and define as weak alias of __feupdateenv.  Use
1413         libm_hidden_weak.
1414         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1415         libm_hidden_def.
1416         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1417         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1418         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1419         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1420         libm_hidden_def.
1421         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1422         __feupdateenv and define as weak alias of __feupdateenv.  Use
1423         libm_hidden_weak.
1424         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1425         libm_hidden_def.
1426         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1427         __feupdateenv and define as weak alias of __feupdateenv.  Use
1428         libm_hidden_weak.
1429         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1430         libm_hidden_def.
1431         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1432         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1433         (__feupdateenv): Likewise.
1434         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1435         __feupdateenv and define as weak alias of __feupdateenv.  Use
1436         libm_hidden_weak.
1437         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1438         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1439         libm_hidden_def.
1440         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1441         function.
1442         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1443         libm_hidden_def.
1444         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1445         __feupdateenv instead of feupdateenv.
1446         (default_libc_feupdateenv_test): Likewise.
1447         (libc_feresetround_ctx): Likewise.
1449 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1451         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1452         prototype.
1454 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1456         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1457         COLL_SYM in a couple of places to avoid uninitialized variable
1458         wanings on tilegx gcc 4.8.2.
1460 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1462         * sysdeps/aarch64/strcpy.S: New file.
1463         * sysdeps/aarch64/stpcpy.S: New file.
1464         * NEWS: Updated.
1466 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1468         * sysdeps/aarch64/strrchr.S: New file.
1469         * NEWS: Updated.
1471 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1473         [BZ #17658]
1474         * stdlib/setenv.c: Fix memory leak when setting large,
1475         duplicate string.
1477 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1479         [BZ #17273]
1480         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1481         and tabs from buffer before parsing fstab entry.
1482         * misc/tst-mntent.c (main): Add test for mount entry with
1483         trailing spaces and tabs.
1485 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1487         [BZ #17748]
1488         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1489         * math/fesetround.c (fesetround): Rename to __fesetround and
1490         define as weak alias of __fesetround.  Use libm_hidden_weak.
1491         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1492         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1493         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1494         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1495         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1496         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1497         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1498         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1499         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1500         __fesetround_inline.
1501         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1502         __fesetround_inline instead of __fesetround.
1503         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1504         __fesetround and define as weak alias of __fesetround.  Use
1505         libm_hidden_weak.  Call __fesetround_inline instead of
1506         __fesetround.
1507         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1508         __fesetround and define as weak alias of __fesetround.  Use
1509         libm_hidden_weak.
1510         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1511         Likewise.
1512         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1513         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1514         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1515         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1516         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1517         __fesetround and define as weak alias of __fesetround.  Use
1518         libm_hidden_weak.
1519         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1520         __fesetround instead of fesetround.
1521         (default_libc_feholdexcept_setround): Likewise.
1522         (libc_feholdsetround_ctx): Likewise.
1523         (libc_feholdsetround_noex_ctx): Likewise.
1525         [BZ #17748]
1526         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1527         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1528         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1529         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1530         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1531         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1532         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1533         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1534         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1535         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1536         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1537         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1538         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1539         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1540         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1541         libm_hidden_def.
1542         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1543         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1544         Likewise.
1545         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1546         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1547         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1548         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1549         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1550         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1551         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1552         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1553         __fesetenv instead of fesetenv.
1554         (libc_feresetround_noex_ctx): Likewise.
1555         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1556         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1557         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1558         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1559         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1560         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1561         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1562         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1563         (__feupdateenv): Likewise.
1564         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1565         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1566         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1567         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1569 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1571         [BZ #17806]
1572         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1573         addresses have been freed.
1575 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1577         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1578         and nservall.
1580 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1582         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1583         Clean up check_pf allocation pattern. addresses
1585 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1587         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1588         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1589         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1590         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1591         * nptl/pthread_join.c (pthread_join): Likewise.
1592         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1593         * sysdeps/posix/waitid.c (__waitid): Likewise.
1594         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1595         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1596         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1597         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1598         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1599         Likewise.
1600         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1601         (__libc_pread64): Likewise.
1602         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1603         (__libc_pwrite): Likewise.
1604         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1605         (__libc_pwrite64): Likewsie.
1606         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1607         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1608         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1609         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1610         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1611         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1612         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1614         Likewise.
1615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1616         (__libc_pread64): Likewise.
1617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1618         Likewise.
1619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1620         (__libc_pwrite64): Likewise.
1621         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1622         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1623         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1624         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1625         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1626         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1627         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1628         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1629         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1630         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1631         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1632         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1633         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1634         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1635         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1637         Likewise.
1639 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1641         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1642         (CFLAGS-test-double.c): Likewise.
1643         (CFLAGS-test-ldouble.c): Likewise.
1644         (CPPFLAGS-test-ifloat.c): Likewise.
1645         (CPPFLAGS-test-idouble.c): Likewise.
1646         (CPPFLAGS-test-ildoubl.c): Likewise.
1647         (CFLAGS-test-test-fenv.c): Remove variable.
1648         (CFLAGS-test-misc.c): Likewise.
1650 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1652         [BZ #17797]
1653         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1654         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1655         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1656         CLOCKS_PER_SEC == 1000000.
1657         * time/clocktest.c (main): Replace %ld with %jd and cast to
1658         intmax_t.
1660 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1662         * sysdeps/generic/unwind-resume.h: New file.
1663         * sysdeps/gnu/unwind-resume.c: Include it.
1664         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1665         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1666         argument list.
1667         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1668         global rather than static.
1669         (_Unwind_Resume): Update user.
1670         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1671         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1672         rather than static.  Add __attribute__ ((cold)).
1673         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1674         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1675         * sysdeps/arm/arm-unwind-resume.S: New file.
1676         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1677         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1678         * sysdeps/arm/Makefile [$(subdir) = csu]
1679         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1680         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1681         Add rt-arm-unwind-resume.
1682         [$(subdir) = nptl]
1683         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1684         Add pt-arm-unwind-resume.
1685         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1686         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1688 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1690         [BZ #17748]
1691         * include/fenv.h (__feholdexcept): Declare.  Use
1692         libm_hidden_proto.
1693         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1694         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1695         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1696         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1697         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1698         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1699         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1700         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1701         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1702         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1703         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1704         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1705         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1706         (feholdexcept): Likewise.
1707         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1708         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1709         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1710         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1711         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1712         __feholdexcept instead of feholdexcept.
1713         (default_libc_feholdexcept_setround): Likewise.
1715 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1717         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1718         to avoid using stl/str to align destination.
1720 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1722         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1724 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1726         [BZ #17796]
1727         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1728         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1729         Define as weak alias not strong alias.
1731 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1733         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1734         bltzal with addiupc.
1735         (RTLD_START): Ditto.
1737 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1739         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1740         for __vdso_* functions in declarations.
1741         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1742         definitions.
1743         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1744         INTERNAL_VSYSCALL): Use struct return types to check for error.
1746         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1747         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1748         function with cast from llround().
1749         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1750         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1751         Define.
1753 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1755         [BZ #17793]
1756         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1757         Define as weak alias not strong alias.
1759         [BZ #17635]
1760         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1761         ...
1762         * ctype/ctype-extn.c: ... here.
1763         (__isblank_l): Move to ...
1764         * ctype/ctype-c99_l.c: ... here.  New file.
1765         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1766         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1767         Remove variable.
1768         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1769         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1770         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1771         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1772         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1774         [BZ #17777]
1775         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1776         (posix_fadvise64): Define as weak alias not strong alias.
1777         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1778         (posix_fallocate64): Likewise.
1779         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1780         Remove variable.
1781         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1782         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1783         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1784         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1785         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1787 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1789         [BZ #16191]
1790         * NEWS: Mention bug fix.
1791         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1792         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1793         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1794         (HOST_STACK_END_ADDR): Likewise.
1796 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1798         [BZ #17748]
1799         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1800         * math/fegetround.c (fegetround): Rename to __fegetround and
1801         define as weak alias of __fegetround.  Use libm_hidden_weak.
1802         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1803         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1804         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1805         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1806         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1807         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1808         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1809         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1810         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1811         Undefine after rather than before function definition; use
1812         parentheses around function name in definition.
1813         (__fegetround): Also undefine macro after function definition.
1814         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1815         __fegetround and define as weak alias of __fegetround.  Use
1816         libm_hidden_weak.  Do not undefine as macro.
1817         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1818         Likewise.
1819         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1820         __fegetround and define as weak alias of __fegetround.  Use
1821         libm_hidden_weak.
1822         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1823         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1824         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1825         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1826         __fegetround and define as weak alias of __fegetround.  Use
1827         libm_hidden_weak.
1828         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1829         __fegetround instead of fegetround.
1831         [BZ #17782]
1832         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1833         Condition macro definition on [__USE_MISC].
1835         [BZ #17781]
1836         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1837         (struct sigaction): Change type of sa_flags field to int.
1839         [BZ #17780]
1840         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1841         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1842         __glibc_reserved0.
1844         * nptl/version.c (banner): Use single year in copyright notice.
1846         * NEWS: Update copyright dates.
1847         * catgets/gencat.c (print_version): Likewise.
1848         * csu/version.c (banner): Likewise.
1849         * debug/catchsegv.sh: Likewise.
1850         * debug/pcprofiledump.c (print_version): Likewise.
1851         * debug/xtrace.sh (do_version): Likewise.
1852         * elf/ldconfig.c (print_version): Likewise.
1853         * elf/ldd.bash.in: Likewise.
1854         * elf/pldd.c (print_version): Likewise.
1855         * elf/sotruss.sh: Likewise.
1856         * elf/sprof.c (print_version): Likewise.
1857         * iconv/iconv_prog.c (print_version): Likewise.
1858         * iconv/iconvconfig.c (print_version): Likewise.
1859         * locale/programs/locale.c (print_version): Likewise.
1860         * locale/programs/localedef.c (print_version): Likewise.
1861         * login/programs/pt_chown.c (print_version): Likewise.
1862         * malloc/memusage.sh (do_version): Likewise.
1863         * malloc/memusagestat.c (print_version): Likewise.
1864         * malloc/mtrace.pl: Likewise.
1865         * manual/libc.texinfo: Likewise.
1866         * nptl/version.c (banner): Likewise.
1867         * nscd/nscd.c (print_version): Likewise.
1868         * nss/getent.c (print_version): Likewise.
1869         * nss/makedb.c (print_version): Likewise.
1870         * posix/getconf.c (main): Likewise.
1871         * scripts/test-installation.pl: Likewise.
1872         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1874 2015-01-02  Will Newton  <will.newton@linaro.org>
1876         * sysdeps/arm/armv7/configure: Removed.
1877         * sysdeps/arm/armv7/configure.ac: Likewise.
1879 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1881         * All files with FSF copyright notices: Update copyright dates
1882         using scripts/update-copyrights.
1883         * intl/plural.c: Regenerated.
1884         * locale/programs/charmap-kw.h: Likewise.
1885         * locale/programs/locfile-kw.h: Likewise.
1887 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1889         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1891 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1893         [BZ #17748]
1894         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1895         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1896         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1897         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1898         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1899         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1900         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1901         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1902         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1903         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1904         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1905         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1906         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1907         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1908         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1909         libm_hidden_def.
1910         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1911         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1912         Likewise.
1913         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1914         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1915         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1916         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1917         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1918         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1919         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1920         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1921         __fegetenv instead of fegetenv.
1922         (libc_feholdsetround_noex_ctx): Likewise.
1924 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1926         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1927         (Elf_MIPS_ABIFlags_v0): New structure.
1928         (EF_MIPS_FP64): Define.
1929         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1930         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1931         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1932         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1933         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1934         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1935         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1936         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1937         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1938         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1939         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1940         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1941         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1942         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1943         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1944         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1945         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1946         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1947         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1948         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1949         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1950         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1951         field.
1952         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1953         EF_MIPS_FP64.
1954         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1955         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1956         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1957         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1958         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1959         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1960         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1961         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1962         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1963         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1964         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1965         record the current FP ABI extension.
1966         (mips-mode-switch): Define to show if kernel headers support mode
1967         switching.
1968         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1969         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1970         supported SYSV ABI version to 3.
1971         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1972         feature.
1974 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1975             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1977         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1978         path.
1979         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1981 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1983         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1984         __fegetround and redefine to call __fegetround.  Remove condition
1985         on [!__NO_MATH_INLINES].
1986         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1987         function.
1988         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1989         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1990         Remove macro.
1991         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1992         instead of <fenv_libc.h>.
1993         (__llrintl): Call fegetround instead of __fegetround.
1994         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1995         instead of <fenv_libc.h>.
1996         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1997         (__lrintl): Call fegetround instead of __fegetround.
1998         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1999         instead of <fenv_libc.h>.
2000         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2001         (__rintl): Call fegetround instead of __fegetround.
2003 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2005         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2006         arrays.
2008 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2010         [BZ #17775]
2011         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2012         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2013         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2015 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2017         * sysdeps/i386/tls-macros.h: Include <features.h>.
2018         (TLS_LE): Use non-PIC version for GCC >= 5.0.
2019         (TLS_IE): Likewise.
2020         (TLS_LD): Likewise.
2021         (TLS_GD): Likewise.
2022         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2023         define for GCC >= 5.0.
2025 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
2027         * math/test-fenv.c (test_single_exception, set_single_exc,
2028         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2029         feexcp_mask_test, feenable_test, fe_single_test): Add
2030         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2031         case where they are not used.
2032         * math/libm-test.inc: Likewise.
2033         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2034         unused in the absence of FP rounding/exception support.
2035         * stdio-common/tst-printf-round.c: Likewise.
2036         * stdlib/tst-strtod-round.c: Likewise.
2037         * stdlib/tst-strtod-underflow.c: Likewise.
2039 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2041         [BZ #17723]
2042         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2043         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2044         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2045         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2046         libm_hidden_weak.
2047         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2048         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2049         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2050         libm_hidden_def.
2051         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2052         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2053         libm_hidden_weak.
2054         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2055         Likewise.
2056         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2057         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2058         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2059         libm_hidden_weak.
2060         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2061         libm_hidden_def.
2062         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2063         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2064         (__feraiseexcept): Likewise.
2065         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2066         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2067         libm_hidden_weak.
2068         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2069         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2070         libm_hidden_def.
2071         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2072         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2073         Use libm_hidden_def.
2074         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2075         libm_hidden_def.
2076         (feraiseexcept): Define as weak not strong alias.  Use
2077         libm_hidden_weak.
2078         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2079         New inline function.  Factored out of ...
2080         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
2081         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2082         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2083         feraiseexcept.
2084         * math/w_acos.c (__acos): Likewise.
2085         * math/w_asin.c (__asin): Likewise.
2086         * math/w_ilogb.c (__ilogb): Likewise.
2087         * math/w_j0.c (y0): Likewise.
2088         * math/w_j1.c (y1): Likewise.
2089         * math/w_jn.c (yn): Likewise.
2090         * math/w_log.c (__log): Likewise.
2091         * math/w_log10.c (__log10): Likewise.
2092         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2093         * sysdeps/aarch64/fpu/math_private.h
2094         (libc_feupdateenv_test_aarch64): Likewise.
2095         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2096         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2097         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2098         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2099         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2100         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2101         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2102         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2103         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2104         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2106 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2108         [BZ #17732]
2109         * io/test-utime.c (main): Replace %ld with %jd and cast to
2110         intmax_t.
2111         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2112         * nptl/tst-mutex5.c: Include <stdint.h>.
2113         (do_test): Replace %ld with %jd and cast to intmax_t.
2114         * posix/tst-regex.c (run_test): Likewise.
2115         (run_test_backwards): Likewise.
2116         * rt/tst-clock.c: Include <stdint.h>.
2117         (clock_test): Replace %ld with %jd and cast to intmax_t.
2118         * rt/tst-cpuclock1.c: Include <stdint.h>.
2119         (do_test): Replace %lu with %ju and cast to uintmax_t.
2120         * rt/tst-cpuclock2.c: Include <stdint.h>.
2121         (do_test): Replace %lu with %ju and cast to uintmax_t.
2122         * rt/tst-mqueue1.c: Include <stdint.h>.
2123         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2124         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2125         intmax_t.
2126         * rt/tst-mqueue4.c (do_test): Likewise.
2127         * rt/tst-timer4.c: Include <stdint.h>.
2128         (check_ts): Replace %ld with %jd and cast to intmax_t.
2129         (do_test): Likewise.
2130         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2131         and cast to intmax_t.
2132         * sysdeps/pthread/tst-timer.c (main): Likewise.
2133         * time/clocktest.c (main): Likewise.
2134         * time/tst-posixtz.c (do_test): Likewise.
2135         * timezone/tst-timezone.c (main): Likewise.
2137 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2138             H.J. Lu  <hongjiu.lu@intel.com>
2140         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2141         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2142         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2143         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2144         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2145         version if bit_Fast_Unaligned_Load is set.
2146         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2147         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2148         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2149         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2150         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2151         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2152         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2153         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2154         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2155         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2156         to 4.
2157         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2158         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2159         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2160         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2162 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2164         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2165         instead of #if to avoid a Wundef warning.
2166         * stdlib/tst-limits.c (do_test): Likewise.
2168         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2169         parallel other exception macros.
2170         (fegetenv): Convert from macro to extern inline so that it applies
2171         retroactively to inline functions already seen by the compiler.
2172         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2174         * posix/Makefile (before-compile): Use $(objpfx) for
2175         posix-conf-vars-def.h.
2177 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2179         * posix/getconf.c (main): Use size_t for type of I.
2180         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2181         NSPEC.
2183         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2184         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2185         * posix/posix-envs.def: Likewise.
2186         * sysdeps/posix/sysconf.c: Likewise.
2187         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2188         (specs): Remove array.
2189         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2190         array.
2192         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2193         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2194         (__sysconf): Use CONF_IS_* macros.
2196         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2197         ($(objpfx)posix-conf-vars-def.h): New target.
2198         * posix/posix-conf-vars.list: New file.
2199         * posix/posix-conf-vars.h: New file.
2200         * posix/confstr.c: Include posix-conf-vars.h.
2201         (confstr): Use CONF_IS_* macros.
2202         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2203         CONF_IS_* macros.
2204         * scripts/gen-posix-conf-vars.awk: New file.
2206 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2208         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2209         fegetround): Add no-op macros to avoid linknamespace issues.
2211         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2212         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2214         * sysdeps/unix/sysv/linux/tile/sysdep.h
2215         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2216         assembly-specific section to avoid a redefinition warning.
2218         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2219         long before casting to pointer to avoid a cast warning.
2221 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2223         * sysdeps/tile/tilegx/Implies: New file.
2225 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2227         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2229 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2231         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2233 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2235         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2236         not define.
2237         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2238         <kernel-features.h>.
2239         (__utimes) [__NR_utimes]: Make code unconditional.
2240         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2241         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2242         (__ASSUME_UTIMES): Do not undefine.
2243         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2244         (__ASSUME_UTIMES): Likewise.
2245         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2246         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2247         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2248         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2250 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2252         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2254 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2256         [BZ #17747]
2257         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2258         alias to weak alias for j0l, y0l.
2259         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2260         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2262         [BZ #17746]
2263         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2264         conversion.
2266 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2268         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2269         to zero if not already defined.
2271 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2273         [BZ #17724]
2274         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2275         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2276         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2277         (char *) casts added.
2278         * sysdeps/ieee754/k_standardf.c: New file.
2279         * sysdeps/ieee754/k_standardl.c: Likewise.
2280         * math/Makefile (libm-support): Remove k_standard.
2281         (libm-calls): Add k_standard.
2283 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2285         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2286         Optimize to avoid an unnecessary FPCR read.
2288 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2290         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2291         Optimize to reduce FPCR/FPSR accesses.
2293 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2295         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2296         Call libc_fetestexcept_aarch64.
2298 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2300         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2301         Call libc_fesetround_aarch64.
2303 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #17733]
2306         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2307         (__bind): Do not define as weak alias.
2308         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2309         define.
2310         (__getsockname): Do not define as weak alias.
2312 2014-12-22  Will Newton  <will.newton@linaro.org>
2314         * manual/install.texi: Document that we require bison 2.7
2315         or above.
2316         * INSTALL: Regenerate.
2317         * configure.ac: Use AC_CHECK_PROG_VER instead of
2318         AC_PATH_PROG when checking for bison and check for
2319         version 2.7 or above.
2320         * configure: Regenerate.
2322 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2324         [BZ #17745]
2325         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2326         * sysdeps/tile/ffsll.c (ffsll): To here.
2328         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2330 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2332         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2333         if not defined.
2334         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2335         definition.
2336         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2337         hidden ___tls_get_addr.
2338         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2339         hidden __tls_get_addr.
2340         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2341         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2342         Likewise.
2344 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2346         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2347         _dl_init call.
2349 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2351         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2352         from "call _dl_init@PLT".
2353         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2355 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2357         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2358         guarantees.
2360 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2362         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2364 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2366         [BZ #17744]
2367         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2368         strnlen.
2370 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2372         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2373         of multu on MIPSr6.
2374         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2375         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2376         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2377         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2378         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2380 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2382         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2383         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2384         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2385         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2386         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2387         mips32r6/mips64r6.
2388         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2390 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2392         * string/strncat.c (STRNCAT): Simplify implementation.
2394 2014-12-19  David S. Miller  <davem@davemloft.net>
2396         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2397         access the quad as both a long double and as a series of 4 words.
2399         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2400         link_map->l_info array access.
2402 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2404         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2406         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2407         * math/atest-exp2.c (TIMEOUT): Likewise.
2408         * math/atest-sincos.c (TIMEOUT): Likewise.
2410 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2412         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2413         -Wno-error with -fno-builtin-lround.
2415 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2417         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2418         Contains futex constants and functions moved over from ...
2419         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2420         <lowlevellock-futex.h>.
2421         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2422         (lll_timedwait_tid): Add comments and parentheses around macro
2423         arguments.
2425 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2427         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2428         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2429         (__lll_private_flag): Remove.
2430         (lll_futex_wait): Likewise.
2431         (lll_futex_timed_wait): Likewise.
2432         (lll_futex_wake): Likewise.
2433         (lll_futex_requeue): Likewise.
2434         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2435         (__lll_timedwait_tid): Spell out argument names.
2436         (lll_timedwait_tid): Add comments and parentheses around macro
2437         arguments.
2438         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2439         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2441 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2443         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2444         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2445         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2446         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2447         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2448         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2449         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2450         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2451         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2452         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2453         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2454         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2455         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2456         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2457         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2458         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2459         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2460         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2461         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2463 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2465         * sysdeps/x86_64/x32/Makefile: New file.
2467 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2469         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2470         1L with (mp_limb_t) 1.
2472 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2474         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2475         * nptl/libc_pthread_init.c: ... here.
2476         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2477         * nptl/register-atfork.c: ... here.
2479         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2480         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2481         Use assert_perror to check its return value.
2482         (__gai_create_helper_thread): Likewise.
2484         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2486         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2488 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2490         [BZ #17725]
2491         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2492         __profil_counter.
2493         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2494         Likewise.
2495         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2496         Likewise.
2497         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2498         Likewise.
2499         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2500         (profil_counter): Likewise.
2501         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2502         (profil_counter): Likewise.
2503         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2504         Likewise.
2505         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2506         Likewise.
2507         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2508         (profil_counter): Likewise.
2509         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2510         Likewise.
2511         [!__profil_counter] (profil_counter): Define as weak alias of
2512         __profil_counter.
2513         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2514         (profil_counter): Rename to __profil_counter.
2515         [!__profil_counter] (profil_counter): Define as weak alias of
2516         __profil_counter.
2517         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2518         (profil_counter): Rename to __profil_counter.
2519         [!__profil_counter] (profil_counter): Define as weak alias of
2520         __profil_counter.
2521         * sysdeps/posix/profil.c: Update comment referring to
2522         profil_counter.
2523         (__profil): Use __profil_counter instead of profil_counter.
2524         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2525         __profil_counter.  Use __profil_counter_ushort and
2526         __profil_counter_uint in definitions.
2527         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2528         instead of profil_counter_uint and profil_counter_ushort.
2530         [BZ #17722]
2531         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2532         define as weak alias of __inet_makeaddr.
2533         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2534         as weak alias of __inet_addr.
2535         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2536         as weak alias of __inet_pton.  Use libc_hidden_weak.
2537         * include/arpa/inet.h (__inet_pton): Declare.  Use
2538         libc_hidden_proto.
2539         (inet_makeaddr): Don't use libc_hidden_proto.
2540         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2541         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2542         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2543         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2544         Remove variable.
2545         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2546         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2548 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2550         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2552 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2554         * stdio-common/bug-vfprintf-nargs.c (do_test):
2555         Cast value to intptr_t to avoid format warning
2556         for usage with PRIdPTR printing macro.
2558 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2560         * libio/tst-widetext.c (do_test):
2561         Use format type %td instead of %Zd for ptrdiff_t
2562         in order to avoid format warning.
2564 2014-12-17  Andreas Schwab  <schwab@suse.de>
2566         * nscd/mem.c (gc): Add size_t cast to match printf format.
2568 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2570         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2571         (init): Apply PTR_MANGLE to pointers before storing them.
2572         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2573         before using them.
2575 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2577         [BZ #17719]
2578         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2579         define as weak alias of __memrchr.
2580         (__memrchr): Do not define as strong alias of memrchr.
2581         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2582         Remove variable.
2583         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2584         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2585         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2587         [BZ #17717]
2588         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2589         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2590         (if_indextoname): Rename to __if_indextoname and define as weak
2591         alias of __if_indextoname.  Use libc_hidden_weak.
2592         (if_freenameindex): Rename to __if_freenameindex and define as
2593         weak alias of __if_freenameindex.
2594         (if_nameindex): Rename to __if_nameindex and define as weak alias
2595         of __if_nameindex.
2596         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2597         __if_nametoindex and define as weak alias of __if_nametoindex.
2598         Use libc_hidden_weak.
2599         (if_freenameindex): Rename to __if_freenameindex and define as
2600         weak alias of __if_freenameindex.
2601         (if_nameindex): Rename to __if_nameindex and define as weak alias
2602         of __if_nameindex.
2603         (if_indextoname): Rename to __if_indextoname and define as weak
2604         alias of __if_indextoname.  Use libc_hidden_weak.
2605         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2606         __if_nametoindex and define as weak alias of __if_nametoindex.
2607         Use libc_hidden_weak.
2608         (if_freenameindex): Rename to __if_freenameindex and define as
2609         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2610         (if_nameindex_netlink): Use __if_freenameindex instead of
2611         if_freenameindex.
2612         (if_nameindex): Rename to __if_nameindex and define as weak alias
2613         of __if_nameindex.  Use libc_hidden_weak.
2614         (if_indextoname): Rename to __if_indextoname and define as weak
2615         alias of __if_indextoname.  Use libc_hidden_weak.
2616         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2617         libc_hidden_proto.
2618         [!_ISOMAC] (__if_freenameindex): Likewise.
2619         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2620         if_nametoindex.
2621         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2622         variable.
2623         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2624         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2625         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2626         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2627         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2628         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2629         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2631         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2632         Remove variable.
2633         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2634         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2636 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2638         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2639         subscript above bounds'
2641         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2642         bounds.
2644 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2646         * libio/tst-fopenloc.c: Use test-skeleton.c.
2648         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2649         (entry): Rename to ITEM.
2650         (do_test, comp): Adjust.
2652         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2654 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2656         * string/tester.c: Include <libc-internal.h>.
2657         (test_memset): Ignore -Wmemset-transposed-args.
2659 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2661         * misc/tst-mntent2.c (do_test): Fix warning.
2663 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2665         * elf/tst-unique4lib.cc(a): Mark as used.
2667 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2669         [BZ #17630]
2670         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2671         names.
2673 2014-12-16  Allan McRae  <allan@archlinux.org>
2675         * stdio-common/Makefile (tests): Re-add bug26.
2677 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2679         [BZ #17657]
2680         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2681         static array.
2683 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2685         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2686         (__lll_lock_wait): Likewise.
2687         (__lll_timedlock_wait): Likewise.
2688         (__lll_timedwait_tid): Likewise.
2689         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2690         (__lll_robust_timedlock_wait): Likewise.
2691         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2692         (lll_cond_trylock): Likewise.
2693         (__lll_lock): Likewise.
2694         (__lll_robust_lock): Likewise.
2695         (__lll_cond_lock): Likewise.
2696         (lll_robust_cond_lock): Likewise.
2697         (__lll_timedlock): Likewise.
2698         (__lll_robust_timedlock): Likewise.
2699         (__lll_unlock): Likewise.
2700         (__lll_robust_unlock): Likewise.
2701         (lll_wait_tid): Likewise.
2702         (lll_timedwait_tid): Likewise.
2704 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2706         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2708 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2710         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2712 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2714         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2715         * stdio-common/tst-sprintf.c: Likewise.
2717 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2719         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2721 2014-12-15  Jeff Law  <law@redhat.com>
2723         [BZ #16617]
2724         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2725         on the heap.  (CVE-2012-3406)
2726         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2727         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2728         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2730 2014-12-15  Will Newton  <will.newton@linaro.org>
2732         * manual/install.texi: Bump required version of texinfo
2733         to 4.7 from 4.5.
2734         * INSTALL: Regenerated.
2735         * configure.ac: Check for makeinfo version 4.7 and above.
2736         * configure: Regenerated.
2738 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2740         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2741         PREFIX, string constant to insert between directory and name.
2742         * sysdeps/posix/shm_open.c: Update caller.
2743         * sysdeps/posix/shm_unlink.c: Likewise.
2744         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2745         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2746         (SEM_SHM_PREFIX): New macro.
2747         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2748         [$(have-thread-library) = no].
2749         * nptl/Makefile (libpthread-routines): Add shm-directory.
2750         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2751         * sysdeps/nptl/shm-directory.h: New file.
2752         * sysdeps/posix/shm-directory.c
2753         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2754         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2755         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2756         INTERNAL_SYSCALL.
2757         (__where_is_shmfs): Function removed.
2758         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2759         Variables removed.
2760         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2761         Use SHM_GET_NAME.
2762         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2764         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2765         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2766         unconditional for use inside libpthread.
2767         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2769 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2771         * nptl/pthread_getaffinity.c: New file.
2772         * nptl/pthread_setaffinity.c: New file.
2773         * nptl/pthread_getname.c: New file.
2774         * nptl/pthread_setname.c: New file.
2776         * nptl/pthread_create.c (START_THREAD_DEFN)
2777         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2779 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2782         * resolv/res_send.c (send_vc): Disable warning resplen may
2783         be used uninitialized.
2785 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2787         * nptl/tst-mutex6.c
2788         (ATTR_NULL): New define checks ATTR against NULL.
2789         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2790         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2792 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2794         [BZ #17581]
2795         * malloc/hooks.c
2796         (mem2mem_check): Revert my previous change.
2797         (malloc_check_get_size): Revert my previous change.
2798         (mem2chunk_check): Revert my previous change.
2800 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2802         * sysdeps/posix/shm-directory.c: New file.
2803         * sysdeps/posix/shm-directory.h: New file.
2804         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2805         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2806         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2807         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2808         Transmute EPERM to EACCES.
2809         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2810         from ...
2811         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2812         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2814 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2816         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2817         pointer and cast to uintptr_t.
2818         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2819         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2820         Add cast to avoid warning.
2821         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2823 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2825         * nptl/semaphore.h: Move to ...
2826         * sysdeps/pthread/semaphore.h: ... here.
2827         * Makefile (installed-headers): Change nptl/semaphore.h to
2828         sysdeps/pthread/semaphore.h.
2830 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2832         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2833         generated error format strings.
2835         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2836         -Wformat-extra-args warnings for scanf formats.
2837         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2838         test of zero-length format (duh).
2839         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2840         corner-case scanf format test.
2841         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2842         generated fprintf format string.
2843         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2844         corner-case sprintf format tests.
2845         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2846         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2847         -Wformat-extra-args warnings throughout.
2848         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2849         (CFLAGS-scanf4.c): Likewise.
2850         (CFLAGS-scanf7.c): Likewise.
2851         (CFLAGS-tst-sprintf.c): Likewise.
2852         (CFLAGS-tst-printf.c): Likewise.
2853         (CFLAGS-tst-printfsz.c): Likewise.
2855 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2857         * include/cpio.h: New file.
2858         * include/fmtmsg.h: Likewise.
2860         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2861         corresponding format argument to size_t.
2862         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2863         arguments.
2864         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2865         corresponding format argument to size_t.
2866         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2867         arguments.
2868         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2869         corresponding format argument to size_t.
2870         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2871         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2872         (CFLAGS-tst-mbswcs2.c): Likewise.
2873         (CFLAGS-tst-mbswcs3.c): Likewise.
2874         (CFLAGS-tst-mbswcs4.c): Likewise.
2875         (CFLAGS-tst-mbswcs5.c): Likewise.
2876         (CFLAGS-tst-trans.c): Likewise
2878 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2880         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2881         rather than assuming they won't contain any '%'s.
2883 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2885         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2886         inhibit_loop_to_libcall to avoid recursive calls.
2887         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2888         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2890 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2892         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2893         prototype.
2895 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2897         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2898         integer value instead of boolean.
2900 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2902         * malloc/malloc.c: Fix powerof2 check.
2904 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2906         * locale/programs/locfile.h (maybe_swap_uint32):
2907         Remove inline and add unused attribute.
2909 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2911         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2912         Truncating assembler expression to a .long expression.
2914 2014-12-11  Andreas Schwab  <schwab@suse.de>
2916         * elf/rtld.c (struct map_args): Constify str member.
2917         (do_preload): Constify fname argument.
2919 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2921         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2922         constants definition.
2924 2014-12-11  Andreas Schwab  <schwab@suse.de>
2926         [BZ #16657]
2927         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2928         FORCE_ELISION instead of DO_ELISION.
2929         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2930         Remove.
2931         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2932         Likewise.
2934         * iconvdata/gconv-modules: Remove duplicate entry.
2936 2014-12-11  Will Newton  <will.newton@linaro.org>
2938         Merge gettext 0.19.3 into intl/.
2940         This involves a number of cosmetic changes to comments
2941         and ANSI function definitions and prototypes throughout
2942         all the files. The gettext copyright header is used but
2943         with the date ranges taken from the glibc copy.
2945         * NEWS: Add gettext merge to 2.21.
2946         * intl/bindtextdom.c: Switch to gettext copyright.
2947         Use ANSI definitions and prototypes.
2948         Use gl_* locking primitives rather than __libc_* ones.
2949         Use __builtin_expect rather than __glibc_likely/unlikely.
2950         * intl/dcgettext.c: Switch to gettext copyright.
2951         Use ANSI definitions and prototypes.
2952         * intl/dcigettext.c: Switch to gettext copyright.
2953         Use ANSI definitions and prototypes.
2954         (INTDIV0_RAISES_SIGFPE): New define.
2955         Use gl_* locking primitives rather than __libc_* ones.
2956         Include eval-plural.h instead of plural-eval.c.
2957         Use __builtin_expect rather than __glibc_likely/unlikely.
2958         * intl/dcngettext.c: Switch to gettext copyright.
2959         Use ANSI definitions and prototypes.
2960         * intl/dgettext.c: Likewise.
2961         * intl/dngettext.c: Likewise.
2962         * intl/plural-eval.c: Renamed to...
2963         * intl/eval-plural.h: ...this.
2964         * intl/explodename.c: Switch to gettext copyright.
2965         Use ANSI definitions and prototypes.
2966         (_nl_explode_name): Use strchr instead of __rawmemchr.
2967         * intl/finddomain.c: Switch to gettext copyright.
2968         Use ANSI definitions and prototypes.
2969         Use gl_* locking primitives rather than __libc_* ones.
2970         (_nl_find_domain): Use malloc rather than alloca for
2971         allocation of temporary locale name.
2972         * intl/gettext.c: Switch to gettext copyright.
2973         Use ANSI definitions and prototypes.
2974         * intl/gettextP.h: Switch to gettext copyright.
2975         Use ANSI definitions and prototypes.
2976         Use gl_* locking primitives rather than __libc_* ones.
2977         * intl/gmo.h: Switch to gettext copyright.
2978         (struct sysdep_string): Move struct segment_pair outside of
2979         struct definition.
2980         * intl/hash-string.c: Use ANSI definitions and prototypes.
2981         * intl/hash-string.h: Switch to gettext copyright.
2982         Use ANSI definitions and prototypes.
2983         * intl/l10nflist.c: Switch to gettext copyright.
2984         Use ANSI definitions and prototypes.
2985         (_nl_normalize_codeset): Avoid integer overflow.
2986         * intl/loadinfo.h: Switch to gettext copyright.
2987         Use ANSI definitions and prototypes.
2988         (LIBINTL_DLL_EXPORTED): New define.
2989         (PATH_SEPARATOR): New define.
2990         * intl/loadmsgcat.c: Switch to gettext copyright.
2991         * intl/localealias.c: Switch to gettext copyright.
2992         Use ANSI definitions and prototypes.
2993         (_nl_expand_alias): Use PATH_SEPARATOR.
2994         * intl/ngettext.c: Switch to gettext copyright.
2995         Use ANSI definitions and prototypes.
2996         * intl/plural-exp.c: Likewise.
2997         * intl/plural-exp.h: Switch to gettext copyright.
2998         Use ANSI definitions and prototypes.
2999         (struct expression): Move definition of enum operator outside
3000         of struct definition.
3001         * intl/plural.c: Regenerate.
3002         * intl/plural.y: Switch to gettext copyright.
3003         Use ANSI definitions and prototypes.
3004         Port to bison 3.0.
3005         * intl/textdomain.c: Switch to gettext copyright.
3006         Use ANSI definitions and prototypes.
3007         Use gl_* locking primitives rather than __libc_* ones.
3009 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
3011         * debug/warning-nop.c: Add used atrribute.
3013 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3015         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3017         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3018         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3019         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3021 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3022             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3024         [BZ #17634]
3025         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3026         Undefine after defining function.  Define as weak alias of
3027         __wcschr.  Use libc_hidden_weak.
3028         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
3029         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3030         (libc_hidden_def): Also define __GI___wcschr alias.
3031         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3032         __wcschr and define as weak alias of __wcschr.
3033         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3034         __wcschr.
3035         [!WCSCHR] (DEFAULT_WCSCHR): Define.
3036         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3037         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
3038         libc_hidden_weak.  Do not use libc_hidden_def.
3039         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3040         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3041         __GI___wcschr alias.
3042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3043         [IS_IN (libc)] (wcschr): Define as macro expanding to
3044         __redirect_wcschr.
3045         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3046         [IS_IN (libc)] (__wcschr_power6): Likewise.
3047         [IS_IN (libc)] (__wcschr_power7): Likewise.
3048         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
3049         instead of wcschr.
3050         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3051         __libc_wcschr.
3052         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3053         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3054         __wcschr and define as weak alias of __wcschr.  Use
3055         libc_hidden_builtin_def.
3056         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3057         as weak alias of __wcschr.  Use libc_hidden_weak.
3058         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3059         wcschr.
3060         * time/era.c (_nl_init_era_entries): Likewise.
3061         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3062         variable.
3063         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3064         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3066 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3068         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3069         format for long int variable.
3071 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
3073         [BZ #10672]
3074         * manual/search.texi: (Array Sort Function): Remove claim how to make
3075         qsort stable.
3077 2014-12-10  Andreas Schwab  <schwab@suse.de>
3079         [BZ #12847]
3080         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3081         user-controlled locks.
3083 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
3085         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3086         register.
3088 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3090         * configure.ac (--disable-werror): New configure option.
3091         (enable_werror): New AC_SUBST.
3092         * configure: Regenerated.
3093         * config.make.in (enable-werror): New variable.
3094         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3095         -Wno-error=undef.
3096         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3097         * manual/install.texi (Configuring and compiling): Document
3098         --disable-werror.
3099         * INSTALL: Regenerated.
3100         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3101         (CFLAGS-tst-chk2.c): Likewise.
3102         (CFLAGS-tst-chk3.c): Likewise.
3103         (CFLAGS-tst-chk4.cc): Likewise.
3104         (CFLAGS-tst-chk5.cc): Likewise.
3105         (CFLAGS-tst-chk6.cc): Likewise.
3106         (CFLAGS-tst-lfschk1.c): Likewise.
3107         (CFLAGS-tst-lfschk2.c): Likewise.
3108         (CFLAGS-tst-lfschk3.c): Likewise.
3109         (CFLAGS-tst-lfschk4.cc): Likewise.
3110         (CFLAGS-tst-lfschk5.cc): Likewise.
3111         (CFLAGS-tst-lfschk6.cc): Likewise.
3113         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3114         (main): Disable -Wdeprecated-declarations around calls to
3115         register_printf_function.
3117         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3118         (do_test): Disable -Wdiv-by-zero around some calls to
3119         fwrite_unlocked and fread_unlocked.
3121         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3122         (DIAG_POP_NEEDS_COMMENT): Likewise.
3123         (_DIAG_STR1): Likewise.
3124         (_DIAG_STR): Likewise.
3125         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3126         * stdio-common/bug21.c: Include <libc-internal.h>.
3127         (do_test): Disable -Wformat around call to sscanf.
3128         * stdio-common/scanf14.c: Include <libc-internal.h>.
3129         (main): Disable -Wformat around some calls to scanf functions.
3131 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3133         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3135 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3137         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3138         stack variable alignment.
3140 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3142         [BZ #17682]
3143         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3144         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3145         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3146         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3147         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3148         __getrlimit instead of getrlimit.
3149         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3150         __gettimeofday instead of gettimeofday.
3151         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3152         Likewise.
3153         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3154         Likewise.
3155         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3156         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3157         Remove variable.
3158         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3159         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3161 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3163         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3164         for wide-character tests.
3166 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3168         * io/openat64.c: #include <libc-internal.h>
3169         (__openat64): Prototypify.  Use ignore_value on MODE.
3170         * io/openat.c: Likewise.
3171         * misc/reboot.c: #include <libc-internal.h>
3172         (reboot): Prototypify.  Use ignore_value on HOWTO.
3173         * misc/ptrace.c: #include <libc-internal.h>
3174         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3176 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3178         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3179         XPG4, UNIX98 and XOPEN2K.
3180         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3181         Remove variable.
3182         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3184 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3186         * libio/fileops.c: Use ISO C style for function definitions.
3187         * libio/iofopen.c: Likewise.
3188         * libio/wfileops.c: Likewise.
3190         [BZ #17653]
3191         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3192         offset on EOF.
3193         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3194         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3195         (fgets_func): Function pointer to fgets and fgetws.
3196         (do_ftell_test): Add test to verify ftell value after read
3197         EOF.
3198         (do_test): Set fgets_func.
3200         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3201         O_TRUNC flag for w and w+ modes.
3202         (do_rewind_test): Likewise.
3203         (do_ftell_test): Likewise.
3204         (do_write_test): Likewise.
3206         [BZ #17647]
3207         * libio/fileops.c (do_ftell): Seek only when there are
3208         unflushed writes.
3209         * libio/wfileops.c (do_ftell_wide): Likewise.
3210         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3211         test case.
3212         (do_one_test): Call it.
3214 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3216         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3217         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3218         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3219         Remove variable.
3220         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3221         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3222         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3224 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3226         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3227         Remove variable.
3228         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3230         [BZ #17668]
3231         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3232         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3233         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3234         __freeifaddrs.  Use libc_hidden_weak.
3235         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3236         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3237         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3238         __freeifaddrs.  Use libc_hidden_weak.
3239         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3240         __getifaddrs and define as weak alias of __getifaddrs.  Use
3241         libc_hidden_weak.
3242         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3243         __freeifaddrs.  Use libc_hidden_weak.
3244         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3245         Remove variable.
3246         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3247         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3249 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3251         [BZ #17601]
3252         * sysdeps/mips/start.S (__start): Use indirect jump to call
3253         __libc_start_main.
3255 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3257         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3259         * nptl/tst-mutex1.c: Include <stdbool.h>.
3260         [!ATTR] (ATTR_NULL): New macro.
3261         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3262         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3263         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3265         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3266         to char *.
3268         [BZ #17665]
3269         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3270         Change conditional to [__USE_MISC].
3272         [BZ #17664]
3273         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3274         fgets_unlocked.
3275         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3276         __fgets_unlocked.
3277         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3278         fgets_unlocked.
3279         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3280         Remove variable.
3281         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3282         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3283         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3284         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3285         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3286         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3287         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3288         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3289         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3291         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3293 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3295         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3296         Remove strpbrk objects.
3297         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3298         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3299         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3300         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3301         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3302         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3304         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3305         Remove strcspn objects.
3306         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3307         (__libc_ifunc_impl_list): Remove strcspn implementation.
3308         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3309         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3310         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3311         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3313         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3314         Remove strspn objetcs.
3315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3316         (__libc_ifunc_impl_list): Remove strspn implementation.
3317         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3318         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3319         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3320         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3322 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3324         [BZ #17581]
3325         * malloc/hooks.c
3326         (mem2mem_check): Add a terminator to the chain of checking blocks.
3327         (malloc_check_get_size): Use it here.
3328         (mem2chunk_check): Ditto.
3330 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3332         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3333         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3335 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3337         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3339         * nptl/nptl-init.c: Include libc-internal.h.
3340         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3342         * elf/ldconfig.c (search_dir): Expand comment.
3344 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3346         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3347         variable.
3348         (linknamespace-symlist-stdlibs-tests): Likewise.
3349         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3350         instead of $(objpfx)symlist-stdlibs.
3351         (linknamespace-libs-isoc): New variable.
3352         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3353         (linknamespace-libs-ISO): New variable.
3354         (linknamespace-libs-ISO99): Likewise.
3355         (linknamespace-libs-ISO11): Likewise.
3356         (linknamespace-libs-XPG3): Likewise.
3357         (linknamespace-libs-XPG4): Likewise.
3358         (linknamespace-libs-POSIX): Likewise.
3359         (linknamespace-libs-UNIX98): Likewise.
3360         (linknamespace-libs-XOPEN2K): Likewise.
3361         (linknamespace-libs-POSIX2008): Likewise.
3362         (linknamespace-libs-XOPEN2K8): Likewise.
3363         ($(objpfx)symlist-stdlibs): Replace by
3364         $(linknamespace-symlist-stdlibs-tests).  Use
3365         $(linknamespace-libs-$*) as set of libraries.
3366         ($(linknamespace-header-tests)): Update dependencies.  Use
3367         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3368         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3369         * conform/linknamespace.pl: Remove comment about considering
3370         definitions of symbols from irrelevant libraries.
3372 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3374         [BZ #13862]
3375         * elf/dl-tls.c: Include <atomic.h>.
3376         (oom): Remove #ifdef SHARED/#endif.
3377         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3378         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3379         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3380         big enough.
3381         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3382         * nptl/Makefile (tests): Add tst-stack4.
3383         (modules-names): Add tst-stack4mod.
3384         ($(objpfx)tst-stack4): New.
3385         (tst-stack4mod.sos): Likewise.
3386         ($(objpfx)tst-stack4.out): Likewise.
3387         ($(tst-stack4mod.sos)): Likewise.
3388         (clean): Likewise.
3389         * nptl/tst-stack4.c: New file.
3390         * nptl/tst-stack4mod.c: Likewise.
3392 2014-11-27  J. Brown  <jb999@gmx.de>
3394         * sysdeps/x86/bits/string.h: Add recent CPUs.
3396 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3398         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3399         sigblock.
3401         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3402         feof.
3404         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3405         variable.
3407 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3409         * nscd/connections.c: Include libc-internal.h because of macro
3410         usage ignore_value.
3412 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3414         * string/bits/string3.h (__warn_memset_zero_len): Don't
3415         declare for gcc newer than 5.0.
3416         (memset): Don't test for zero-length __LEN for gcc newer than
3417         5.0.
3419 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3421         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3422         size_t for %zu format.
3424         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3425         difference, not %ju.
3427 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3429         * include/libc-internal.h (ignore_value): New macro.
3430         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3431         with ignore_value.
3433         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3434         definition.
3436         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3437         pthread_cleanup_push to void *.
3439         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3440         Undefine.
3442         [BZ #16619]
3443         [BZ #16740]
3444         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3445         instead of 1L << 52.
3447         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3448         * libio/bug-rewind2.c (do_test): Likewise.
3450         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3451         * debug/test-strcpy_chk-ifunc.c: Likewise.
3452         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3453         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3454         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3455         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3456         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3457         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3458         * Rules [$(multi-arch) = no] (tests): Do not filter out
3459         $(tests-ifunc).
3460         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3461         * debug/Makefile (tests-ifunc): Remove variable.
3462         (tests): Do not add $(tests-ifunc).
3463         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3464         (tests): Do not add $(tests-ifunc).
3465         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3466         [TEST_IFUNC]: Remove conditionals.
3467         * string/test-string.h (TEST_IFUNC): Remove macro.
3468         [TEST_IFUNC]: Remove conditionals.
3470         * string/test-strchr.c [!WIDE] (L): New macro.
3471         [WIDE] (L): Likewise.
3472         (check1): Use CHAR instead of char.  Use L on string and character
3473         constants.
3475 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3477         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3478         tests.
3479         * sysdeps/powerpc/bits/atomic.h
3480         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3481         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3482         (atomic_exchange_and_add_acq): Likewise.
3483         (atomic_exchange_and_add_rel): Likewise.
3484         * sysdeps/powerpc/powerpc32/bits/atomic.h
3485         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3486         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3487         * sysdeps/powerpc/powerpc64/bits/atomic.h
3488         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3489         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3491 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3493         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3494         Change synchronization of __sched_fifo_min_prio and
3495         __sched_fifo_max_prio.
3496         * nptl/pthread_mutexattr_getprioceiling.c
3497         (pthread_mutexattr_getprioceiling): Likewise.
3498         * nptl/pthread_mutexattr_setprioceiling.c
3499         (pthread_mutexattr_setprioceiling): Likewise.
3500         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3501         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3502         Likewise.
3504 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3506         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3507         void.
3509 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3511         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3512         third argument const.
3514 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3516         fnmatch: work around GCC compiler warning bug with uninit var
3517         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3518         This works around a bug with x86-64 GCC 4.9.2 and earlier
3519         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3520         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3521         used uninitialized in this function [-Wmaybe-uninitialized]".
3523 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3525         * posix/bug-regex31.c (main): Return RES not 0.
3527 2014-11-25  Anton Blanchard <anton@samba.org>
3529         * sysdeps/powerpc/bits/atomic.h
3530         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3532 2014-11-24  Sterling Augustine  <saugustine@google.com>
3534         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3536 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3538         [BZ #17608]
3539         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3541 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3543         [BZ #17633]
3544         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3545         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3546         variable.
3547         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3548         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3550 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3552         * string/strncpy.c (strncpy): Improve performance by using memset.
3554 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3556         * string/strcpy.c (strcpy):
3557         Improve performance by using strlen and memcpy.
3559 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3561         * string/strcoll_l.c (get_next_seq): __always_inline.
3562         * string/strcoll_l.c (do_compare): __always_inline.
3564 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3566         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3567         defined.
3568         * include/mqueue.h: Likewise.
3569         * include/stdlib.h: Likewise.
3571         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3572         (get_null_defines): Adjust.
3573         * sunrpc/Makefile: Adjust comment.
3574         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3575         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3576         (CFLAGS-interp.c): Likewise.
3577         (CFLAGS-ldconfig.c): Likewise.
3578         (CPPFLAGS-.os): Likewise.
3579         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3580         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3581         * extra-modules.mk (extra-modules.mk): Likewise.
3582         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3583         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3584         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3585         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3586         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3587         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3588         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3589         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3590         * iconvdata/Makefile (CPPFLAGS): Likewise.
3591         (cpp-srcs-left): Add libof for all iconvdata routines.
3592         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3593         * include/assert.h: Likewise.
3594         * include/ctype.h: Likewise.
3595         * include/errno.h: Likewise.
3596         * include/libc-symbols.h: Likewise.
3597         * include/math.h: Likewise.
3598         * include/netdb.h: Likewise.
3599         * include/resolv.h: Likewise.
3600         * include/stdio.h: Likewise.
3601         * include/stdlib.h: Likewise.
3602         * include/string.h: Likewise.
3603         * include/sys/stat.h: Likewise.
3604         * include/wctype.h: Likewise.
3605         * intl/l10nflist.c: Likewise.
3606         * libidn/idn-stub.c: Likewise.
3607         * libio/libioP.h: Likewise.
3608         * nptl/libc_multiple_threads.c: Likewise.
3609         * nptl/pthreadP.h: Likewise.
3610         * posix/regex_internal.h: Likewise.
3611         * resolv/res_hconf.c: Likewise.
3612         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3613         * sysdeps/arm/memmove.S: Likewise.
3614         * sysdeps/arm/sysdep.h: Likewise.
3615         * sysdeps/generic/_itoa.h: Likewise.
3616         * sysdeps/generic/symbol-hacks.h: Likewise.
3617         * sysdeps/gnu/errlist.awk: Likewise.
3618         * sysdeps/gnu/errlist.c: Likewise.
3619         * sysdeps/i386/i586/memcpy.S: Likewise.
3620         * sysdeps/i386/i586/memset.S: Likewise.
3621         * sysdeps/i386/i686/memcpy.S: Likewise.
3622         * sysdeps/i386/i686/memmove.S: Likewise.
3623         * sysdeps/i386/i686/mempcpy.S: Likewise.
3624         * sysdeps/i386/i686/memset.S: Likewise.
3625         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3626         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3627         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3628         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3629         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3630         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3631         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3632         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3633         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3634         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3635         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3636         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3637         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3638         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3639         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3640         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3641         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3642         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3643         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3644         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3645         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3646         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3647         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3648         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3649         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3650         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3651         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3652         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3653         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3654         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3655         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3656         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3657         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3658         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3659         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3661         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3662         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3663         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3664         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3665         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3666         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3667         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3668         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3669         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3670         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3671         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3672         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3673         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3674         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3675         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3676         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3677         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3678         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3679         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3680         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3681         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3682         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3683         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3684         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3685         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3686         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3687         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3688         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3689         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3690         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3691         * sysdeps/posix/closedir.c: Likewise.
3692         * sysdeps/posix/opendir.c: Likewise.
3693         * sysdeps/posix/readdir.c: Likewise.
3694         * sysdeps/posix/rewinddir.c: Likewise.
3695         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3696         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3697         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3698         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3699         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3700         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3701         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3702         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3703         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3704         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3705         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3706         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3707         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3708         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3709         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3710         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3711         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3712         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3713         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3714         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3715         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3716         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3717         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3718         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3719         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3720         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3721         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3722         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3723         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3725         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3727         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3729         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3730         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3731         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3732         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3733         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3734         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3735         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3736         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3737         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3738         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3739         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3740         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3741         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3742         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3743         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3744         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3745         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3746         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3747         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3748         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3751         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3752         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3753         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3754         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3755         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3756         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3757         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3758         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3759         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3760         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3761         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3762         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3763         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3764         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3765         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3766         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3767         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3768         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3769         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3770         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3771         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3772         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3773         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3774         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3775         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3776         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3777         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3778         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3779         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3780         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3781         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3782         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3783         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3784         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3785         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3786         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3787         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3788         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3789         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3790         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3791         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3793         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3794         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3795         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3796         * sysdeps/unix/alpha/sysdep.S: Likewise.
3797         * sysdeps/unix/alpha/sysdep.h: Likewise.
3798         * sysdeps/unix/make-syscalls.sh: Likewise.
3799         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3801         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3802         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3803         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3804         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3805         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3806         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3807         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3808         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3809         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3810         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3811         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3812         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3813         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3814         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3815         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3816         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3817         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3818         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3819         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3820         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3821         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3822         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3823         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3824         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3825         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3828         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3829         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3830         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3832         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3833         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3834         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3835         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3836         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3837         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3838         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3839         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3840         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3841         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3842         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3843         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3844         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3845         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3846         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3847         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3848         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3849         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3850         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3851         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3852         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3853         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3854         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3855         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3857         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3858         * sysdeps/x86_64/memcpy.S: Likewise.
3859         * sysdeps/x86_64/memmove.c: Likewise.
3860         * sysdeps/x86_64/memset.S: Likewise.
3861         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3862         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3863         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3864         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3865         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3866         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3867         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3868         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3869         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3870         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3871         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3872         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3873         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3874         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3875         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3876         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3877         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3878         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3879         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3880         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3881         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3882         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3883         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3884         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3885         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3886         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3887         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3888         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3889         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3890         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3891         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3892         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3893         * sysdeps/x86_64/strcmp.S: Likewise.
3895         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3897         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3898         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3899         * elf/rtld-Rules: Likewise.
3900         * elf/setup-vdso.h: Likewise.
3901         * include/assert.h: Likewise.
3902         * include/bits/stdlib-float.h: Likewise.
3903         * include/errno.h: Likewise.
3904         * include/sys/stat.h: Likewise.
3905         * include/unistd.h: Likewise.
3906         * sysdeps/aarch64/setjmp.S: Likewise.
3907         * sysdeps/alpha/setjmp.S: Likewise.
3908         * sysdeps/arm/__longjmp.S: Likewise.
3909         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3910         * sysdeps/arm/setjmp.S: Likewise.
3911         * sysdeps/arm/sysdep.h: Likewise.
3912         * sysdeps/generic/_itoa.h: Likewise.
3913         * sysdeps/generic/dl-sysdep.h: Likewise.
3914         * sysdeps/generic/ldsodefs.h: Likewise.
3915         * sysdeps/i386/dl-tls.h: Likewise.
3916         * sysdeps/i386/setjmp.S: Likewise.
3917         * sysdeps/m68k/setjmp.c: Likewise.
3918         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3919         * sysdeps/mach/hurd/opendir.c: Likewise.
3920         * sysdeps/posix/getcwd.c: Likewise.
3921         * sysdeps/posix/opendir.c: Likewise.
3922         * sysdeps/posix/profil.c: Likewise.
3923         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3924         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3925         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3926         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3927         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3928         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3929         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3930         * sysdeps/s390/dl-tls.h: Likewise.
3931         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3932         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3933         * sysdeps/sh/sh3/setjmp.S: Likewise.
3934         * sysdeps/sh/sh4/setjmp.S: Likewise.
3935         * sysdeps/unix/alpha/sysdep.h: Likewise.
3936         * sysdeps/unix/arm/sysdep.S: Likewise.
3937         * sysdeps/unix/i386/sysdep.S: Likewise.
3938         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3939         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3940         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3941         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3942         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3943         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3944         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3946         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3947         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3948         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3949         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3950         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3953         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3956         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3957         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3958         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3959         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3960         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3961         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3962         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3963         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3964         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3965         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3966         * sysdeps/x86_64/setjmp.S: Likewise.
3968         * include/math.h: Use IS_IN instead of IS_IN_libm.
3969         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3970         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3971         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3972         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3973         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3974         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3975         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3976         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3977         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3978         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3979         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3980         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3981         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3982         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3983         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3984         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3985         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3986         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3987         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3988         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3989         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3990         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3991         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3992         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3993         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3994         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3995         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3996         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3997         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3998         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3999         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4000         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4001         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4003         Likewise.
4004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4005         Likewise.
4006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4007         Likewise.
4008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4009         Likewise.
4010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4011         Likewise.
4012         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4013         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4014         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4015         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4016         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4017         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4018         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4020         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4023         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4024         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4025         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4026         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4027         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4028         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4029         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4030         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4031         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4032         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4033         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4034         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4035         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4036         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4038         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4040         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4041         * nptl/pthreadP.h: Likewise.
4042         * nptl_db/structs.def: Likewise.
4043         * sysdeps/arm/sysdep.h: Likewise.
4044         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4045         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4046         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4047         * sysdeps/unix/alpha/sysdep.h: Likewise.
4048         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4049         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4050         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4051         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4052         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4053         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4054         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4055         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4056         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4057         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4058         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4059         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4060         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4061         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4064         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4065         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4066         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4067         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4068         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4069         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4070         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4071         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4072         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4073         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4075         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4076         * nptl/pthreadP.h: Likewise.
4077         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4078         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4079         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4080         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4081         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4082         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4083         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4084         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4085         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4086         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4087         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4088         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4090         Likewise.
4091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4092         Likewise.
4093         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4094         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4095         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4098         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4099         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4100         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4102         * dlfcn/dladdr.c: Use IS_IN.
4103         * dlfcn/dladdr1.c: Likewise.
4104         * dlfcn/dlclose.c: Likewise.
4105         * dlfcn/dlerror.c: Likewise.
4106         * dlfcn/dlinfo.c: Likewise.
4107         * dlfcn/dlmopen.c: Likewise.
4108         * dlfcn/dlopen.c: Likewise.
4109         * dlfcn/dlsym.c: Likewise.
4110         * dlfcn/dlvsym.c: Likewise.
4112         * include/ifaddrs.h: Use IS_IN.
4113         * inet/check_pf.c: Likewise.
4114         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4115         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4117         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4118         IS_IN_ldconfig.
4119         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4120         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4122         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4123         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4124         IS_IN (libc).
4126         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4128         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4129         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4130         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4131         * include/libc-symbols.h (IS_IN_LIB): New macro.
4132         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4133         * include/netdb.h: Likewise.
4134         * include/stap-probe.h: Remove all uses of IN_LIB.
4136         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4137         instead of IN_MODULE.
4138         * include/libc-symbols.h (IN_MODULE): Define using
4139         MODULE_NAME.
4140         (PASTE_NAME, PASTE_NAME1): New macros.
4141         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4142         of IN_LIB.
4143         (STAP_PROBE_ASM): Likewise.
4145 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4147         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4148         __mach_init in dlopened libc.
4150 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4152         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4153         * sysdeps/arm/preconfigure: Regenerate.
4155 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4157         * nptl/pthread_create.c (__pthread_create_2_1): Set
4158         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4159         when copying values from IATTR into PD.
4161 2014-11-21  Will Newton  <will.newton@linaro.org>
4162             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4164         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4165         Refactor inline-asm.  Also add comment.
4167         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4168         ElfW macro instead of hardcoded Elf64 types.
4169         (la_aarch64_gnu_pltenter): Likewise.
4170         * sysdeps/aarch64/dl-machine.h
4171         (elf_machine_runtime_setup): Use ElfW(Addr).
4173         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4174         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4175         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4176         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4177         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4178         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4179         (R_AARCH64_TLS_DTPMOD): This.
4180         (R_AARCH64_TLS_DTPREL64): Rename to ...
4181         (R_AARCH64_TLS_DTPREL): This.
4182         (R_AARCH64_TLS_TPREL64): Rename to ...
4183         (R_AARCH64_TLS_TPREL): This.
4184         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4185         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4186         R_AARCH64_TLS_TPREL64.
4187         (elf_machine_rela): Likewise.
4189 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4191         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4192         by setting it to 0.  64b atomics are not supported currently.
4194 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4196         [BZ #16469]
4197         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4198         search domain names.
4200 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4202         [BZ #16469]
4203         * NEWS: Update.
4204         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4205         trailing dot.
4206         * posix/tst-getaddrinfo5.c: New.
4207         * posix/Makefile (tests): Add it.
4209 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4211         [BZ #14498]
4212         * NEWS: Fixed.
4213         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4214         after parsing line but before break_if_match.
4215         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4216         if there is a protocol mismatch.
4218 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4220         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4221         because the potential race is on the user-supplied stream.
4223 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4225         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4226         string literal if not passed a buffer.
4227         * manual/job.texi (ctermid): Update reasoning, note deviation
4228         from posix, suggest mtasurace when not passed a buffer, for
4229         future non-preliminary safety notes.
4231 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4233         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4234         of not passing it a buffer.
4235         Reported by Peng Haitao.
4237 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4239         * manual/Makefile ($(objpfx)stamp-summary): Require
4240         check-safety.sh to pass.
4241         * manual/check-safety.sh: Wish for verification that every
4242         @deftypefn and @deftypefun is followed by a @safety remark.
4244 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4246         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4248         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4249         PTHREAD_CANCEL_ASYNCHRONOUS.
4250         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4251         send SIGCANCEL.
4253         * nptl/default-sched.h: New file.
4254         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4255         * nptl/pthread_create.c: Include it.
4256         (__pthread_create_2_1): Use collect_default_sched instead of making
4257         Linux syscalls here directly.
4259 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4261         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4262         __pthread_once): Use C11 atomics.
4264 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4266         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4268 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4270         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4271         atomic_thread_fence_acquire, atomic_thread_fence_release,
4272         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4273         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4274         atomic_compare_exchange_weak_relaxed,
4275         atomic_compare_exchange_weak_acquire,
4276         atomic_compare_exchange_weak_release,
4277         atomic_exchange_acquire, atomic_exchange_release,
4278         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4279         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4280         atomic_fetch_and_acquire,
4281         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4283 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4285         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4286         USE_ATOMIC_COMPILER_BUILTINS): Define.
4287         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4289         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4290         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4291         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4292         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4293         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4294         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4295         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4296         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4297         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4298         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4299         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4300         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4301         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4302         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4303         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4304         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4305         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4306         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4307         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4308         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4309         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4310         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4311         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4312         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4313         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4314         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4315         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4316         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4317         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4318         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4319         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4320         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4321         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4322         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4323         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4324         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4325         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4326         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4328 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4330         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4331         the sched_priority value here.  It was already checked when the user
4332         called pthread_attr_setschedparam.
4334         * nptl/tst-bad-schedattr.c: New file.
4335         * nptl/Makefile (tests): Add it.
4337 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4338             Florian Weimer  <fweimer@redhat.com>
4339             Joseph Myers  <joseph@codesourcery.com>
4340             Adam Conrad  <adconrad@0c3.net>
4341             Andreas Schwab  <schwab@suse.de>
4342             Brooks  <bmoses@google.com>
4344         [BZ #17625]
4345         * wordexp-test.c (__dso_handle): Add prototype.
4346         (__register_atfork): Likewise.
4347         (__app_register_atfork): New function.
4348         (registered_forks): New global.
4349         (register_fork): New function.
4350         (test_case): Add 3 new tests for WRDE_CMDSUB.
4351         (main): Call __app_register_atfork.
4352         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4353         fork count is non-zero fail the test.
4354         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4355         is set.
4356         (parse_dollars): Remove check for WRDE_NOCMD.
4357         (parse_dquote): Likewise.
4359 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4361         * Makeconfig (built-modules): List non-library modules to be
4362         built.
4363         (module-cppflags): Include libc-modules.h for
4364         everything except shlib-versions.v.i.
4365         (CPPFLAGS): Use it.
4366         (before-compile): Add libc-modules.h.
4367         ($(common-objpfx)libc-modules.h,
4368         $(common-objpfx)libc-modules.stmp): New targets.
4369         (common-generated): Add libc-modules.h and libc-modules.stmp.
4370         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4371         * include/libc-symbols.h: Don't include libc-modules.h.
4372         * include/libc-modules.h: Remove file.
4373         * scripts/gen-libc-modules.awk: New script to generate
4374         libc-modules.h.
4375         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4376         Depend on libc-modules.stmp.
4378         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4380         * Makeconfig (in-module): Get value of libof set for the
4381         translation unit.
4382         (CPPFLAGS): Use $(in-module).
4383         * Makerules: Don't suffix routine names for nonlib.
4384         * include/libc-modules.h: New file.
4385         * include/libc-symbols.h: Include libc-modules.h
4386         (IS_IN): New macro to replace IS_IN_* macros.
4387         * elf/Makefile: Set libof-* for each routine.
4388         * elf/rtld-Rules: Likewise.
4389         * extra-modules.mk: Likewise.
4390         * iconv/Makefile: Likewise.
4391         * iconvdata/Makefile: Likewise.
4392         * locale/Makefile: Likewise.
4393         * malloc/Makefile: Likewise.
4394         * nss/Makefile: Likewise.
4395         * sysdeps/gnu/Makefile: Likewise.
4396         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4397         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4398         * sysdeps/s390/s390-64/Makefile: Likewise.
4399         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4400         CPPFLAGS for nscd instead of nonlib.
4402 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4404         * nptl/createthread.c: New file.
4406         * nptl/createthread.c: Moved ...
4407         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4409         * nptl/createthread.c: Add proper top-line comment.
4410         (do_clone): Folded into ...
4411         (create_thread): ... here.  Take new arguments STOPPED_START and
4412         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4413         increment __nptl_threads, do event-reporting logic, do
4414         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4415         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4416         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4417         just send SIGCANCEL.
4418         * nptl/pthread_create.c: Forward-declare create_thread before
4419         including createthread.c.
4420         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4421         declaration, and new macro START_THREAD_SELF to replace argument.
4422         Remove return statement.
4423         (report_thread_creation): New function.
4424         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4425         synchronization logic, and __nptl_nthreads increment here, around
4426         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4427         PD->parent_cancelhandling here, before create_thread.  When
4428         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4429         __deallocate_stack, and ENOMEM translation here.
4431 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4433         [BZ #17616]
4434         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4435         (mptwo): Rename to __mptwo.
4436         (__inv): Use __mptwo instead of mptwo.
4437         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4438         (mptwo): Rename to __mptwo.
4439         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4440         of mpone and __mptwo instead of mptwo.
4441         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4442         instead of mpone.
4443         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4444         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4445         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4446         of mpone and __mptwo instead of mptwo.
4447         (__mpranred): Use __mpone instead of mpone.
4448         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4449         variable.
4450         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4451         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4452         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4453         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4454         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4455         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4456         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4457         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4458         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4459         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4460         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4461         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4462         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4463         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4464         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4465         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4466         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4467         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4468         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4470 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4472         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4473         replace BSD Handler xref with BSD Signal Handling.
4475 2014-11-17  Richard Henderson  <rth@redhat.com>
4477         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4478         (_FP_PACK_RAW_2): Remove.
4479         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4480         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4481         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4482         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4483         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4484         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4485         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4486         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4487         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4488         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4489         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4490         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4491         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4492         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4493         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4494         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4496 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4498         * signal/signal.h [__USE_MISC]
4499         (struct sigvec): Remove type.
4500         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4501         (sigvec): Remove declaration.
4502         * sysdeps/posix/sigvec.c: Moved ...
4503         * signal/sigvec.c: ... here, replacing old file.
4504         (struct sigvec): New type, copied from old signal.h definition.
4505         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4506         (__sigvec): Convert definition to prototype.
4507         (sigvec): Replace weak_alias with compat_symbol.
4508         * signal/Versions (libc: GLIBC_2.21): New version set.
4509         * include/signal.h: Remove __sigvec declaration.
4510         * sysdeps/unix/bsd/sigvec.c: Remove file.
4511         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4512         * manual/signal.texi (BSD Handler): Remove subsection.
4513         Move siginterrupt up to ...
4514         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4515         (Blocking in BSD): Fold subsection into its parent.
4516         * NEWS: Mention sigvec removal.
4518 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4520         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4521         (DLA_FMS): Make definition conditional only on [__FMA4__].
4522         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4523         definition.
4525         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4526         Make definition conditional only on [PROF].
4527         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4528         definition.
4529         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4530         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4532         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4533         !__GNUC__].
4534         * include/signal.h (__sigpause): Move declaration above call to
4535         libc_hidden_proto.
4536         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4537         variable.
4538         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4539         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4541 2014-11-14  David S. Miller  <davem@davemloft.net>
4543         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4544         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4546 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4548         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4549         * configure: Regenerated.
4550         * manual/install.texi (Tools for Compilation): Document a
4551         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4552         compiler verified to work.
4553         * INSTALL: Regenerated.
4555         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4556         redeclare with asm name.
4557         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4558         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4559         including <string.h>.
4560         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4561         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4562         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4563         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4564         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4565         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4566         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4568 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4570         * stdlib/strtol.c (__strtol): Use prototype definition.
4572         [BZ #17594]
4573         * stdlib/strtol.c (SYM__): New macro.
4574         (SYM__1): Likewise.
4575         (__strtol): Likewise.
4576         (strtol): Rename to __strtol and define as weak alias of
4577         __strtol.  Use libc_hidden_weak.
4579 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4581         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4582         Use numbered labels in inline assembly.
4584 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4586         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4587         Add setjmp LIBC_PROBE.
4588         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4589         Likewise.
4590         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4591         Add longjmp, longjmp_target LIBC_PROBE.
4592         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4593         Likewise.
4595 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4597         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4598         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4599         to get rid of unused variable warning.
4601 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4603         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4604         Check for unwind_backtrace ==  NULL only in SHARED case.
4605         (__backchain_backtrace): Compile only in SHARED case.
4606         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4607         Likewise.
4608         (__backchain_backtrace): Declare as static.
4610 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4612         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4613         (__libc_multiple_threads_ptr): Variable moved ...
4614         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4616 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4618         * conform/GlibcConform.pm: New file.
4619         * conform/conformtest.pl: Use GlibcConform module.
4620         * conform/linknamespace.pl: New file.
4621         * conform/list-header-symbols.pl: Likewise.
4622         * conform/Makefile (linknamespace-symlists-base): New variable.
4623         (linknamespace-symlists-tests): Likewise.
4624         (linknamespace-header-base): Likewise.
4625         (linknamespace-header-tests): Likewise.
4626         (tests-special): Add new tests.
4627         ($(linknamespace-symlists-tests)): New rule.
4628         (linknamespace-libs): New variable.
4629         ($(objpfx)symlist-stdlibs): New rule.
4630         ($(linknamespace-header-tests)): Likewise.
4631         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4632         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4633         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4634         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4635         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4636         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4637         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4638         (test-xfail-ISO/math.h/linknamespace): Likewise.
4639         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4640         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4641         (test-xfail-ISO/time.h/linknamespace): Likewise.
4642         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4643         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4644         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4645         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4646         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4647         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4648         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4649         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4650         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4651         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4652         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4653         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4654         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4655         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4656         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4657         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4658         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4659         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4660         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4661         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4662         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4663         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4664         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4665         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4666         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4667         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4668         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4669         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4670         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4671         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4672         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4673         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4674         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4675         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4676         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4677         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4678         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4679         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4680         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4681         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4682         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4683         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4684         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4685         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4686         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4687         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4688         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4689         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4690         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4691         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4692         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4693         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4694         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4695         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4696         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4697         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4698         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4699         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4700         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4701         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4702         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4703         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4704         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4705         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4706         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4707         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4708         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4709         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4710         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4711         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4712         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4713         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4714         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4715         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4716         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4717         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4718         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4719         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4720         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4721         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4722         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4723         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4724         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4725         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4726         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4727         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4728         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4729         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4730         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4731         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4732         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4733         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4734         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4735         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4736         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4737         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4738         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4739         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4740         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4741         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4742         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4743         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4744         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4745         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4746         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4747         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4748         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4749         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4750         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4751         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4752         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4753         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4754         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4755         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4756         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4757         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4758         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4759         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4760         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4761         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4762         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4763         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4764         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4765         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4766         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4767         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4768         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4769         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4770         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4771         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4772         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4773         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4774         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4775         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4776         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4777         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4778         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4779         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4780         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4781         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4782         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4783         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4784         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4785         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4786         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4787         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4788         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4789         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4790         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4791         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4793         [BZ #17589]
4794         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4795         of fgets_unlocked.
4797         [BZ #17585]
4798         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4799         (memmem): Rename to __memmem and define as weak alias of
4800         __memmem.  Use libc_hidden_weak.
4801         (__memmem): Use libc_hidden_def.
4802         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4803         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4804         memmem.
4806         [BZ #17582]
4807         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4808         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4809         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4810         and define as weak alias of __fgets_unlocked.  Use
4811         libc_hidden_weak.
4812         (__fgets_unlocked): Use libc_hidden_def.
4813         * include/stdio.h (__fgets_unlocked): Declare.  Use
4814         libc_hidden_proto.
4815         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4816         __fgets_unlocked instead of fgets_unlocked.
4817         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4818         (GET_NPROCS_CONF_PARSER): Likewise.
4819         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4820         (GET_NPROCS_CONF_PARSER): Likewise.
4822         [BZ #17574]
4823         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4824         weak alias of __wmemset.  Use libc_hidden_weak.
4825         (__wmemset): Use libc_hidden_def.
4826         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4827         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4828         of wmemset.
4830         [BZ #17573]
4831         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4832         with asm name __mempcpy.
4833         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4835         [BZ #17572]
4836         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4837         and define as weak alias of __rawmemchr.
4838         (__rawmemchr): Do not define as strong alias of rawmemchr.
4840         [BZ #17571]
4841         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4842         alias of __qsort_r.
4843         (qsort): Call __qsort_r instead of qsort_r.
4844         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4845         (__qsort_r): Declare.  Call libc_hidden_proto.
4846         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4847         instead of qsort_r.
4848         * nscd/gai.c (__qsort_r): Define to qsort_r.
4849         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4850         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4851         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4853         [BZ #17570]
4854         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4855         define as weak alias of __malloc_info.
4857         [BZ #17584]
4858         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4859         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4860         (__rewinddir): Use libc_hidden_def.
4861         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4862         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4863         (__rewinddir): Use libc_hidden_def.
4864         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4865         weak alias of __rewinddir.  Don't use libc_hidden_def.
4866         (__rewinddir): Use libc_hidden_def.
4867         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4868         (__rewinddir): Use libc_hidden_proto.
4869         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4870         rewinddir.
4871         (__getcwd): Use __rewinddir instead of rewinddir.
4873         [BZ #17583]
4874         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4875         alias of __fileno.  Use libc_hidden_weak.
4876         (__fileno): Use libc_hidden_def.
4877         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4878         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4879         alias of __ftello.
4880         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4881         __ftello.
4882         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4883         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4884         libc_hidden_def.
4885         (fread_unlocked): Don't use libc_hidden_ver.
4886         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4887         and define as weak alias of __fread_unlocked.  Don't use
4888         libc_hidden_def.
4889         (__fread_unlocked): Use libc_hidden_def.
4890         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4891         (ftello): Don't use libc_hidden_proto.
4892         (__ftello): Declare.  Use libc_hidden_proto.
4893         (fread_unlocked): Don't use libc_hidden_proto.
4894         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4895         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4896         and __ftello instead of fileno, fread_unlocked and ftello.
4898 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4900         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4901         GOT12.
4902         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4903         Likewise.
4904         (_dl_start_user): Likewise.
4905         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4907 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4908             Siddhesh Poyarekar  <siddhesh@redhat.com>
4910         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4911         Move argv and envp down instead of moving argc up.
4912         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4914 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4916         [BZ #17506]
4917         * test-skeleton.c (main): Return successful if one of
4918         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4919         * string/tst-strcoll-overflow.c: Define expected status.
4921 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4923         [BZ #17475]
4924         * locale/iso-639.def: Define Bhili and Tulu language codes.
4926 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4928         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4930 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4932         [BZ #17555]
4933         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4935 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4937         * configure.ac: Updated check of minimal required version to
4938         2.22.
4939         * manual/install.texi (Tools for Compilation): Updated version
4940         number.
4941         * configure: Regenerated.
4942         * INSTALL: Likewise.
4944 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4946         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4947         __tls_get_addr.
4949 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4951         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4952         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4953         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4954         libc_hidden_weak.
4955         (waitpid): Define as alias of __waitpid.
4956         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4957         __waitpid.
4958         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4959         libc_hidden_weak.
4960         (waitpid): Define as alias of __waitpid.
4961         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4962         __libc_waitpid alias.
4963         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4964         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4965         Likewise.
4966         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4967         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4968         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4969         alias.
4970         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4971         __waitpid.
4972         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4973         libc_hidden_weak.
4974         (waitpid): Define as alias of __waitpid.
4976 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4978         * manual/llio.texi: Add comment that write safety has been
4979         fixed in Linux.
4981         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4982         (localplt-build-dso): Add elf/ld.so.
4983         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4984         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4985         and free for ld.so.
4986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4987         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4989         Likewise.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4991         Likewise.
4992         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4993         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4994         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4995         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4996         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4997         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4998         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4999         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5000         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5001         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5002         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5004 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
5006         [BZ #14132]
5007         * include/libc-symbols.h (INTUSE): Remove macro.
5008         (INTDEF): Likewise.
5009         (INTVARDEF): Likewise.
5010         (_INTVARDEF): Likewise.
5011         (INTDEF2): Likewise.
5012         (INTVARDEF2): Likewise.
5013         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5014         rtld_hidden_def instead of INTVARDEF.
5015         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5016         (_dl_starting_up_internal): Remove declaration.
5017         (_dl_starting_up): Use rtld_hidden_proto.
5018         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5019         declaration.
5020         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5021         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5022         _dl_starting_up.
5023         * elf/dl-writev.h (_dl_writev): Likewise.
5024         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5025         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5026         _dl_starting_up_internal.
5028 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5030         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5031         test-skeleton.c.
5033 2014-11-05  Will Newton  <will.newton@linaro.org>
5035         * benchtests/Makefile: (bench-malloc): Add malloc thread
5036         scalability benchmark.
5037         * benchtests/bench-malloc-threads.c: New file.
5039 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
5041         * sysdeps/aarch64/strchrnul.S: New file.
5043 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5045         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5046         definition.
5047         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5048         Likwise.
5049         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5050         Likewise.
5051         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5052         Likewise.
5053         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5054         Likewise.
5055         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5056         Likewise.
5058 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
5060         * catgets/test-gencat.c: Use test-skeleton.c.
5061         * catgets/tst-catgets.c: Likewise.
5062         * csu/tst-empty.c: Likewise.
5063         * elf/tst-audit2.c: Likewise.
5064         * elf/tst-global1.c: Likewise.
5065         * elf/tst-pathopt.c: Likewise.
5066         * elf/tst-piemod1.c: Likewise.
5067         * elf/tst-tls10.c: Likewise.
5068         * elf/tst-tls11.c: Likewise.
5069         * elf/tst-tls12.c: Likewise.
5070         * gnulib/tst-gcc.c: Likewise.
5071         * iconvdata/tst-e2big.c: Likewise.
5072         * iconvdata/tst-loading.c: Likewise.
5073         * iconv/tst-iconv1.c: Likewise.
5074         * iconv/tst-iconv2.c: Likewise.
5075         * inet/test-inet6_opt.c: Likewise.
5076         * inet/tst-gethnm.c: Likewise.
5077         * inet/tst-network.c: Likewise.
5078         * inet/tst-ntoa.c: Likewise.
5079         * intl/tst-codeset.c: Likewise.
5080         * intl/tst-gettext2.c: Likewise.
5081         * intl/tst-gettext3.c: Likewise.
5082         * intl/tst-ngettext.c: Likewise.
5083         * intl/tst-translit.c: Likewise.
5084         * io/test-stat.c: Likewise.
5085         * libio/test-fmemopen.c: Likewise.
5086         * libio/tst-freopen.c: Likewise.
5087         * libio/tst-sscanf.c: Likewise.
5088         * libio/tst-ungetwc1.c: Likewise.
5089         * libio/tst-ungetwc2.c: Likewise.
5090         * libio/tst-widetext.c: Likewise.
5091         * localedata/tst-ctype.c: Likewise.
5092         * localedata/tst-digits.c: Likewise.
5093         * localedata/tst-leaks.c: Likewise.
5094         * localedata/tst-mbswcs1.c: Likewise.
5095         * localedata/tst-mbswcs2.c: Likewise.
5096         * localedata/tst-mbswcs3.c: Likewise.
5097         * localedata/tst-mbswcs4.c: Likewise.
5098         * localedata/tst-mbswcs5.c: Likewise.
5099         * localedata/tst-setlocale.c: Likewise.
5100         * localedata/tst-trans.c: Likewise.
5101         * localedata/tst-wctype.c: Likewise.
5102         * localedata/tst-xlocale1.c: Likewise.
5103         * login/tst-grantpt.c: Likewise.
5104         * malloc/tst-calloc.c: Likewise.
5105         * malloc/tst-malloc.c: Likewise.
5106         * malloc/tst-mallocstate.c: Likewise.
5107         * malloc/tst-mcheck.c: Likewise.
5108         * malloc/tst-mtrace.c: Likewise.
5109         * malloc/tst-obstack.c: Likewise.
5110         * math/atest-exp2.c: Likewise.
5111         * math/atest-exp.c: Likewise.
5112         * math/atest-sincos.c: Likewise.
5113         * math/test-matherr.c: Likewise.
5114         * math/test-misc.c: Likewise.
5115         * math/test-powl.c: Likewise.
5116         * math/tst-definitions.c: Likewise.
5117         * misc/tst-dirname.c: Likewise.
5118         * misc/tst-efgcvt.c: Likewise.
5119         * misc/tst-fdset.c: Likewise.
5120         * misc/tst-hsearch.c: Likewise.
5121         * misc/tst-mntent2.c: Likewise.
5122         * nptl/tst-sem7.c: Likewise.
5123         * nptl/tst-sem8.c: Likewise.
5124         * nptl/tst-sem9.c: Likewise.
5125         * nss/test-netdb.c: Likewise.
5126         * posix/tst-fnmatch.c: Likewise.
5127         * posix/tst-getlogin.c: Likewise.
5128         * posix/tst-gnuglob.c: Likewise.
5129         * posix/tst-mmap.c: Likewise.
5130         * pwd/tst-getpw.c: Likewise.
5131         * resolv/tst-inet_ntop.c: Likewise.
5132         * rt/tst-timer.c: Likewise.
5133         * stdio-common/test-fseek.c: Likewise.
5134         * stdio-common/test-popen.c: Likewise.
5135         * stdio-common/test-vfprintf.c: Likewise.
5136         * stdio-common/tst-cookie.c: Likewise.
5137         * stdio-common/tst-fileno.c: Likewise.
5138         * stdio-common/tst-gets.c: Likewise.
5139         * stdio-common/tst-obprintf.c: Likewise.
5140         * stdio-common/tst-perror.c: Likewise.
5141         * stdio-common/tst-sprintf2.c: Likewise.
5142         * stdio-common/tst-sprintf3.c: Likewise.
5143         * stdio-common/tst-sprintf.c: Likewise.
5144         * stdio-common/tst-swprintf.c: Likewise.
5145         * stdio-common/tst-tmpnam.c: Likewise.
5146         * stdio-common/tst-unbputc.c: Likewise.
5147         * stdio-common/tst-wc-printf.c: Likewise.
5148         * stdlib/tst-environ.c: Likewise.
5149         * stdlib/tst-fmtmsg.c: Likewise.
5150         * stdlib/tst-limits.c: Likewise.
5151         * stdlib/tst-rand48-2.c: Likewise.
5152         * stdlib/tst-rand48.c: Likewise.
5153         * stdlib/tst-random2.c: Likewise.
5154         * stdlib/tst-random.c: Likewise.
5155         * stdlib/tst-strtol.c: Likewise.
5156         * stdlib/tst-strtoll.c: Likewise.
5157         * stdlib/tst-tls-atexit.c: Likewise.
5158         * stdlib/tst-xpg-basename.c: Likewise.
5159         * string/test-ffs.c: Likewise.
5160         * string/tst-bswap.c: Likewise.
5161         * string/tst-inlcall.c: Likewise.
5162         * string/tst-strtok.c: Likewise.
5163         * string/tst-strxfrm.c: Likewise.
5164         * sysdeps/x86_64/tst-audit10.c: Likewise.
5165         * sysdeps/x86_64/tst-audit3.c: Likewise.
5166         * sysdeps/x86_64/tst-audit4.c: Likewise.
5167         * sysdeps/x86_64/tst-audit5.c: Likewise.
5168         * time/tst-ftime_l.c: Likewise.
5169         * time/tst-getdate.c: Likewise.
5170         * time/tst-mktime3.c: Likewise.
5171         * time/tst-mktime.c: Likewise.
5172         * time/tst-posixtz.c: Likewise.
5173         * time/tst-strptime2.c: Likewise.
5174         * time/tst-strptime3.c: Likewise.
5175         * wcsmbs/tst-btowc.c: Likewise.
5176         * wcsmbs/tst-mbrtowc.c: Likewise.
5177         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5178         * wcsmbs/tst-wchar-h.c: Likewise.
5179         * wcsmbs/tst-wcpncpy.c: Likewise.
5180         * wcsmbs/tst-wcrtomb.c: Likewise.
5181         * wcsmbs/tst-wcsnlen.c: Likewise.
5182         * wcsmbs/tst-wcstof.c: Likewise.
5184 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5186         [BZ #14132]
5187         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5188         INTDEF.
5189         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5190         declaration.
5191         (_dl_mcount): Use rtld_hidden_proto.
5192         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5193         _dl_mcount.
5194         * elf/rtld.c (_rtld_global_ro): Likewise.
5196         [BZ #14132]
5197         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5198         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5199         of _dl_init_internal.
5200         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5201         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5202         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5203         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5204         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5205         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5206         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5207         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5208         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5209         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5210         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5211         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5212         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5213         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5214         * sysdeps/tile/dl-start.S (_start): Likewise.
5215         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5216         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5218         [BZ #14132]
5219         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5220         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5221         (rtld_progname): Make macro definition unconditional.
5222         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5223         INTDEF.
5224         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5225         (dl_main): Likewise.
5226         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5227         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5228         instead of _dl_argv_internal.
5229         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5230         __GI__dl_argv instead of INTUSE(_dl_argv).
5231         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5232         __GI__dl_argv instead of _dl_argv_internal.
5234         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5235         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5236         macro.
5237         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5238         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5239         New macro.
5240         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5241         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5242         macro.
5243         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5244         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5246 2014-11-04  Andreas Schwab  <schwab@suse.de>
5248         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5250 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5252         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5253         mtvsrd instruction in binary form.
5255 2014-11-03  Andreas Schwab  <schwab@suse.de>
5257         [BZ #17522]
5258         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5259         for less than MB_LEN_MAX use a local buffer of that size.
5260         * libio/tst-fputws.c: New file.
5261         * libio/Makefile (tests): Add tst-fputws.
5263 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5265         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5266         the size of the fpu_fr.fpu_dregs[] array.
5268 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5270         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5271         (__nanosleep): Do not define as alias.
5272         (nanosleep): Define as alias of __nanosleep.
5273         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5274         __libc_nanosleep name.
5276 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5278         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5279         install.texi in comment.
5281 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5283         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5284         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5285         ... add here and use lwsync or sync ...
5286         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5287         ... and add here using lwsync.
5289 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5291         * elf/dl-machine-reject-phdr.h: New file.
5292         * elf/dl-load.c: #include that.
5293         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5294         if that returned true.
5296 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5298         [BZ #17496]
5299         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5300         gen-as-const-headers chunk.  Add a big scare comment after the last
5301         safe place to touch before-compile.
5303 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5305         * manual/install.texi (Tools for Compilation): Update autoconf
5306         version requirements.
5307         * INSTALL: Regenerated.
5309         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5310         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5311         (__libc_pselect): Likewise.
5313         [BZ #14138]
5314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5319 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5321         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5322         correct barrier instruction.
5323         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5324         Likewise.
5325         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5326         Likewise.
5328 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5330         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5331         after defining inlines.  Instead, just use parens to defeat macro
5332         expansion of __isctype in its declaration.
5334 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5336         * include/sys/uio.h (__libc_readv): Remove declaration.
5337         (__libc_writev): Likewise.
5338         * misc/readv.c (__libc_readv): Rename to __readv.
5339         (__readv): Do not define as alias.
5340         (readv): Define as alias of __readv.
5341         * misc/writev.c (__libc_writev): Rename to __writev.
5342         (__writev): Do not define as alias.
5343         (writev): Define as alias of __writev.
5344         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5345         (__readv): Do not define as alias.
5346         (readv): Define unconditionally as alias of __readv.
5347         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5348         (__writev): Do not define as alias.
5349         (writev): Define unconditionally as alias of __writev.
5350         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5351         name.
5352         (writev): Do not define __libc_writev name.
5354 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5356         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5357         (convert_charseq): New function, broken out of ...
5358         (use_from_charmap): ... here.  Call it.
5359         (use_to_charmap): Use convert_charseq and free instead of duplicating
5360         its code with a variable-length stack struct.
5362 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5364         * include/fcntl.h (__libc_creat): Remove declaration.
5365         * io/creat.c (__libc_creat): Rename to creat.
5366         (creat): Do not define as alias.
5367         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5368         of creat instead of __libc_creat.
5369         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5370         to creat.
5371         (creat): Do not define as alias.
5372         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5373         __libc_creat.
5374         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5375         __libc_creat name.
5376         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5377         Likewise.
5379 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5381         * manual/llio.texi: Add comments discussing why write() may be
5382         considered MT-unsafe on Linux.
5384 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5386         * dl-load.c (local_strdup): Remove.
5387         (expand_dynamic_string_token): Use __strdup.
5388         (decompose_rpath): Likewise.
5389         (_dl_map_object): Likewise.
5391 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5393         [BZ #14132]
5394         * sysdeps/generic/unwind-dw2-fde.c
5395         (__register_frame_info_bases_internal): Do not declare.
5396         (__register_frame_info_table_bases_internal): Likewise.
5397         (__deregister_frame_info_bases_internal): Likewise.
5398         (__register_frame_info_bases): Declare and use hidden_proto before
5399         definition.  Use hidden_def instead of INTDEF.
5400         (__register_frame_info_table_bases): Likewise.
5401         (__deregister_frame_info_bases): Likewise.
5402         (__register_frame_info): Do not use INTUSE.
5403         (__register_frame): Likewise.
5404         (__register_frame_info_table): Likewise.
5405         (__register_frame_table): Likewise.
5406         (__deregister_frame_info): Likewise.
5407         (__deregister_frame): Likewise.
5409 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5411         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5412         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5413         not undefine.
5414         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5415         Likewise.
5416         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5417         Likewise.
5419 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5421         [BZ #14138]
5422         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5423         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5424         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5425         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5426         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5427         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5428         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5429         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5430         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5431         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5432         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5433         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5434         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5435         syscall.
5436         (setfsuid): Likewise.
5437         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5438         (setfsuid): Likewise.
5439         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5440         (setfsuid): Likewise.
5441         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5442         Likewise.
5443         (setfsuid): Likewise.
5444         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5445         (setfsuid): Likewise.
5446         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5447         Likewise.
5448         (setfsuid): Likewise.
5450 2014-10-27  Andreas Schwab  <schwab@suse.de>
5452         [BZ #17501]
5453         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5454         check for Slow_SSE4_2 feature bit.
5455         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5456         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5457         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5458         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5460 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5462         * configure.ac: Validate compiler version with a empirical test of
5463         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5464         $CC -v output.
5465         * configure: Regenerated.
5467         * inet/htons.c (htons): Prototypify.
5468         * inet/htonl.c (htonl): Likewise.
5470 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5472         * string/strncat.c (strncat): Improve performance by using strlen.
5474 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5476         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5478 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5480         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5481         Call libc_fetestexcept_aarch64.
5483 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5485         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5486         Call libc_feholdexcept_aarch64.
5488 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5490         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5491         Call get_rounding_mode.
5493 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5495         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5496         Simplify logic.
5498 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5500         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5501         Simplify logic.
5503 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5505         [BZ #14138]
5506         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5507         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5508         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5509         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5510         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5511         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5512         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5513         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5514         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5515         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5516         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5517         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5518         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5519         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5520         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5521         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5522         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5523         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5524         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5525         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5526         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5527         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5528         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5529         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5530         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5531         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5532         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5533         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5534         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5535         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5536         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5537         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5538         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5539         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5540         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5541         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5542         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5543         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5544         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5545         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5546         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5547         syscall.
5548         (geteuid): Likewise.
5549         (getgid): Likewise.
5550         (getuid): Likewise.
5551         (getresgid): Likewise.
5552         (getresuid): Likewise.
5553         (getgroups): Likewise.
5554         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5555         (geteuid): Likewise.
5556         (getgid): Likewise.
5557         (getuid): Likewise.
5558         (getresgid): Likewise.
5559         (getresuid): Likewise.
5560         (getgroups): Likewise.
5561         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5562         (geteuid): Likewise.
5563         (getgid): Likewise.
5564         (getuid): Likewise.
5565         (getresgid): Likewise.
5566         (getresuid): Likewise.
5567         (getgroups): Likewise.
5568         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5569         Likewise.
5570         (geteuid): Likewise.
5571         (getgid): Likewise.
5572         (getuid): Likewise.
5573         (getresgid): Likewise.
5574         (getresuid): Likewise.
5575         (getgroups): Likewise.
5576         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5577         (geteuid): Likewise.
5578         (getgid): Likewise.
5579         (getuid): Likewise.
5580         (getresgid): Likewise.
5581         (getresuid): Likewise.
5582         (getgroups): Likewise.
5583         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5584         Likewise.
5585         (geteuid): Likewise.
5586         (getgid): Likewise.
5587         (getuid): Likewise.
5588         (getgroups): Likewise.
5590         [BZ #14138]
5591         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5592         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5593         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5594         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5595         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5596         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5597         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5598         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5599         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5600         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5601         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5602         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5603         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5604         __chown.
5605         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5606         (lchown): Likewise.
5607         (fchown): Likewise.
5608         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5609         Likewise.
5610         (lchown): Likewise.
5611         (fchown): Likewise.
5612         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5613         (lchown): Likewise.
5614         (fchown): Likewise.
5615         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5616         Likewise.
5617         (lchown): Likewise.
5618         (fchown): Likewise.
5620 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5622         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5623         Simplify logic.
5625 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5627         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5628         Cleanup logic.
5630 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5632         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5633         Remove unused include.
5635 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5637         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5638         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5639         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5640         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5642 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5643             Helge Deller <deller@gmx.de>
5645         [BZ #17508]
5646         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5647         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5648         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5650 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5652         [BZ #14132]
5653         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5654         Remove macro definition.
5655         (__ashrdi3_v_glibc20): Likewise.
5656         (__lshrdi3_v_glibc20): Likewise.
5657         (__cmpdi2_v_glibc20): Likewise.
5658         (__ucmpdi2_v_glibc20): Likewise.
5659         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5660         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5661         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5662         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5663         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5664         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5666 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5668         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5669         old GNU extension [0] syntax.
5670         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5671         alloca rather than an array member with variable length.
5672         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5673         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5674         (parse_opt): ... here.  Likewise use alloca there.
5675         Validate the -i argument before checking for rootness.
5676         (send_shutdown): New function, broken out of ...
5677         (parse_opt): ... here.
5679 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5681         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5682         macro to get at the _rt_local_ro field.
5683         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5684         ([PIC] case) or _dl_hwcap ([!PIC] case).
5685         * sysdeps/arm/setjmp.S: Likewise.
5687         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5688         * sysdeps/arm/configure.ac: New check to define it.
5689         * sysdeps/arm/configure: Regenerated.
5690         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5691         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5692         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5693         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5694         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5695         Use move/movt pair instead of a load.
5696         (LDST_GLOBAL): Macro removed.
5697         (LDR_GLOBAL): New macro replaces it.
5698         (LDR_HIDDEN): New macro.
5699         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5700         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5702         * setjmp/tst-setjmp-static.c: New file.
5703         * setjmp/Makefile (tests): Add it.
5704         (tests-static): New variable.
5706 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5708         [BZ #17485]
5709         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5711 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5713         [BZ #14132]
5714         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5716 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5718         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5720 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5722         * io/fts.c (dirent_not_directory): New function.
5723         (fts_build): Call it.
5725 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5727         * nptl/version.c (__nptl_main): Use normal __write rather than
5728         INTERNAL_SYSCALL.
5729         (banner): Update copyright years.
5731         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5732         gettimeofday.
5733         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5734         * nptl/pthread_cond_timedwait.c: Likewise.
5735         * nptl/pthread_mutex_timedlock.c: Likewise.
5736         * nptl/sem_timedwait.c: Likewise.
5738         * sysdeps/nptl/bits/libc-lock.h
5739         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5740         (__libc_lock_init_recursive): Return void, not 0.
5741         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5742         (__libc_rwlock_init): Likewise.
5743         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5745 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5747         [BZ #15215]
5748         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5749         (__pthread_once_slow): ... here.
5750         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5751         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5753 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5755         [BZ #15215]
5756         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5757         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5758         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5759         * nptl/pthread_once.c (__pthread_once): Likewise.
5760         Update comments.
5762 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5764         [BZ #14138]
5765         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5766         name.
5767         (writev): Use __libc_writev as strong name.
5768         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5769         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5771 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5773         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5775         * sysdeps/i386/nptl/tls.h
5776         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5777         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5778         New macros.
5779         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5780         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5781         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5782         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5783         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5784         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5786         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5787         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5788         on [__NR_futex].
5789         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5790         broken out of ...
5791         (__pthread_mutex_init): ... here.  Call it.
5792         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5793         Conditionalize PI cases on [__NR_futex].
5794         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5795         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5796         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5798         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5799         conditional on [SIGSETXID].
5800         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5801         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5802         is defined.  Likewise for SIGSETXID.
5803         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5804         Conditionalize definitions on [SIGSETXID].
5805         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5806         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5807         unblocking on [SIGCANCEL].
5809         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5810         [__NR_set_robust_list].
5812 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5814         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5815         (do_compare): Likewise.
5817 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5819         [BZ #15884]
5820         * string/strcoll_l.c: Don't include stdio.h.
5821         (coll_seq): Remove members idxarr and rulearr.
5822         (get_next_seq_cached): Remove function.
5823         (get_next_seq): Likewise.
5824         (get_next_seq_nocache): Rename to get_next_seq.
5825         (do_compare): Remove function.
5826         (do_compare_nocache): Rename to do_compare.
5827         (STRCOLL): Remove weight and rules cache.
5829 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5831         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5832         * sysdeps/arm/sfp-machine.h: ... to here.
5833         * sysdeps/arm/Implies: Remove arm/soft-fp.
5835 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5837         * conform/data/sys/utsname.h-data (*_t): Allow.
5838         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5839         [POSIX] (WEXITED): Do not expect constant.
5840         [POSIX] (WSTOPPED): Likewise.
5841         [POSIX] (WNOHANG): Likewise.
5842         [POSIX] (WNOWAIT): Likewise.
5843         [POSIX] (siginfo_t): Do not expect type or elements.
5844         [POSIX] (pid_t): Do not expect type.
5845         [POSIX] (signal.h): Do not allow header.
5846         [POSIX] (sys/resource.h): Likewise.
5847         [POSIX] (si_*): Do not allow pattern.
5848         [POSIX] (W*): Likewise.
5849         [POSIX] (P_*): Likewise.
5850         [POSIX] (BUS_*): Likewise.
5851         [POSIX] (CLD_*): Likewise.
5852         [POSIX] (FPE_*): Likewise.
5853         [POSIX] (ILL_*): Likewise.
5854         [POSIX] (POLL_*): Likewise.
5855         [POSIX] (SEGV_*): Likewise.
5856         [POSIX] (SI_*): Likewise.
5857         [POSIX] (TRAP_*): Likewise.
5858         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5859         variable.
5861 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5863         [BZ #12926]
5864         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5865         infinite loop when __recvmsg returns 0.
5867 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5869         * CANCEL-FCT-WAIVE: Remove file.
5870         * CANCEL-FILE-WAIVE: Likewise.
5872         [BZ #14132]
5873         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5874         instead of INTVARDEF.
5875         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5876         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5877         rtld_hidden_data_def instead of INTVARDEF.
5878         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5879         * elf/dl-deps.c (expand_dst): Likewise.
5880         * elf/dl-load.c (_dl_dst_count): Likewise.
5881         (_dl_dst_substitute): Likewise.
5882         (decompose_rpath): Likewise.
5883         (_dl_init_paths): Likewise.
5884         (open_path): Likewise.
5885         (_dl_map_object): Likewise.
5886         * elf/rtld.c (dl_main): Likewise.
5887         (process_dl_audit): Likewise.
5888         (process_envvars): Likewise.
5889         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5890         Remove declaration.
5891         (__libc_enable_secure): Use rtld_hidden_proto.
5893 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5895         * elf/dl-load.c
5896         (add_path): New function broken out of _dl_rtld_di_serinfo.
5897         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5899 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5901         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5902         parentheses around macro arguments.
5903         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5904         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5905         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5906         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5907         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5908         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5909         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5910         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5911         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5912         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5913         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5914         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5915         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5916         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5917         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5918         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5919         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5920         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5921         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5922         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5923         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5924         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5925         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5926         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5927         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5928         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5929         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5930         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5931         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5932         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5933         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5934         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5935         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5936         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5937         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5938         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5939         Likewise.
5940         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5941         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5942         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5943         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5944         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5945         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5946         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5947         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5948         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5949         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5950         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5951         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5952         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5953         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5954         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5955         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5956         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5957         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5958         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5959         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5960         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5961         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5962         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5963         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5964         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5965         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5966         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5967         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5968         (_FP_FRAC_SRS_1): Likewise.
5969         (_FP_FRAC_CLZ_1): Likewise.
5970         (_FP_MUL_MEAT_1_imm): Likewise.
5971         (_FP_MUL_MEAT_1_wide): Likewise.
5972         (_FP_MUL_MEAT_1_hard): Likewise.
5973         (_FP_SQRT_MEAT_1): Likewise.
5974         (_FP_FRAC_ASSEMBLE_1): Likewise.
5975         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5976         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5977         (__FP_CLZ_2): Likewise.
5978         (_FP_MUL_MEAT_2_wide): Likewise.
5979         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5980         (_FP_MUL_MEAT_2_gmp): Likewise.
5981         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5982         (_FP_SQRT_MEAT_2): Likewise.
5983         (_FP_FRAC_ASSEMBLE_2): Likewise.
5984         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5985         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5986         (_FP_FRAC_CLZ_4): Likewise.
5987         (_FP_MUL_MEAT_4_wide): Likewise.
5988         (_FP_MUL_MEAT_4_gmp): Likewise.
5989         (_FP_SQRT_MEAT_4): Likewise.
5990         (_FP_FRAC_ASSEMBLE_4): Likewise.
5991         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5992         * soft-fp/op-common.h (_FP_CMP): Likewise.
5993         (_FP_CMP_EQ): Likewise.
5994         (_FP_CMP_UNORD): Likewise.
5995         (_FP_TO_INT): Likewise.
5996         (_FP_FROM_INT): Likewise.
5997         [!__FP_CLZ] (__FP_CLZ): Likewise.
5998         (_FP_DIV_HELP_imm): Likewise.
5999         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6000         Likewise.
6001         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6002         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6003         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6004         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6005         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6006         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6007         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6008         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6009         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6010         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6011         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6012         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6013         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6014         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6015         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6016         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6017         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6018         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6019         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6020         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6021         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6022         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6023         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6024         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6025         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6026         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6027         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6028         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6029         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6030         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6031         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6032         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6033         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6034         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6035         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6036         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6037         (FP_UNPACK_RAW_SP): Likewise.
6038         (FP_PACK_RAW_S): Likewise.
6039         (FP_PACK_RAW_SP): Likewise.
6040         (FP_UNPACK_S): Likewise.
6041         (FP_UNPACK_SP): Likewise.
6042         (FP_UNPACK_SEMIRAW_S): Likewise.
6043         (FP_UNPACK_SEMIRAW_SP): Likewise.
6044         (FP_PACK_S): Likewise.
6045         (FP_PACK_SP): Likewise.
6046         (FP_PACK_SEMIRAW_S): Likewise.
6047         (FP_PACK_SEMIRAW_SP): Likewise.
6048         (_FP_SQRT_MEAT_S): Likewise.
6049         (FP_CMP_S): Likewise.
6050         (FP_CMP_EQ_S): Likewise.
6051         (FP_CMP_UNORD_S): Likewise.
6052         (FP_TO_INT_S): Likewise.
6053         (FP_FROM_INT_S): Likewise.
6055         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6057         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6058         (FP_EX_INVALID_IMZ): Likewise.
6059         (FP_EX_INVALID_IMZ_FMA): Likewise.
6060         (FP_EX_INVALID_ISI): Likewise.
6061         (FP_EX_INVALID_ZDZ): Likewise.
6062         (FP_EX_INVALID_IDI): Likewise.
6063         (FP_EX_INVALID_SQRT): Likewise.
6064         (FP_EX_INVALID_CVI): Likewise.
6065         (FP_EX_INVALID_VC): Likewise.
6066         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6067         "invalid" exceptions.
6068         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6069         (_FP_ADD_INTERNAL): Likewise.
6070         (_FP_MUL): Likewise.
6071         (_FP_FMA): Likewise.
6072         (_FP_DIV): Likewise.
6073         (_FP_CMP_CHECK_NAN): Likewise.
6074         (_FP_SQRT): Likewise.
6075         (_FP_TO_INT): Likewise.
6076         (FP_EXTEND): Likewise.
6078 2014-10-09  Allan McRae  <allan@archlinux.org>
6080         * po/fr.po: Update French translation from translation project.
6082 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6084         [BZ #14132]
6085         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6086         of INTDEF.
6087         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6088         (__cxa_atexit): Use libc_hidden_proto.
6089         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6091         [BZ #14132]
6092         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6093         declaration.
6094         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6095         [!_ISOMAC] (__iswspace_l_internal): Likewise.
6096         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6097         [!_ISOMAC] (__iswctype_internal): Likewise.
6098         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6099         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6100         alias.
6101         (fcntl): Remove __fcntl_internal alias.
6102         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6103         __connect_internal alias.
6104         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6105         Likewise.
6107         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6108         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6109         FP_DENORM_ZERO.
6110         (_FP_CHECK_FLUSH_ZERO): New macro.
6111         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6112         (_FP_CMP): Likewise.
6113         (_FP_CMP_EQ): Likewise.
6114         (_FP_TO_INT): Do not set inexact for subnormal arguments if
6115         FP_DENORM_ZERO.
6116         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6117         (FP_TRUNC): Likewise.
6119         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6120         treated as invalid conversion, not as normal exponent.
6122         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6123         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6124         (_FP_CMP_EQ): Likewise.
6125         (_FP_CMP_UNORD): Likewise.
6126         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6127         (FP_CMP_EQ_D): Likewise.
6128         (FP_CMP_UNORD_D): Likewise.
6129         * soft-fp/extended.h (FP_CMP_E): Likewise.
6130         (FP_CMP_EQ_E): Likewise.
6131         (FP_CMP_UNORD_E): Likewise.
6132         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6133         (FP_CMP_EQ_Q): Likewise.
6134         (FP_CMP_UNORD_Q): Likewise.
6135         * soft-fp/single.h (FP_CMP_S): Likewise.
6136         (FP_CMP_EQ_S): Likewise.
6137         (FP_CMP_UNORD_S): Likewise.
6138         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6139         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6140         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6141         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6142         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6143         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6144         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6145         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6146         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6147         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6148         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6149         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6150         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6151         to FP_CMP_Q.
6152         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6153         FP_CMP_Q.
6154         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6155         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6156         FP_CMP_EQ_Q.
6157         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6158         FP_CMP_Q.
6159         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6160         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6161         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6162         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6163         FP_CMP_EQ_Q.
6164         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6165         FP_CMP_Q.
6166         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6167         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6168         FP_CMP_EQ_Q.
6169         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6170         FP_CMP_Q.
6171         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6172         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6173         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6174         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6175         FP_CMP_EQ_Q.
6177         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6178         a subnormal result, set the underflow exception if trapping on
6179         underflow is enabled.
6180         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6181         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6182         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6183         redefine to 0.
6184         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6185         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6186         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6187         * soft-fp/extendxftf2.c (__extendxftf2): Use
6188         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6190         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6191         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6192         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6193         FP_HANDLE_EXCEPTIONS.
6194         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6195         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6196         FP_HANDLE_EXCEPTIONS.
6197         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6198         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6199         FP_HANDLE_EXCEPTIONS.
6200         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6201         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6202         FP_HANDLE_EXCEPTIONS.
6204 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6206         [BZ #14132]
6207         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6208         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6209         use INTUSE.
6210         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6211         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6212         Remove alias.
6213         (__adjtimex): Define using libc_hidden_ver.
6214         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6215         Remove declaration.
6216         (ntp_gettime): Call __adjtimex directly.
6217         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6218         Remove declaration.
6219         (ntp_gettimex): Call __adjtimex directly.
6220         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6221         __adjtimex_internal alias.
6223 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6225         [BZ #17460]
6226         * nscd/nscd.c (more_help): Rewrite list of tables collection
6227         using xstrdup and asprintf.
6229         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6231 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6232             Roland McGrath  <roland@hack.frob.com>
6234         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6235         (do_lookup_unique): ... local function 'enter' here; update callers.
6237 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6239         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6240         compat_symbol calls on [SHARED].
6241         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6242         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6243         Remove.
6244         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6245         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6246         (oldsetrlimit): Remove.
6247         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6249         (lchown): New syscall entry.
6250         (oldsetrlimit): Remove.
6251         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6252         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6253         (oldsetrlimit): Remove.
6254         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6256         [BZ #14138]
6257         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6258         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6259         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6260         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6261         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6262         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6263         (fchown): Likewise.
6264         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6265         (fchown): Likewise.
6266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6267         Likewise.
6269 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6271         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6272         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6273         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6274         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6275         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6276         Likewise.
6277         (__old_sem_post): Likewise.
6279 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6281         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6282         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6283         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6284         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6285         Use INLINE_VSYSCALL macro.
6286         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6287         __vdso_clock_gettime.
6288         * sysdeps/unix/sysv/linux/tile/init-first.c
6289         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6290         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6291         __vdso_clock_gettime.
6293         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6294         to set up frame more cleanly.
6296         * sysdeps/tile/memcmp.c: New file.
6298         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6300         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6301         * sysdeps/tile/tilegx/strcasestr.c: New file.
6302         * sysdeps/tile/tilegx/strnlen.c: New file.
6303         * sysdeps/tile/tilegx/strstr.c: New file.
6305         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6307 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6309         * nptl/tst-setuid3.c: Write errors to stdout.
6311 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6313         * elf/dl-deps.c
6314         (preload): New functions broken out of _dl_map_object_deps.
6315         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6317 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6319         [BZ #14138]
6320         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6321         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6323 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6325         * sysdeps/mips/strcmp.S: New.
6327 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6329         [BZ #14138]
6330         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6331         (linkat): Likewise.
6332         (mkdirat): Likewise.
6333         (readlinkat): Likewise.
6334         (renameat): Likewise.
6335         (symlinkat): Likewise.
6336         (unlinkat): Likewise.
6337         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6338         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6339         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6340         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6341         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6342         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6343         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6345 2014-09-30  Will Newton  <will.newton@linaro.org>
6347         * math/math.h: Define long double math functions if
6348         _LIBC_TEST is defined.
6349         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6351         * localedata/Makefile: Move assignment to tests-special
6352         into an ifdef testing run-built-tests.
6353         * timezone/Makefile: Likewise.
6355 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6357         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6358         with $(BASH) not $(SHELL).
6360 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6361             Matthew LeGendre  <legendre1@llnl.gov>
6363         [BZ #17411]
6364         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6365         l_reloc_result.
6367 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6369         * stdio-common/printf_fp.c
6370         (hack_digit): New function, broken out of ...
6371         (__printf_fp): ... local function here.  Update call sites.
6372         hack_digit now takes an additional parameter that is a pointer
6373         to a struct of the referenced locals.  Those locals moved inside
6374         the struct and references updated.
6376 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6378         * aclocal.m4: Require autoconf 2.69.
6379         * configure: Regenerated.
6380         * sysdeps/aarch64/configure: Likewise.
6381         * sysdeps/alpha/configure: Likewise.
6382         * sysdeps/arm/armv7/configure: Likewise.
6383         * sysdeps/arm/configure: Likewise.
6384         * sysdeps/ia64/configure: Likewise.
6385         * sysdeps/mach/configure: Likewise.
6386         * sysdeps/mips/configure: Likewise.
6387         * sysdeps/s390/configure: Likewise.
6388         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6391         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6392         file.
6393         * sysdeps/ia64/configure.ac: Likewise.
6395 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6398         specify symbol version for ld.so.  Do not include entry for
6399         libpthread.
6400         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6401         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6402         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6404         [BZ #14171]
6405         * Makeconfig [$(build-shared) = yes]
6406         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6407         makefiles.
6408         [$(build-shared) = yes && $(soversions.mk-done) = t]
6409         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6410         [$(build-shared) = yes && $(soversions.mk-done) = t]
6411         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6412         to Makerules.
6413         [$(build-shared) = yes && $(soversions.mk-done) = t]
6414         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6415         here.
6416         [$(build-shared) = yes && $(soversions.mk-done) = t]
6417         (common-generated): Don't append gnu/lib-names.h and
6418         gnu/lib-names.stmp here.
6419         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6420         (lib-names-h-abi): New variable.
6421         [$(build-shared) = yes && $(soversions.mk-done) = t]
6422         (lib-names-stmp-abi): Likewise.
6423         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6424         abi-variants] (before-compile): Append
6425         $(common-objpfx)$(lib-names-h-abi).
6426         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6427         abi-variants] (common-generated): Append gnu/lib-names.h.
6428         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6429         abi-variants] (install-others-nosubdir): Depend on
6430         $(inst_includedir)/$(lib-names-h-abi).
6431         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6432         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6433         [$(build-shared) = yes && $(soversions.mk-done) = t]
6434         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6435         [$(build-shared) = yes && $(soversions.mk-done) = t]
6436         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6437         [$(build-shared) = yes && $(soversions.mk-done) = t]
6438         (common-generated): Append $(lib-names-h-abi) and
6439         $(lib-names-stmp-abi).
6440         * scripts/lib-names.awk: Do not handle multi being set.
6441         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6442         Remove variable.
6443         (abi-lp64_be-ld-soname): Likewise.
6444         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6445         Likewise.
6446         (abi-hard-ld-soname): Likewise.
6447         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6448         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6449         Remove variable.
6450         (abi-o32_hard-ld-soname): Likewise.
6451         (abi-o32_soft_2008-ld-soname): Likewise.
6452         (abi-o32_hard_2008-ld-soname): Likewise.
6453         (abi-n32_soft-ld-soname): Likewise.
6454         (abi-n32_hard-ld-soname): Likewise.
6455         (abi-n32_soft_2008-ld-soname): Likewise.
6456         (abi-n32_hard_2008-ld-soname): Likewise.
6457         (abi-n64_soft-ld-soname): Likewise.
6458         (abi-n64_hard-ld-soname): Likewise.
6459         (abi-n64_soft_2008-ld-soname): Likewise.
6460         (abi-n64_hard_2008-ld-soname): Likewise.
6461         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6462         Likewise.
6463         (abi-64-v2-ld-soname): Likewise.
6464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6465         ld.so entries.
6466         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6467         variable.
6468         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6469         entry.
6470         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6471         variable.
6472         (abi-64-ld-soname): Likewise.
6473         (abi-x32-ld-soname): Likewise.
6474         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6475         entry.
6476         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6478 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6480         [BZ #14138]
6481         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6482         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6483         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6484         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6485         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6486         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6487         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6488         syscall entry for GLIBC_2.2 symbol version.
6489         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6490         Likewise.
6491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6492         (setrlimit): Likewise.
6493         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6494         Likewise.
6496 2014-09-23  Will Newton  <will.newton@linaro.org>
6498         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6499         _LINUX_ARM_SYSDEP_H include guard too.
6500         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6501         define.
6503 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6505         * sysdeps/unix/sysv/linux/eventfd.c:
6506         Make first argument unsigned.
6507         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6508         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6510 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6512         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6513         * socket/sys/socket.h: Likewise
6514         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6516 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6518         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6520 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6522         * time/tst-ftime.c: New test.
6523         * time/Makefile (tests): Add tst-ftime.
6525 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6527         * soft-fp/extended.h: Fix comment formatting.
6528         * soft-fp/op-1.h: Likewise.
6529         * soft-fp/op-2.h: Likewise.
6530         * soft-fp/op-4.h: Likewise.
6531         * soft-fp/op-8.h: Likewise.
6532         * soft-fp/op-common.h: Likewise.
6533         * soft-fp/soft-fp.h: Likewise.
6535         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6537 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6539         [BZ #6652]
6540         * Makeconfig (soversions-default-setname): Remove variable.
6541         ($(common-objpfx)soversions.i): Don't pass default_setname to
6542         soversions.awk.
6543         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6544         oldest_abi to abi-versions.awk.
6545         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6546         * config.make.in (oldest-abi): Remove variable.
6547         * configure.ac (--enable-oldest-abi): Remove configure option.
6548         * configure: Regenerated.
6549         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6550         text.
6551         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6552         * scripts/soversions.awk: Do not handle default_setname variable.
6553         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6554         variable.
6555         * sysdeps/mach/hurd/configure: Regenerated.
6556         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6557         variable.
6558         * sysdeps/unix/sysv/linux/configure: Regenerated.
6560 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6562         * elf/Makefile (CFLAGS-interp.c): Remove.
6563         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6564         path string.
6565         * elf/interp.c: Include generated runtime-linker.h
6567         * Makerules (lib%.so): Don't include $(+interp) in
6568         prerequisites.
6569         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6570         * dlfcn/eval.c: Remove file.
6572         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6573         macros.
6575         [BZ #17266]
6576         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6577         4.2 and newer.
6579         [BZ #17370]
6580         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6582 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6583             Jakub Jelinek  <jakub@redhat.com>
6585         [BZ #17266]
6586         * libio/stdio.h: Check definition of __fortify_function
6587         instead of __extern_always_inline to include bits/stdio2.h.
6588         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6589         check if __extern_always_inline is defined.
6590         [__USE_MISC || __USE_XOPEN]: Likewise.
6591         [__USE_ISOC99] Likewise.
6592         * misc/sys/cdefs.h (__fortify_function): Define only if
6593         __extern_always_inline is defined.
6594         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6595         __extern_always_inline and __extern_inline only for g++-4.3
6596         and newer or a compatible gcc.
6598 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6600         [BZ #17371]
6601         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6602         last change to handle zero prefix length.
6604 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6606         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6607         _SC_REGEX_VERSION.
6609         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6610         _POSIX_RAW_SOCKETS.
6612 2014-09-13  Allan McRae  <allan@archlinux.org>
6614         * po/ru.po: Update Russian translation from translation project.
6616 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6618         * locale/programs/locale.c (show_locale_vars): Inline local function
6619         into its sole call site.  Clean up some style nits.
6620         (print_item): New function, broken out of ...
6621         (show_info): ... local function here.  Clean up style nits.
6623         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6624         out of ...
6625         (set_class_defaults): ... local function set_default here.
6626         Define set_default as a macro locally to pass constant parameters.
6627         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6628         rather than a shared local.
6630         * stdlib/rpmatch.c (try): New function, broken out of ...
6631         (rpmatch): ... local function here.  Also, prototypify definition.
6633 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6635         * scripts/soversions.awk: Do not handle configuration names.
6636         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6637         vendor and os variables to soversions.awk.
6638         * configure.ac: Do not modify gnu-* host_os.
6639         * configure: Regenerated
6640         * shlib-versions: Remove first column with configuration names.
6641         * nptl/shlib-versions: Likewise.
6642         * nptl_db/shlib-versions: Likewise.
6643         * sysdeps/hppa/shlib-versions: Likewise.
6644         * sysdeps/m68k/shlib-versions: Likewise.
6645         * sysdeps/mach/hurd/shlib-versions: Likewise.
6646         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6647         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6648         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6649         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6650         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6651         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6652         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6653         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6655         Likewise.
6656         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6657         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6658         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6659         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6660         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6661         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6662         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6663         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6666         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6668         Regenerated.
6669         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6671         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6673         * shlib-versions: Remove OS-specific entries.  Moved to files in
6674         sysdeps.
6675         * sysdeps/mach/hurd/shlib-versions: New file.
6676         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6678         * nptl/shlib-versions: Remove architecture-specific entries.
6679         Moved to files in sysdeps.
6680         * shlib-versions: Likewise.
6681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6682         file.
6683         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6684         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6685         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6686         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6688         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6689         (UDP_NO_CHECK6_RX): Likewise.
6691 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6693         * sysdeps/posix/sysconf.c (__sysconf): Spell
6694         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6696 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6698         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6699         loading.
6700         * iconv/Versions (__gconv_transliterate): Export for use from
6701         gconv modules.
6702         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6703         (struct __gconv_trans_data, __gconv_trans_fct,
6704         __gconv_trans_context_fct, __gconv_trans_query_fct,
6705         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6706         definitions.
6707         (struct __gconv_step_data): Remove __trans member.
6708         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6709         longer hidden.  Remove unused trans_data argument.
6710         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6711         (__gconv_translit_find): Remove declaration.
6712         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6713         prototype.
6714         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6715         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6716         trans_data argument.  Add hidden definition.
6717         (__gconv_translit_find): Remove.
6718         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6719         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6720         * iconv/skeleton.c: Remove transliteration initialization.
6721         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6722         __gconv_step_data initialization.
6723         * libio/iofwide.c (__libio_translit_): Remove.
6724         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6725         * wcsmbs/btowc.c (__btowc): Likewise.
6726         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6727         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6728         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6729         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6730         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6731         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6732         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6733         * wcsmbs/wctob.c (wctob): Likewise.
6735 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6737         [BZ #16194]
6738         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6739         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6740         register usage.
6741         * sysdeps/x86/Makefile: Adjust.
6743 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6744             Roland McGrath  <roland@hack.frob.com>
6746         * locale/weight.h: Add include guard.
6747         (findidx): Make static rather than auto; take new parameters
6748         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6749         * locale/weightwc.h: Likewise.
6750         * posix/fnmatch_loop.c
6751         (FCT): Change type of EXTRA from int32_t to wint_t.
6752         Don't include either header inside the function.
6753         Call FINDIDX rather than findidx, and pass new arguments.
6754         #undef FINDIDX at the end of the file.
6755         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6756         FINDIDX before including fnmatch_loop.c for the non-wide version.
6757         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6758         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6759         for the wide version.
6760         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6761         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6762         Pass new arguments to findidx.
6763         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6764         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6765         Don't #include it inside the function.  Pass new arguments to findidx.
6766         * posix/regex_internal.h
6767         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6768         (re_string_elem_size_at): Don't #include it inside the function.
6769         Pass new arguments to findidx.
6770         * string/strcoll_l.c: #include WEIGHT_H at top level.
6771         (get_next_seq): Don't #include it inside the function.
6772         Pass new arguments to findidx.
6773         (get_next_seq_nocache): Likewise.
6774         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6775         (STRXFRM): Don't #include it inside the function.
6776         Pass new arguments to findidx.
6778 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6780         [BZ #17344]
6781         * malloc/malloc.c (unlink): Turn asserts into a call to
6782         malloc_printerr.
6784 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6786         [BZ #17370]
6787         * libio/wfileops (do_ftell_wide): Free OUT.
6789 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6791         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6793 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6795         [BZ #17363]
6796         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6797         group if the current group is empty.
6799 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6801         * benchtests/bench-memset.c (test_main): Add more test from size
6802         from 32 to 512 bytes.
6803         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6804         Add POWER8 memset object.
6805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6806         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6807         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6808         implementation.
6809         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6810         Likewise.
6811         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6812         multiarch POWER8 memset optimization.
6813         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6814         POWER8 memset optimization.
6816         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6817         Remove bzero multiarch objects.
6818         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6820         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6821         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6822         Remove define.
6823         [__bzero]: Redefine to specific name.
6824         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6825         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6826         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6827         define.
6828         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6829         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6831 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6833         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6834         warnings into errors.
6836         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6837         __cxa_thread_atexit_impl prototype.
6839 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6841         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6842         Fix capitalization of error message.
6844 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6846         * sysdeps/mips/preconfigure: Modify ABI tests.
6848 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6850         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6852 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6853             Carlos O'Donell  <carlos@systemhalted.org>
6855         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6856         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6857         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6858         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6859         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6860         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6861         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6862         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6863         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6864         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6865         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6866         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6867         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6868         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6869         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6870         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6871         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6872         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6873         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6874         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6875         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6876         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6877         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6878         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6879         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6880         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6881         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6882         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6883         Deconditionalize the code that was previously under [RESET_PID].
6884         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6885         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6886         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6887         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6888         include sysdep.h.
6890 2014-09-08  Allan McRae  <allan@archlinux.org>
6892         * version.h (RELEASE): Set to "development".
6893         (VERSION): Set to "2.20.90"
6895 2014-09-07  Allan McRae  <allan@archlinux.org
6897         * version.h (RELEASE): Set to "stable".
6898         (VERSION): Set to "2.20"
6899         * include/features.h (__GLIBC_MINOR__): Set to 20.
6901         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6902         Liebler.
6904         * po/ko.po: Update Korean translation from translation project.
6906 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6908         [BZ #17354]
6909         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6910         macro for handling signed relocations.
6912 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6914         [BZ #17325]
6915         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6916         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6917         assert.
6918         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6919         * iconvdata/ibm935.c (BODY): Likewise.
6920         * iconvdata/ibm937.c (BODY): Likewise.
6921         * iconvdata/ibm939.c (BODY): Likewise.
6922         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6923         assert.
6924         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6925         script.
6926         * iconvdata/run-iconv-test.sh: New test loop for checking for
6927         decoder crashers.
6929 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6931         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6932         libm_hidden_ver.
6934 2014-09-01  Allan McRae  <allan@archlinux.org>
6936         * po/eo.po: Update Esperanto translation from translation project.
6938         * po/ca.po: Update Catalan translation from translation project.
6940 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6942         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6943         __proc_dostop call.
6945 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6947         [BZ #17319]
6948         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6949         to call set_thread_area instead of hand written asm.
6950         (__NR_set_thread_area): Removed define.
6951         (TLS_FLAG_WRITABLE): Likewise.
6952         (__ASSUME_SET_THREAD_AREA): Remove check.
6953         (TLS_EBX_ARG): Remove define.
6954         (TLS_LOAD_EBX): Likewise.
6956 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6958         Simplify atomicity of socket creation in bind.
6960         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6961         looking up the name after linking the file.
6963 2014-08-27  Allan McRae  <allan@archlinux.org>
6965         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6967 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6969         [BZ #17187]
6970         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6971         trans_compare, open_translit, __gconv_translit_find):
6972         Remove module loading code.
6974 2014-08-26  Allan McRae  <allan@archlinux.org>
6976         * po/vi.po: Update Vietnamese translation from translation project.
6978         * po/uk.po: Update Ukrainian translation from translation project.
6980         * po/fr.po: Update French translation from translation project.
6982         * po/ru.po: Update Russian translation from translation project.
6984         * po/pl.po: Update Polish translation from translation project.
6986         * po/cs.po: Update Czech translation from translation project.
6988         * po/de.po: Update German translation from translation project.
6990         * po/bg.po: Update Bulgarian translation from translation project.
6992         * po/sv.po: Update Sweedish translation from translation project.
6994         * po/nl.po: Update Dutch translation from translation project.
6996         * po/es.po: Update Spanish translation from translation project.
6998 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7000         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7002         * catgets/Makefile (CPPFLAGS-gencat): Remove.
7003         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7004         (CPPFLAGS-iconvconfig): Likewise.
7005         * timezone/Makefile (CPPFLAGS-zic): Likewise.
7007         * include/libc-symbols.h: Remove unnecessary check for
7008         NOT_IN_libc.
7009         * nptl/pthreadP.h: Likewise.
7010         * sysdeps/aarch64/setjmp.S: Likewise.
7011         * sysdeps/alpha/setjmp.S: Likewise.
7012         * sysdeps/arm/sysdep.h: Likewise.
7013         * sysdeps/i386/setjmp.S: Likewise.
7014         * sysdeps/m68k/setjmp.c: Likewise.
7015         * sysdeps/posix/getcwd.c: Likewise.
7016         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7017         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7018         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7019         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7020         * sysdeps/sh/sh3/setjmp.S: Likewise.
7021         * sysdeps/sh/sh4/setjmp.S: Likewise.
7022         * sysdeps/unix/alpha/sysdep.h: Likewise.
7023         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7024         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7025         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7026         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7029         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7030         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7031         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7032         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7033         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7034         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7036         * sysdeps/x86_64/setjmp.S: Likewise.
7038 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
7040         [BZ #17263]
7041         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7042         <stdint.h>.
7043         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7044         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7046 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7048         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7050         [BZ #17262]
7051         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7052         and __x86_64__ when disabling x87 inline functions.
7054 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7056         [BZ #17259]
7057         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7058         asm statement with __cpuid_count.
7060 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
7062         * configure.ac: Change __ehdr_start code to dereference the struct.
7063         Run readelf on the output to look for relocations.
7064         * configure: Regenerated.
7066 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
7068         [BZ #17261]
7069         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7070         value to 0.
7071         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7073 2014-08-12  Roland McGrath  <roland@hack.frob.com>
7075         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7077 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
7079         [BZ #16892]
7080         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7081         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7083 2014-08-12  Sean Anderson  <seanga2@gmail.com>
7085         * malloc/malloc.c: Fix typo in comment.
7087 2014-08-09  Allan McRae  <allan@archlinux.org>
7089         * Regenerate libc.po.
7091 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
7093         * intl/tst-gettext2.sh: Check every lang file for creation.
7095 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7097         * sysdeps/aarch64/fpu/math_private.h
7098         (libc_feholdsetround_noex_aarch64_ctx): New function.
7100 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7102         * sysdeps/arm/armv6/strcpy.S (strcpy):
7103         Fix performance issue in misaligned cases.
7105 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7107         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7108         Move definition from termios.h.
7109         (struct termio): Likewise.
7110         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7111         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7112         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7113         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7114         Likewise.
7115         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7116         Move definition to ioctl-types.h
7117         (struct termio): Likewise.
7118         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7119         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7120         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7121         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7122         Likewise.
7124 2014-08-05  Richard Henderson  <rth@redhat.com>
7126         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7127         exceptions.
7128         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7129         Add fraiseexcpt.
7130         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7131         Use __feraiseexcept.
7132         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7133         Protect libm symbols with IS_IN_libm.
7135         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7137 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7139         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7141 2014-08-04  Will Newton  <will.newton@linaro.org>
7143         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7144         file.
7146 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7148         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7149         variants for each function.
7151 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7153         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7154         appended ...
7155         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7156         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7157         appended ...
7158         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7159         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7160         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7161         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7162         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7163         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7164         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7165         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7166         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7167         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7168         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7169         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7170         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7171         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7172         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7173         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7174         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7175         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7176         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7177         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7178         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7179         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7180         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7181         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7182         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7183         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7184         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7185         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7186         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7187         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7188         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7189         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7190         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7191         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7192         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7193         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7194         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7195         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7196         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7197         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7198         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7199         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7200         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7201         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7202         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7203         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7204         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7205         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7206         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7207         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7208         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7209         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7210         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7211         Update #include.
7212         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7213         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7215 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7217         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7218         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7219         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7220         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7221         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7222         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7224 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7226         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7227         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7228         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7229         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7231 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7233         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7234         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7235         (__libc_vfork): Define function under this name.
7236         (__vfork): Define as an alias.
7237         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7238         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7240 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7242         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7243         that was previously under [RESET_PID].
7244         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7246 2014-08-04  Andreas Schwab  <schwab@suse.de>
7248         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7250 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7252         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7253         (main): Likewise.
7255 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7257         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7259 2014-08-01  Richard Henderon  <rth@redhat.com>
7261         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7262         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7263         typo in exact zero test.
7264         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7265         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7266         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7268 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7270         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7271         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7272         * sysdeps/arm/sysdep.h: ... here.
7273         [!__ASSEMBLER__]: Include <stdint.h>.
7275 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7277         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7278         (HAVE_WCTYPE_H): Likewise.
7279         (HAVE_ISWCTYPE): Likewise.
7280         (ENABLE_NLS): Likewise.
7281         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7282         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7284         * posix/regex_internal.c: Check if DEBUG is defined and is
7285         set.
7287         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7288         (HAVE_MBSRTOWCS): Likewise.
7289         * posix/fnmatch.c: Include string.h unconditionally.
7291 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7293         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7294         reversal.
7296 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7298         * sysdeps/generic/safe-fatal.h: New file.
7299         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7300         * nptl/forward.c: Include it.
7301         (__pthread_unwind): Use __safe_fatal as default action, rather
7302         than a bogus use of INTERNAL_SYSCALL that could never work.
7304         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7305         * configure.ac (libc_cv_builtin_trap): New test.
7306         * configure: Regenerated.
7307         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7308         (ABORT_INSTRUCTION): Define using __builtin_trap.
7310         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7311         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7312         * sysdeps/nptl/nptl-signals.h: New file.
7313         * nptl/pthreadP.h: Include <nptl-signals.h>.
7315 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7317         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7318         (ONE_DIRECTION): Define.
7319         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7320         (ONE_DIRECTION): Define.
7321         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7322         (ONE_DIRECTION): Define.
7324 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7326         * sysdeps/s390/Makefile: Delete file.
7327         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7328         * sysdeps/s390/__longjmp.c: Delete file.
7329         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7330         Remove fields __flags and __reserved.
7331         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7332         and add versioning.
7333         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7334         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7335         * sysdeps/s390/rtld-setjmp.S: Likewise.
7336         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7337         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7338         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7339         * sysdeps/s390/s390-32/setjmp.S: ... here.
7340         Add versioning.
7341         (__sigsetjmp): Remove setting __flags field.
7342         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7343         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7344         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7345         * sysdeps/s390/s390-64/setjmp.S: ... here.
7346         Add versioning.
7347         (__sigsetjmp): Remove setting __flags field.
7348         * sysdeps/s390/setjmp.S: Delete file.
7349         * sysdeps/s390/sigjmp.c: Likewise.
7350         * sysdeps/s390/v1-longjmp.c: Likewise.
7351         * sysdeps/s390/v1-setjmp.h: Likewise.
7352         * sysdeps/s390/v1-sigjmp.c: Likewise.
7353         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7354         Remove v1-longjmp_chk.
7355         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7356         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7357         Include debug/longjmp_chk.c and add versioning.
7358         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7359         Include nptl/pt-longjmp.c and add versioning.
7360         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7361         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7362         Include __longjmp.c.
7363         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7364         Move to ...
7365         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7366         (__getcontext): Remove setting __flags field.
7367         Add versioning.
7368         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7369         Don't restore upper high grps.
7370         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7371         Likewise.
7372         (__swapcontext): Remove setting uc_flags field.
7373         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7374         Delete file.
7375         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7376         Include __longjmp.c.
7377         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7378         Move to ...
7379         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7380         (__getcontext): Remove setting __flags field.
7381         Add versioning.
7382         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7383         (__swapcontext): Remove setting uc_flags field.
7384         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7385         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7386         Remove fields uc_high_gprs and __reserved.
7387         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7388         New file with reverted content.
7389         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7390         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7391         Regenerated.
7392         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7393         Regenerated.
7395 2014-07-31  Andreas Schwab  <schwab@suse.de>
7397         * config.h.in (HAVE_IFUNC): Define to 0.
7398         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7399         definedness.
7401 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7403         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7404         memmove-avx-unaligned, memcpy-avx-unaligned and
7405         mempcpy-avx-unaligned.
7406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7407         Add tests for AVX memcpy functions.
7408         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7409         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7410         memcpy_chk.
7411         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7412         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7413         memmove_chk.
7414         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7415         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7416         mempcpy_chk.
7417         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7418         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7419         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7421 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7423         [BZ #17213]
7424         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7425         powerpc64le.
7427 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7429         [BZ #16839]
7430         * manual/llio.texi: Add section about open file description locks.
7431         * manual/examples/ofdlocks.c: Example of open file description
7432         lock usage.
7433         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7434         F_OFD_SETLK, and F_OFD_SETLKW.
7436 2014-07-23  Allan McRae  <allan@archlinux.org>
7438         * po/es.po: Update Spanish translation from translation project.
7440 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7442         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7444 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7446         [BZ #17078]
7447         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7448         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7449         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7451 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7453         [BZ #17088]
7454         * math/fesetenv.c (__fesetenv)
7455         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7456         * math/feupdateenv.c (__feupdateenv)
7457         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7459         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7460         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7461         (__ASSUME_SOCKETCALL): Do not define.
7463         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7464         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7465         (__ASSUME_SOCKETCALL): Do not define.
7466         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7467         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7468         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7469         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7470         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7471         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7472         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7473         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7475         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7476         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7477         (__ASSUME_SOCKETCALL): Do not define.
7478         (__ASSUME_IPC64): Define unconditionally.
7479         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7480         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7481         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7482         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7483         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7484         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7485         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7486         Likewise.
7488         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7489         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7490         (__ASSUME_SOCKETCALL): Do not define.
7491         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7492         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7493         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7494         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7495         (__ASSUME_REQUEUE_PI): Define unconditionally.
7496         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7497         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7498         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7499         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7500         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7501         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7503         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7504         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7505         (__ASSUME_SOCKETCALL): Do not define.
7506         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7507         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7508         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7509         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7510         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7511         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7513         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7514         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7515         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7516         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7517         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7518         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7519         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7520         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7521         (__ASSUME_GETCPU_SYSCALL): Likewise.
7523         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7524         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7525         cases for individual architectures.
7526         * sysdeps/gnu/configure: Regenerated.
7527         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7528         LIBC_SLIBDIR_RTLDDIR.
7529         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7530         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7531         LIBC_SLIBDIR_RTLDDIR.
7532         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7534         LIBC_SLIBDIR_RTLDDIR.
7535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7536         Regenerated.
7537         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7538         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7539         file.
7540         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7541         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7542         file.
7543         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7544         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7545         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7546         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7548         * sysdeps/aarch64/shlib-versions: Move to ...
7549         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7550         * sysdeps/alpha/shlib-versions: Move to ...
7551         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7552         * sysdeps/arm/shlib-versions: Move to ...
7553         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7554         * sysdeps/hppa/shlib-versions: Move all contents except for
7555         libgcc_s entry to ...
7556         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7557         entry from ...
7558         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7559         * sysdeps/ia64/shlib-versions: Move to ...
7560         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7561         entry from ...
7562         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7563         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7564         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7565         * sysdeps/microblaze/shlib-versions: Move to ...
7566         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7567         * sysdeps/mips/shlib-versions: Move to ...
7568         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7569         entry from ...
7570         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7571         * sysdeps/tile/shlib-versions: Move to ...
7572         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7573         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7574         from ...
7575         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7576         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7577         entry from ...
7578         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7580 2014-07-17  Will Newton  <will.newton@linaro.org>
7582         * sysdeps/arm/bits/atomic.h
7583         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7584         (__arch_compare_and_exchange_bool_16_int): Likewise.
7585         (__arch_compare_and_exchange_bool_64_int): Likewise.
7587         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7588         into an #else block.
7590 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7592         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7593         just Linux configurations.  Test empirically that the compiler sets
7594         __ARM_EABI__, rather than using the tuple to decide.
7595         * sysdeps/arm/preconfigure: Regenerated.
7596         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7597         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7598         contents appended ...
7599         * sysdeps/arm/configure.ac: ... here.
7600         * sysdeps/arm/configure: Regenerated.
7602 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7604         * nptl/pthread_kill.c: New file.
7605         * nptl/pthread_sigmask.c: New file.
7606         * nptl/pthread_sigqueue.c: New file.
7608         * sysdeps/nptl/lowlevellock.h: New file.
7609         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7610         * sysdeps/nptl/lowlevellock-futex.h: New file.
7612         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7613         Remove dead declarations.
7615 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7617         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7618         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7619         config-cflags-avx2.
7620         * sysdeps/x86_64/configure.ac: Likewise.
7621         * sysdeps/i386/configure: Regenerated.
7622         * sysdeps/x86_64/configure: Likewise.
7623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7624         memset-avx2 only if config-cflags-avx2 is yes.
7625         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7626         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7627         defined.
7628         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7629         only if HAVE_AVX2_SUPPORT is defined.
7630         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7632 2014-07-14  Alan Modra  <amodra@gmail.com>
7634         [BZ #17153]
7635         * elf/elf.h (DT_PPC64_NUM): Correct value.
7636         * NEWS: Add to fixed bug list.
7638 2014-07-13  Jim Meyering  <meyering@fb.com>
7640         [BZ 17150]
7641         regex: don't deref NULL upon heap allocation failure
7642         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7643         failure in one more place.
7644         To trigger the segfault, configure grep -with-included-regex,
7645         build it, and run these commands:
7646         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7648 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7650         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7652 2014-07-11  Richard Henderson  <rth@redhat.com>
7654         * sysdeps/aarch64/libm-test-ulps: Update.
7656 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7658         [BZ #17135]
7659         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7660         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7661         (__nptl_setxid): Initialize error member.  Call
7662         __nptl_setxid_error.
7663         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7664         * nptl/descr.h (struct xid_command): Add error member.
7665         * nptl/tst-setuid3.c: New file.
7666         * nptl/Makefile (tests): Add it.
7668 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7670         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7671         New define.
7672         (__lll_trylock): Use __lll_base_trylock.
7673         (__lll_cond_trylock): Likewise.
7675 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7677         * nptl/pthread_create.c (start_thread): Use atomic_or and
7678         lll_futex_wake directly rather than lll_robust_dead.
7679         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7680         (lll_robust_dead): Macro removed.
7681         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7682         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7683         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7684         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7685         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7686         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7687         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7688         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7689         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7690         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7691         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7692         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7693         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7694         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7695         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7697         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7698         Use atomic_compare_and_exchange_val_acq directly rather than
7699         lll_robust_trylock.
7700         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7701         (__lll_robust_trylock, lll_robust_trylock): Removed.
7702         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7703         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7704         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7705         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7706         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7707         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7708         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7709         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7710         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7711         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7712         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7713         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7714         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7715         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7717 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7719         * manual/locale.texi (Locale Names): New section documenting
7720         locale name syntax.  Adjust menu and node chaining accordingly.
7721         (Choosing Locale): Reference Locale Names, Locale Categories.
7722         Mention setting LC_ALL=C.  Reflect that name syntax is now
7723         documented.
7724         (Locale Categories): New section title.  Reference Locale Names.
7725         LC_ALL is an environment variable, but not a category.
7726         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7727         description, now in Locale Name.  Reference that section.  Locale
7728         name syntax is now documented.
7730 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7732         [BZ #17137]
7733         * locale/findlocale.c (name_present, valid_locale_name): New
7734         functions.
7735         (_nl_find_locale): Use the loc_name variable to store name
7736         candidates.  Call name_present and valid_locale_name to check and
7737         validate locale names.  Return an error if the locale is invalid.
7739 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7741         * locale/setlocale.c (setlocale): Use strdup for allocating
7742         composite name copy.
7744 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7746         Sync up with gnulib.
7747         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7748         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7749         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7750         and _GL_ARG_NONNULL.
7751         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7752         [!_LIBC]: Include code for Windows and Cygwin.
7753         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7754         Include prototype for int strerror_r.
7755         [!_LIBC] (is_open): New function.
7756         (flush_stdout): New function.
7757         (print_errno_message): Use it.
7758         (error): Likewise.
7759         (error_at_line): Likewise.
7760         (error_tail) Add function attribute macros.  Use
7761         __builtin_expect.
7763         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7765         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7767         * io/ftw.c: Include sys/param.h unconditionally.
7769         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7771         [BZ #17125]
7772         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7773         libc_freeres_ptr.
7774         (freecache): New function to free CACHE on exit.
7776         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7777         initialization.
7779 2014-07-09  David S. Miller  <davem@davemloft.net>
7781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7783         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7784         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7785         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7786         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7787         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7788         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7789         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7790         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7791         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7792         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7793         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7794         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7795         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7797 2014-07-09  Andreas Schwab  <schwab@suse.de>
7799         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7800         output.
7801         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7802         (do_test): Likewise.
7804         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7806 2014-07-09  Will Newton  <will.newton@linaro.org>
7808         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7809         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7810         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7811         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7812         * sysdeps/hppa/start.S (_start): Likewise.
7814 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7816         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7818         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7819         defined.
7821 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7823         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7824         after checking that it is non-NULL.
7826         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7828 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7830         * sysdeps/powerpc/memmove.c: Remove file.
7831         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7832         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7833         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7834         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7835         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7836         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7837         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7838         string memmove instead of removed powerpc one.
7840         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7841         [weak_alias]: Fix compiler warning due trailing data.
7842         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7843         [weak_alias]: Likewise.
7844         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7845         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7847         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7848         (__libc_ifunc_impl_list): Add memmove functions.
7850 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7852         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7853         Remove code.
7854         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7855         Likewise
7856         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7857         Likewise
7858         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7859         Likewise
7860         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7861         Likewise
7862         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7863         Likewise
7864         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7865         Likewise
7866         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7867         Likewise
7868         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7869         Likewise
7870         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7871         Likewise
7872         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7873         Likewise
7874         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7875         Likewise
7876         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7877         Likewise
7878         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7879         Likewise
7880         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7881         Likewise
7882         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7883         Likewise
7884         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7885         Likewise
7887 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7889         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7890         to avoid alignment traps in non-cacheable memory.
7891         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7894         multiarch objects.
7895         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7896         file: multiarch power7 memmove.
7897         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7898         multiarch default memmove.
7899         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7900         multiarch memove for powerpc32/power4.
7902         * string/bcopy.c: Use full path to include memmove.c.
7903         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7904         multiarch objects.
7905         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7906         bcopy for powerpc64.
7907         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7908         bcopy for powerpc64.
7909         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7910         and memmove implementations.
7911         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7912         optimized multiarch memmove for POWER7/powerpc64.
7913         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7914         default multiarch memmove for powerpc64.
7915         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7916         multiarch for powerpc64.
7917         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7918         for POWER7/powerpc64.
7919         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7920         memmove for POWER7/powerpc64.
7922         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7923         glibc default one.
7925         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7926         __ELF_NATIVE_CLASS equal to 64.
7928 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7930         * sysdeps/nptl/lowlevellock.h: File removed.
7932         * NEWS: NPTL is no longer an add-on!
7933         * nptl/internaltypes.h: Moved ...
7934         * sysdeps/nptl/internaltypes.h: ... here.
7935         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7936         * sysdeps/nptl/fork.c: Likewise.
7937         * sysdeps/nptl/gai_misc.h: Likewise.
7938         * sysdeps/nptl/librt-cancellation.c: Likewise.
7939         * sysdeps/nptl/jmp-unwind.c: Likewise.
7940         * sysdeps/nptl/setxid.h: Likewise.
7941         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7942         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7943         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7944         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7945         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7946         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7947         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7948         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7949         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7950         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7951         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7952         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7953         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7954         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7955         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7956         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7957         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7958         * nptl/Makeconfig: Moved ...
7959         * sysdeps/nptl/Makeconfig: ... here.
7960         * nptl/configure: File removed.
7961         * nptl/ANNOUNCE: File removed.
7962         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7963         * sysdeps/unix/sysv/linux/configure: Regenerated.
7965         * nptl/Makefile (routines): Add libc_pthread_init,
7966         libc_multiple_threads, register-atfork and unregister-atfork.
7967         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7968         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7969         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7970         pthread-pi-defines.sym, structsem.sym.
7971         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7972         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7973         [$(subdir) = nptl] (tests): Add tst-setgetname.
7974         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7975         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7976         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7977         [!LIBC_SIGACTION]: Remove aliases.
7978         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7979         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7980         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7981         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7982         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7983         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7984         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7985         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7986         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7987         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7988         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7989         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7990         __libc_allocate_rtsig_private.
7991         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7992         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7993         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7994         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7995         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7996         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7997         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7998         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7999         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8000         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8001         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8002         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8003         * nptl/internaltypes.h: ... here.
8004         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8005         * sysdeps/nptl/jmp-unwind.c: ... here.
8006         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8007         * nptl/libc-lowlevellock.c: ... here.
8008         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8009         * nptl/libc_multiple_threads.c: ... here.
8010         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8011         * nptl/libc_pthread_init.c: ... here.
8012         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8013         * nptl/lowlevelbarrier.sym: ... here.
8014         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8015         * nptl/lowlevelcond.sym: ... here.
8016         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8017         * nptl/lowlevellock.c: ... here.
8018         * nptl/lowlevellock.h: Moved ...
8019         * sysdeps/nptl/lowlevellock.h: ... here.
8020         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8021         * nptl/lowlevelrobustlock.c: ... here.
8022         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8023         * nptl/lowlevelrobustlock.sym: ... here.
8024         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8025         * nptl/lowlevelrwlock.sym: ... here.
8026         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8027         * nptl/pt-fork.c: ... here.
8028         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8029         * nptl/pthread-pi-defines.sym: ... here.
8030         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8031         * nptl/pthread_attr_getaffinity.c: ... here.
8032         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8033         * nptl/pthread_attr_setaffinity.c: ... here.
8034         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8035         * nptl/pthread_mutex_cond_lock.c: ... here.
8036         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8037         Update #include.
8038         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8039         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8040         * nptl/pthread_once.c: ... here, replacing old file.
8041         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8042         * nptl/pthread_yield.c: ... here.
8043         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8044         * nptl/register-atfork.c: ... here.
8045         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8046         * nptl/sem_post.c: ... here.
8047         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8048         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8049         * nptl/sem_timedwait.c: ... here.
8050         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8051         * nptl/sem_trywait.c: ... here.
8052         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8053         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8054         * nptl/sem_wait.c: ... here.
8055         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8056         * nptl/structsem.sym: ... here.
8057         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8058         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8059         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8060         * nptl/unregister-atfork.c: ... here.
8061         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8062         * nptl/unwindbuf.sym: ... here.
8063         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8064         * sysdeps/nptl/fork.c: ... here.
8065         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8066         * sysdeps/nptl/fork.h: ... here.
8067         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8068         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8069         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8070         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8071         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8072         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8073         * sysdeps/unix/sysv/linux/getpid.c: ... here.
8074         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8075         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8076         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8077         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8078         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8079         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8080         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8081         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8082         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8083         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8084         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8085         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8086         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8087         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8088         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8089         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8090         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8091         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8092         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8093         * sysdeps/unix/sysv/linux/raise.c: ... here.
8094         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8095         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8096         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8097         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8098         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8099         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8100         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8101         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8102         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8103         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8104         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8105         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8106         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8107         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8108         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8110 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8112         * sysdeps/generic/memcopy.h: Add comment for
8113         MEMCPY_OK_FOR_FWD_MEMMOVE.
8115 2014-07-04  Will Newton  <will.newton@linaro.org>
8117         * string/memchr.c: Merge from gnulib.
8118         [_LIBC]: Remove conditionals.
8119         (__ptr_t): Remove define.
8120         (LONG_MAX_32_BITS): Likewise.
8121         (LONG_MAX): Likewise.
8122         (MEMCHR): Use ANSI prototype and optimize algorithm.
8124         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8126 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8128         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8129         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8131         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8132         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8133         in a bare environment with no <stdlib.h> installed.
8134         * sysdeps/nptl/configure: Regenerated.
8136         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8138         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8139         AC_EGREP_CPP for kernel header checks, so they only succeed if
8140         including <linux/version.h> actually works right.
8141         * sysdeps/unix/sysv/linux/configure: Regenerated.
8143         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8144         value so it's not diagnosed as unused.
8146         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8147         thing) with "ifeq ($(subdir),rt)".
8149 2014-07-03  Richard Henderson  <rth@redhat.com>
8151         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8152         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8153         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8155         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8156         (math_force_eval): New.
8158         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8159         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8161         * sysdeps/alpha/fpu/s_round.c: Remove file.
8162         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8164         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8165         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8166         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8167         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8168         (_dl_start, print_statistics): Likewise.
8169         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8170         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8172         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8173         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8174         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8175         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8176         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8177         (HP_SMALL_TIMING_AVAIL): Define.
8178         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8179         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8180         (HP_SMALL_TIMING_AVAIL): Define.
8181         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8182         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8184         * sysdeps/aarch64/hp-timing.h: New file.
8186         * sysdeps/generic/hp-timing.h: Remove dead comment.
8187         * sysdeps/generic/hp-timing-common.h: New file.
8188         * sysdeps/alpha/hp-timing.h: Include it.
8189         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8190         * sysdeps/i386/i686/hp-timing.h: Likewise.
8191         * sysdeps/ia64/hp-timing.h: Likewise.
8192         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8193         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8194         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8195         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8196         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8197         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8198         (hp_timing_t): New.
8200         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8201         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8202         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8203         * elf/rtld.c (_dl_start_final): Likewise.
8204         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8205         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8206         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8207         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8208         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8209         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8210         (HP_TIMING_DIFF_INIT): Remove.
8211         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8212         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8213         (HP_TIMING_DIFF_INIT): Remove.
8214         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8215         * sysdeps/i386/i686/hp-timing.c: Remove file.
8216         * sysdeps/x86_64/hp-timing.c: Remove file.
8217         * sysdeps/ia64/hp-timing.c: Remove file.
8218         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8219         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8220         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8221         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8223         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8224         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8225         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8226         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8227         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8228         (HP_TIMING_ACCUM): Remove.
8229         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8230         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8231         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8233         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8234         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8235         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8236         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8237         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8238         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8239         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8240         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8242         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8244 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8246         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8248 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8250         Sync up with gettext.
8251         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8252         [_MSC_VER]: Include malloc.h
8253         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8254         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8255         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8256         TEMP_FAILURE_RETRY.  Cast return of alloca.
8257         [!_LIBC] Call gl_rwlock_init.
8258         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8260 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8262         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8263         before checking its value.
8265 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8267         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8269         * debug/memcpy_chk.c: Don't include pagecopy.h.
8270         * debug/mempcpy_chk.c: Likewise.
8271         * string/memcpy.c: Likewise.
8272         * string/memmove.c: Likewise.
8273         * sysdeps/powerpc/memmove.c: Likewise.
8274         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8275         definition of PAGE_COPY_FWD_MAYBE here...
8276         * sysdeps/generic/pagecopy.h: ... from here.
8277         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8279 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8280             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8282         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8283         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8284         optimizations.
8285         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8286         (__libc_ifunc_impl_list): Likewise.
8287         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8288         multiarch strcat for PPC64.
8289         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8290         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8292 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8294         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8296 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8298         * intl/loadmsgcat.c: Remove declaration of
8299         get_sysdep_segment_value.
8300         (get_sysdep_segment_value): Use ISO C style.
8301         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8302         semicolon.  Fix typo and formatting in comment.
8303         (_nl_unload_domain): Use ISO C style.
8305         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8307 2014-07-02  Will Newton  <will.newton@linaro.org>
8309         * malloc/obstack.c: Merge from gnulib master.
8310         [HAVE_CONFIG_H]: Remove conditional code.
8311         [!_LIBC]: Include config.h.
8312         [!ELIDE_CODE]: Don't include inttypes.h, include
8313         stdint.h unconditionally.
8314         (print_and_abort): Mark as _Noreturn.
8315         (_obstack_allocated_p): Mark as __attribute_pure__.
8316         (obstack_free): Rename to __obstack_free.
8317         [!__attribute__]: Remove conditional code.
8318         * malloc/obstack.h: Merge from gnulib master.
8319         [__cplusplus]: Move conditional down.
8320         [!__attribute_pure__]: Define __attribute_pure__ here
8321         if it is not already defined.
8322         (_obstack_memory_used): Mark as __attribute_pure__.
8323         [!__obstack_free]: Define as obstack_free.
8324         [__GNUC__]: Remove check for ancient NeXT gcc.
8326 2014-07-02  Will Newton  <will.newton@linaro.org>
8327             Paul Eggert  <eggert@cs.ucla.edu>
8329         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8331 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8333         * resolv/gethnamaddr.c: Add comment warning that the file is
8334         not maintained.
8336 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8338         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8339         entries.
8341         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8342         entry for aio_cancel and aio_cancel64.
8343         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8344         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8345         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8346         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8347         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8348         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8349         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8350         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8351         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8352         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8353         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8354         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8355         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8357 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8359         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8360         * nptl/pthread_mutex_lock.c: Likewise.
8361         * nptl/pthread_mutex_timedlock.c: Likewise.
8362         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8364 2014-07-01  Richard henderson  <rth@redhat.com>
8366         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8367         (__isnan, __isnanl): Remove.
8368         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8370         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8372 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8374         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8376 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8378         * resolv/nss_dns/dns-host.c (getanswer_r)
8379         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8381 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8383         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8384         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8385         undefine.
8386         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8387         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8389 2014-07-01  Roland McGrath <roland@hack.frob.com>
8391         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8392         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8394         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8395         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8397         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8398         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8399         ... here.
8400         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8401         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8403         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8404         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8405         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8406         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8408         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8409         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8410         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8411         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8412         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8413         Moved ...
8414         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8415         ... here.
8416         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8417         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8418         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8419         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8420         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8421         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8422         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8423         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8424         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8425         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8426         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8427         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8428         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8429         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8430         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8431         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8432         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8433         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8434         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8435         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8436         ... here.
8437         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8438         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8439         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8440         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8441         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8442         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8443         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8444         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8446 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8448         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8449         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8450         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8451         Add sysdep.
8453 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8457 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8459         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8460         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8462         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8464         * sysdeps/arm/libm-test-ulps: Regenerated.
8466 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8467             Roland McGrath <roland@hack.frob.com>
8469         * test-skeleton.c (signal_handler): Kill the whole process group
8470         before killing the child individually.
8471         (main): Report any failure on `setpgid'.
8473 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8475         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8476         from _TLS_H to _ARM_NPTL_TLS_H.
8477         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8478         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8480 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8482         [BZ #16539]
8483         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8484         (__expm1l): Return argument unchanged when small but not
8485         subnormal.
8487         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8488         include macro name.
8489         (_FP_UNPACK_RAW_1_P): Likewise.
8490         (_FP_PACK_RAW_1): Likewise.
8491         (_FP_PACK_RAW_1_P): Likewise.
8492         (_FP_MUL_MEAT_1_wide): Likewise.
8493         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8494         (_FP_MUL_MEAT_1_hard): Likewise.
8495         (_FP_DIV_MEAT_1_imm): Likewise.
8496         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8497         (_FP_DIV_MEAT_1_udiv): Likewise.
8498         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8499         (_FP_UNPACK_RAW_2): Likewise.
8500         (_FP_UNPACK_RAW_2_P): Likewise.
8501         (_FP_PACK_RAW_2): Likewise.
8502         (_FP_PACK_RAW_2_P): Likewise.
8503         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8504         (_FP_MUL_MEAT_2_wide): Likewise.
8505         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8506         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8507         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8508         (_FP_MUL_MEAT_2_gmp): Likewise.
8509         (_FP_DIV_MEAT_2_udiv): Likewise.
8510         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8511         (_FP_FRAC_SRL_4): Likewise.
8512         (_FP_FRAC_SRST_4): Likewise.
8513         (_FP_FRAC_SRS_4): Likewise.
8514         (_FP_UNPACK_RAW_4): Likewise.
8515         (_FP_UNPACK_RAW_4_P): Likewise.
8516         (_FP_PACK_RAW_4): Likewise.
8517         (_FP_PACK_RAW_4_P): Likewise.
8518         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8519         (_FP_MUL_MEAT_4_wide): Likewise.
8520         (_FP_MUL_MEAT_4_gmp): Likewise.
8521         (umul_ppppmnnn): Likewise.
8522         (_FP_DIV_MEAT_4_udiv): Likewise.
8523         (__FP_FRAC_ADD_4): Likewise.
8524         (__FP_FRAC_SUB_3): Likewise.
8525         (__FP_FRAC_SUB_4): Likewise.
8526         (__FP_FRAC_DEC_3): Likewise.
8527         (__FP_FRAC_DEC_4): Likewise.
8528         (__FP_FRAC_ADDI_4): Likewise.
8529         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8530         (_FP_FRAC_SRL_8): Likewise.
8531         (_FP_FRAC_SRS_8): Likewise.
8533         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8534         include macro name.
8535         (FP_UNPACK_RAW_EP): Likewise.
8536         (FP_PACK_RAW_E): Likewise.
8537         (FP_PACK_RAW_EP): Likewise.
8538         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8539         (_FP_ISSIGNAN): Likewise.
8540         (_FP_ADD_INTERNAL): Likewise.
8541         (_FP_FMA): Likewise.
8542         (_FP_CMP): Likewise.
8543         (_FP_SQRT): Likewise.
8544         (_FP_TO_INT): Likewise.
8545         (_FP_FROM_INT): Likewise.
8546         (FP_EXTEND): Likewise.
8547         (_FP_DIV_MEAT_N_loop): Likewise.
8549 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8551         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8552         throughout.
8554 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8556         [BZ #17097]
8557         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8558         result with correct sign in case of exponents that produce
8559         overflow except for X very close to 1.
8561 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8563         mktime: merge #if/#ifdef usage from glibc
8564         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8565         as that works with both Glibc's and Gnulib's style.
8566         See thread starting at Siddhesh Poyarekar's bug report at:
8567         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8569 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8571         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8572         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8573         * sysdeps/tile/tilegx/memmove.c: Remove file.
8575 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8577         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8578         abi-name definition.
8579         * scripts/soversions.awk: Do not handle or generate ABI lines.
8580         * shlib-versions: Remove ABI entries.
8581         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8582         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8584 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8586         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8587         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8588         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8589         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8590         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8591         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8593         Moved ...
8594         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8595         ... here.
8596         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8597         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8598         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8599         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8600         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8601         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8602         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8603         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8604         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8605         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8606         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8607         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8608         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8609         Moved ...
8610         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8611         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8612         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8613         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8614         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8615         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8616         Moved ...
8617         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8618         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8619         Moved ...
8620         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8621         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8622         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8623         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8624         Moved ...
8625         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8626         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8627         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8628         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8629         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8630         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8631         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8632         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8633         Moved ...
8634         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8635         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8636         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8637         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8638         Moved ...
8639         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8640         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8641         Moved ...
8642         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8643         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8644         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8646         Moved ...
8647         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8648         ... here.
8649         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8650         Identical file removed.
8651         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8652         Moved ...
8653         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8654         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8655         Identical file removed.
8656         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8657         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8658         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8659         Moved ...
8660         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8661         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8662         Identical file removed.
8663         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8664         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8665         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8666         Identical file removed.
8667         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8668         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8669         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8670         Identical file removed.
8671         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8672         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8673         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8674         Identical file removed.
8675         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8676         Moved ...
8677         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8678         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8679         Identical file removed.
8680         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8681         Moved ...
8682         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8683         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8684         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8685         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8686         Identical file removed.
8687         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8688         Moved ...
8689         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8690         ... here.
8691         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8692         Identical file removed.
8693         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8694         Moved ...
8695         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8696         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8697         Identical file removed.
8698         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8699         Moved ...
8700         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8701         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8702         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8703         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8704         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8705         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8706         Moved ...
8707         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8708         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8709         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8711         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8712         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8713         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8714         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8715         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8717 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8719         [BZ #17092]
8720         * nscd/nscd.c (monitor_child): Return exit status of child
8721         instead of return value from wait syscall.
8723 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8725         * configure.ac (libc_commonpagesize): Remove variable.
8726         (libc_relro_required): Likewise.
8727         (libc_cv_z_relro): Remove configure test.
8728         * configure: Regenerated.
8729         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8730         variable.
8731         (libc_relro_required): Likewise.
8732         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8733         (libc_relro_required): Likewise.
8734         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8735         (libc_relro_required): Likewise.
8736         * sysdeps/arm/preconfigure: Regenerated.
8737         * sysdeps/ia64/preconfigure: Remove file.
8738         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8739         variable.
8740         (libc_relro_required): Likewise.
8742         [BZ #16561]
8743         [BZ #16562]
8744         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8745         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8746         recompute overflowing results in original rounding mode.
8747         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8748         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8749         recompute overflowing results in original rounding mode.
8750         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8751         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8752         recompute overflowing results in original rounding mode.
8753         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8754         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8755         recompute overflowing results in original rounding mode.
8756         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8757         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8758         recompute overflowing results in original rounding mode.
8759         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8760         (libc_feholdsetround_ctx): New macro.
8761         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8762         * sysdeps/i386/fpu/libm-test-ulps: Update.
8763         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8765 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8767         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8768         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8769         corresponding .cpsetup call.
8771 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8773         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8774         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8775         * sysdeps/arm/Makefile [$(subdir) = csu]
8776         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8777         (static-only-routines): Add aeabi_read_tp here.
8778         (shared-only-routines): Add libc-aeabi_read_tp here.
8779         (CFLAGS-libc-start.c): Add -fexceptions here.
8780         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8781         (sysdep_routines, static-only-routines, shared-only-routines):
8782         Don't add to these here.
8783         (CFLAGS-libc-start.c): Likewise.
8785         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8786         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8787         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8788         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8789         * sysdeps/arm/Makefile [$(subdir) = rt]
8790         (librt-sysdep_routines, librt-shared-only-routines):
8791         Append rt-aeabi_unwind_cpp_pr1 here.
8792         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8793         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8794         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8795         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8796         Append nptl-aeabi_unwind_cpp_pr1 here.
8797         (tests): Filter out tst-cleanupx4 here.
8798         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8799         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8800         Don't do those here.
8802 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8804         * scripts/list-sources.sh: Do not handle ports specially.
8806 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8808         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8809         * sysdeps/arm/feupdateenv.c: Likewise.
8811         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8813 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8815         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8816         trailing whitespace removed.
8817         * scripts/config.guess: Update to version 2014-03-23.
8818         * scripts/config.sub: Update to version 2014-05-01
8819         * scripts/install-sh: Update to version 2013-12-25.23.
8820         * scripts/move-if-change: Update from gnulib.
8822 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8824         * debug/memmove_chk.c: Remove pagecopy.h include.
8826 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8828         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8829         identical to gnulib mktime.
8831 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8833         * configure.ac: Do not test for machine being rs6000.  Do not test
8834         for powerpc*-*soft.
8835         * configure: Regenerated.
8837         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8838         test.
8839         * configure: Regenerated.
8840         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8841         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8842         Remove configure test.
8843         * sysdeps/arm/configure: Regenerated.
8844         * sysdeps/nptl/configure.ac: Do not check
8845         libc_cv_asm_cfi_directives.
8846         * sysdeps/nptl/configure: Regenerated.
8847         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8848         * sysdeps/x86_64/nptl/configure: Remove generated file.
8849         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8850         unconditional.
8851         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8853 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8855         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8856         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8857         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8858         it is defined.
8860         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8861         instead of whether it is defined.
8862         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8863         * sysdeps/hppa/dl-machine.h: Likewise.
8864         * sysdeps/ia64/dl-machine.h: Likewise.
8865         * sysdeps/m68k/dl-machine.h: Likewise.
8866         * sysdeps/microblaze/dl-machine.h: Likewise.
8867         * sysdeps/mips/dl-machine.: Likewise.
8868         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8869         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8870         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8871         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8872         * sysdeps/sh/dl-machine.h: Likewise.
8873         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8874         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8875         * sysdeps/tile/dl-machine.h: Likewise.
8876         * sysdeps/x86_64/dl-machine.h: Likewise.
8878         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8879         code.
8880         (verify_persistent_db): Likewise.
8882 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8885         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8889         Moved ...
8890         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8891         ... here.
8892         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8895         Identical file removed.
8896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8901         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8902         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8903         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8905         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8907         Moved ...
8908         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8910         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8912         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8914         Moved ...
8915         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8917         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8919         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8920         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8921         Identical file removed.
8922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8923         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8925         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8927         Moved ...
8928         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8929         ... here.
8930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8931         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8933         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8935         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8937         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8939         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8941         Moved ...
8942         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8944         Moved ...
8945         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8947         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8949         Moved ...
8950         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8952         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8954         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8955         folded into ...
8956         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8957         * sysdeps/unix/sysv/linux/s390/Versions
8958         (libpthread: GLIBC_2.19): New version set.
8959         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8960         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8961         (librt: GLIBC_2.3.3): New version set.
8962         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8963         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8964         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8965         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8966         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8967         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8968         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8969         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8970         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8971         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8972         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8973         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8974         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8975         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8976         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8977         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8978         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8979         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8980         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8981         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8982         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8983         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8984         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8985         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8986         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8987         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8988         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8990         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8991         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8992         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8993         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8994         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8997         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8998         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8999         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9000         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9001         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9002         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9003         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9004         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9005         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9006         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9008         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9009         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9010         (__libc_vfork): Define the function under this name.
9011         [!NOT_IN_libc] (__vfork): Make this an alias.
9012         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9013         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9014         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9015         (__libc_vfork): Define the function under this name.
9016         [!NOT_IN_libc] (__vfork): Make this an alias.
9017         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9018         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9019         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9020         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9021         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9022         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9024         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9025         code that was previously under [RESET_PID].
9026         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9027         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9030         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9031         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9032         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9033         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9034         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9035         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9036         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9037         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9038         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9039         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9040         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9041         Moved ...
9042         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9043         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9044         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9045         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9046         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9047         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9048         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9049         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9050         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9051         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9052         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9053         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9054         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9055         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9056         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9057         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9058         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9059         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9060         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9061         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9062         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9063         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9064         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9065         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9066         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9067         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9068         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9069         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9070         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9072 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9074         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9075         that was previously under [RESET_PID].
9076         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9078 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9080         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9081         not undefine and redefine.
9082         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9083         [O_CLOEXEC]: Make code unconditional.
9084         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9085         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9086         <kernel-features.h>.
9087         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9088         conditional variable definition.
9089         (shm_open) [O_CLOEXEC]: Make code unconditional.
9090         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9091         code.
9093         * configure.ac (USE_REGPARMS): Don't define here.
9094         * configure: Regenerated.
9095         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9096         * sysdeps/i386/configure: Regenerated.
9098         * nptl/createthread.c: Don't include kernel-features.h.
9099         * nptl/pthread_cancel.c: Likewise.
9100         * nptl/pthread_condattr_setclock.c: Likewise.
9101         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9102         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9103         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9104         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9105         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9106         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9107         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9108         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9109         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9110         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9111         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9112         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9113         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9114         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9115         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9116         * nscd/gai.c: Likewise.
9117         * nss/nss_db/db-open.c: Likewise.
9118         * sysdeps/generic/ldsodefs.h: Likewise.
9119         * sysdeps/sh/nptl/tls.h: Likewise.
9120         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9121         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9122         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9123         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9124         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9125         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9126         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9127         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9128         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9129         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9130         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9131         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9132         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9133         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9134         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9135         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9136         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9137         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9138         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9139         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9140         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9141         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9142         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9143         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9144         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9146         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9148         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9149         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9150         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9151         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9152         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9153         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9154         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9155         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9156         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9157         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9158         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9159         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9160         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9161         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9162         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9163         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9164         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9165         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9166         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9167         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9168         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9169         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9170         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9171         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9172         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9173         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9174         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9175         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9176         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9177         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9200         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9201         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9202         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9203         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9204         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9205         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9206         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9207         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9208         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9209         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9210         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9211         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9212         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9213         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9214         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9215         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9216         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9217         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9218         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9219         * sysdeps/unix/sysv/linux/system.c: Likewise.
9220         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9221         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9222         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9223         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9224         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9225         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9226         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9228         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9229         * configure: Regenerated.
9230         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9232         * configure.ac (base_machine): Do not set specially for particular
9233         machines here.
9234         * configure: Regenerated.
9235         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9236         settings from configure.ac.
9237         * sysdeps/i386/preconfigure: New file.
9238         * sysdeps/s390/preconfigure: Likewise.
9239         * sysdeps/sh/preconfigure: Likewise.
9240         * sysdeps/sparc/preconfigure: Likewise.
9242 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9244         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9245         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9246         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9247         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9248         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9249         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9250         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9251         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9252         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9253         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9254         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9255         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9256         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9257         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9258         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9259         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9260         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9261         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9262         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9264         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9265         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9266         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9267         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9268         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9269         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9270         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9271         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9272         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9273         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9274         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9275         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9276         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9277         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9278         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9279         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9280         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9281         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9282         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9283         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9284         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9285         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9286         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9287         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9288         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9289         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9290         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9291         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9292         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9293         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9294         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9295         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9296         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9297         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9298         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9299         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9300         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9301         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9303         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9304         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9305         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9306         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9307         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9308         Moved ...
9309         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9310         ... here.
9311         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9312         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9314         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9315         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9316         Moved ...
9317         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9318         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9319         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9321         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9322         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9323         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9324         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9325         Moved ...
9326         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9327         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9328         Moved ...
9329         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9330         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9331         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9332         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9333         Moved ...
9334         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9335         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9336         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9337         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9338         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9339         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9340         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9341         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9342         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9343         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9344         Moved ...
9345         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9346         ... here.
9347         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9348         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9349         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9350         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9351         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9352         Moved ...
9353         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9354         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9355         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9356         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9357         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9358         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9359         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9360         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9361         Moved ...
9362         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9363         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9364         Moved ...
9365         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9367         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9368         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9369         Moved ...
9370         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9372         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9374         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9376 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9378         * timezone/checktab.awk: Update from tzcode 2014e.
9379         * timezone/private.h: Likewise.
9380         * timezone/tzfile.h: Likewise.
9381         * timezone/zdump.c: Likewise.
9382         * timezone/zic.c: Likewise.
9384         * sysdeps/unix/sysv/linux/kernel-features.h
9385         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9386         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9387         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9388         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9389         Remove conditional code.
9391 2014-06-25  Will Newton  <will.newton@linaro.org>
9393         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9394         (_dl_arm_cap_flags): Add HWCAP2 values.
9395         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9396         (_DL_HWCAP_COUNT): Increase to 37.
9397         (_DL_HWCAP_LAST): New define.
9398         (_DL_HWCAP2_LAST): New define.
9399         (_dl_procinfo): Add support for printing
9400         AT_HWCAP2 entries.
9401         (_dl_string_hwcap): Use _dl_hwcap_string.
9403 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9407 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9409         * README: Do not mention ports directory.
9411         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9412         Remove macro.
9413         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9414         <kernel-features.h>.
9415         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9416         conditional variable definition.
9417         (__futimes): Update comment.
9418         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9419         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9421         [BZ #16560]
9422         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9423         arguments close to 0.
9424         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9425         Likewise.
9426         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9427         Likewise.
9428         * math/auto-libm-test-in: Add more tests of exp10.
9429         * math/auto-libm-test-out: Regenerated.
9430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9432         * sysdeps/unix/sysv/linux/kernel-features.h
9433         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9434         * sysdeps/unix/sysv/linux/readv.c: Do not include
9435         <kernel-features.h>.
9436         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9437         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9438         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9439         unconditional.
9440         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9441         conditional code.
9442         * sysdeps/unix/sysv/linux/writev.c: Do not include
9443         <kernel-features.h>.
9444         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9445         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9446         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9447         unconditional.
9448         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9449         conditional code.
9451 2014-06-25  Will Newton  <will.newton@linaro.org>
9453         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9454         comment changes throughout the file.  Remove checks
9455         for HAVE_*_H definitions that are not required.
9456         (__gen_tempname): Call abort if an unknown kind value is
9457         passed.
9459 2014-06-25  Andreas Schwab  <schwab@suse.de>
9461         [BZ #17086]
9462         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9463         scalbln, scalblnf, scalblnl in libc.
9465 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9467         [BZ #17086]
9468         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9469         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9470         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9472 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9474         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9475         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9476         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9477         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9478         Update #include.
9479         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9480         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9481         Update #include.
9482         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9483         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9484         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9485         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9486         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9487         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9488         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9489         * sysdeps/x86/bits/semaphore.h: ... here.
9490         * sysdeps/x86/nptl/elide.h: Moved ...
9491         * sysdeps/x86/elide.h: ... here.
9492         * sysdeps/x86_64/nptl/Implies: File removed.
9493         * sysdeps/i386/nptl/Implies: File removed.
9495 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9497         [BZ #16539]
9498         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9499         return the argument for normal arguments with exponent below -64.
9500         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9501         Likewise.
9502         * math/auto-libm-test-in: Add another test of expm1.
9503         * math/auto-libm-test-out: Regenerated.
9505         [BZ #16287]
9506         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9507         calling __erfcl for arguments at least 16.
9508         * math/auto-libm-test-in: Add more tests of erf.
9509         * math/auto-libm-test-out: Regenerated.
9511         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9512         individual architectures.
9513         * sysdeps/unix/sysv/linux/configure: Regenerated.
9514         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9515         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9516         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9517         (ldd_rewrite_script): Define variable.
9518         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9520         file.
9521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9522         generated file.
9523         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9524         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9525         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9526         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9527         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9528         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9529         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9530         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9532 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9534         [BZ #17084]
9535         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9536         Rename member __data.d to __data.__elision_data.
9538 2014-06-24  Wilco  <wdijkstr@arm.com>
9540         * NEWS: Add 16918 to fixed bug list.
9542 2014-06-24  Wilco  <wdijkstr@arm.com>
9544         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9546 2014-06-24  Wilco  <wdijkstr@arm.com>
9548         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9549         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9550         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9551         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9552         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9553         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9554         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9555         Use _FPU_MASK_RM.
9557 2014-06-24  Wilco  <wdijkstr@arm.com>
9559         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9561 2014-06-24  Wilco  <wdijkstr@arm.com>
9563         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9564         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9565         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9566         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9568 2014-06-24  Wilco  <wdijkstr@arm.com>
9570         [BZ #16918]
9571         * sysdeps/arm/feupdateenv.c (feupdateenv):
9572         Rewrite to reduce FPSCR accesses and fix return value.
9574 2014-06-24  Wilco  <wdijkstr@arm.com>
9576         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9577         Optimize to avoid unnecessary FPSCR writes.
9578         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9579         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9580         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9581         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9583 2014-06-24  Wilco  <wdijkstr@arm.com>
9585         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9586         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9587         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9588         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9589         Call libc_fetestexcept_vfp.
9590         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9591         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9592         __SOFTFP__ ifdef so that they can be built for softfp.
9594 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9596         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9597         argument type signed char.
9599         * Makerules (check-abi): Dump diff of symlist if the test
9600         fails.
9602 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9604         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9605         using abort.
9607         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9608         Remove unused variable ST.
9610 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9612         [BZ #16354]
9613         [BZ #17061]
9614         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9615         small arguments before calling __expm1.
9616         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9617         small arguments before calling __expm1f.
9618         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9619         small arguments before calling __expm1l.
9620         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9621         Likewise.
9622         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9623         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9624         spurious underflow for some cosh tests.
9625         * math/auto-libm-test-out: Regenerated.
9626         * sysdeps/i386/fpu/libm-test-ulps: Update.
9628         [BZ #17050]
9629         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9630         (__ieee754_y1): Set errno if return value overflows.
9631         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9632         (__ieee754_y1f): Set errno if return value overflows.
9633         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9634         (__ieee754_y1l): Set errno if return value overflows.
9635         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9636         (__ieee754_y1l): Set errno if return value overflows.
9637         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9638         * math/auto-libm-test-out: Regenerated.
9640         * math/gen-auto-libm-tests.c: Document use of
9641         ignore-zero-inf-sign.
9642         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9643         (input_flags): Add ignore-zero-inf-sign.
9644         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9645         * math/gen-libm-test.pl (generate_testfile): Handle
9646         ignore-zero-inf-sign.
9647         * math/auto-libm-test-in: Mark some cpow tests with
9648         ignore-zero-inf-sign and some with xfail-rounding.
9649         * math/auto-libm-test-out: Regenerated.
9650         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9651         * sysdeps/i386/fpu/libm-test-ulps: Update.
9652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9654         [BZ #16315]
9655         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9656         overflowing or underflowing operations take place with sign of
9657         result.
9658         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9659         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9660         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9661         (__ieee754_pow): Recompute overflowing and underflowing results in
9662         original rounding mode.
9663         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9664         (__powl_helper): Allow negative argument X and scale negated value
9665         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9666         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9667         overflowing or underflowing operations take place with sign of
9668         result.
9669         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9670         Include <math.h>.
9671         * math/auto-libm-test-in: Add more tests of pow.
9672         * math/auto-libm-test-out: Regenerated.
9673         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9674         (pow_tonearest_test_data): Remove.
9675         (pow_test_tonearest): Likewise.
9676         (pow_towardzero_test_data): Likewise.
9677         (pow_test_towardzero): Likewise.
9678         (pow_downward_test_data): Likewise.
9679         (pow_test_downward): Likewise.
9680         (pow_upward_test_data): Likewise.
9681         (pow_test_upward): Likewise.
9682         (main): Don't call removed functions.
9683         * sysdeps/i386/fpu/libm-test-ulps: Update.
9684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9686 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9689         Moved ...
9690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9692         Moved ...
9693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9695         Moved ...
9696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9698         Moved ...
9699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9701         File removed.
9702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9703         File removed.
9704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9705         File removed.
9706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9707         File removed.
9708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9709         File removed.
9710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9711         File removed.
9712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9713         File removed.
9714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9715         File removed.
9716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9717         File removed.
9718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9719         File removed.
9720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9721         File removed.
9722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9723         File removed.
9724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9725         Moved ...
9726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9728         Moved ...
9729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9730         ... here.
9731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9732         Moved ...
9733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9735         Moved ...
9736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9738         Moved ...
9739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9741         Moved ...
9742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9744         Moved ...
9745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9747         Moved ...
9748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9750         Moved ...
9751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9754         ... here.
9755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9756         Moved ...
9757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9759         Moved ...
9760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9761         ... here.
9762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9763         Moved ...
9764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9765         ... here.
9766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9767         Moved ...
9768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9769         ... here.
9770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9771         Moved ...
9772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9774         Moved ...
9775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9779         Moved ...
9780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9781         ... here.
9782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9783         Moved ...
9784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9785         ... here.
9786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9787         Moved ...
9788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9790         Moved ...
9791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9793         Moved ...
9794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9796         Moved ...
9797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9799         Moved ...
9800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9801         ... here.
9802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9803         Moved ...
9804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9806         Moved ...
9807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9809         Moved ...
9810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9812         Moved ...
9813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9817         Moved ...
9818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9820         Moved ...
9821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9823         Moved ...
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9825         ... here.
9826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9827         Moved ...
9828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9829         ... here.
9830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9831         Moved ...
9832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9833         ... here.
9834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9835         Moved ...
9836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9838         Moved ...
9839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9841         Moved ...
9842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9844         Moved ...
9845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9846         ... here.
9847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9848         Moved ...
9849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9850         ... here.
9851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9852         Moved ...
9853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9854         ... here.
9855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9856         Moved ...
9857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9859         Moved ...
9860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9862 2014-06-23  Will Newton  <will.newton@linaro.org>
9863             Wilco  <wdijkstr@arm.com>
9865         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9866         implementation.  Include get-rounding-mode.h.
9867         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9868         [!libc_feholdsetround_noex_ctx]: Define
9869         libc_feholdsetround_noex_ctx.
9870         [!libc_feholdsetround_noexf_ctx]: Define
9871         libc_feholdsetround_noexf_ctx.
9872         [!libc_feholdsetround_noexl_ctx]: Define
9873         libc_feholdsetround_noexl_ctx.
9874         (libc_feholdsetround_ctx): New function.
9875         (libc_feresetround_ctx): New function.
9876         (libc_feholdsetround_noex_ctx): New function.
9877         (libc_feresetround_noex_ctx): New function.
9879 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9881         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9882         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9883         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9884         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9885         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9886         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9888         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9889         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9890         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9891         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9892         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9893         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9894         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9895         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9896         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9897         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9898         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9899         Moved ...
9900         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9901         ... here.
9902         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9903         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9904         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9905         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9906         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9907         Moved ...
9908         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9909         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9910         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9911         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9912         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9913         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9914         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9915         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9916         Moved ...
9917         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9918         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9919         Moved ...
9920         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9921         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9922         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9923         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9924         Moved ...
9925         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9926         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9927         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9928         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9929         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9930         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9931         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9932         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9933         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9934         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9935         Moved ...
9936         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9937         ... here.
9938         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9939         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9940         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9941         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9942         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9943         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9944         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9945         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9946         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9947         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9948         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9949         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9950         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9951         Moved ...
9952         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9953         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9954         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9955         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9956         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9957         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9958         Moved ...
9959         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9960         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9961         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9962         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9963         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9965         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9966         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9967         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9968         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9969         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9970         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9971         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9972         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9973         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9974         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9975         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9976         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9977         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9978         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9979         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9980         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9981         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9982         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9983         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9984         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9985         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9986         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9987         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9988         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9989         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9990         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9991         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9992         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9994 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9997         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9998         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9999         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10000         (IPV6_PMTUDISC_INTERFACE): Likewise.
10001         (IPV6_PMTUDISC_OMIT): Likewise.
10003 2014-06-23  Andreas Schwab  <schwab@suse.de>
10005         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10006         Remove unused errout label.
10008 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10010         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10011         macro: hardware supports Vector Crypto instructions.
10013 2014-06-23  Will Newton  <will.newton@linaro.org>
10015         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10016         rather than __builtin_expect.
10018         * elf/dl-lookup.c (undefined_msg): Remove variable.
10019         (_dl_lookup_symbol_x): Replace undefined_msg with string
10020         literal.
10022         * elf/dl-lookup.c (do_lookup_unique): New function.
10023         (do_lookup_x): Move STB_GNU_UNIQUE handling code
10024         to a separate function.
10026 2014-06-23  Andreas Schwab  <schwab@suse.de>
10028         [BZ #17079]
10029         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10030         before reading the next line.
10032 2014-06-23  Will Newton  <will.newton@linaro.org>
10034         * test-skeleton.c (signal_handler): Use printf and %m
10035         rather than perror.  Use printf rather than fprintf to
10036         stderr.  Use puts rather than fputs to stderr.
10037         (main): Likewise.
10039 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
10041         * nscd/nscd.c (thread_info_t): Remove typedef.
10042         (thread_info): Remove variable.
10044 2014-06-21  Allan McRae  <allan@archlinux.org>
10046         * NEWS: Mention CVE-2014-4043.
10048 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10050         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10051         * nptl/smp.h: ... here.
10053         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10055         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10056         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10057         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10058         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10060         * nptl/allocatestack.c: Include <stack-aliasing.h>.
10061         * nptl/stack-aliasing.h: New file.
10062         * sysdeps/i386/i686/stack-aliasing.h: New file.
10063         * sysdeps/i386/i686/nptl/Makefile: File removed.
10064         * sysdeps/x86_64/stack-aliasing.h: New file.
10065         * sysdeps/x86_64/nptl/Makefile
10066         (CFLAGS-pthread_create.c): Variable removed.
10068         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10069         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10070         old file.
10071         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10072         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10073         old file.
10075 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
10077         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10078         (__ASSUME_SIGFRAME_V2): Remove macro.
10079         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10080         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10081         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10082         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10083         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10084         Declare as function.  Remove conditional macro definitions.
10085         (__default_rt_sa_restorer): Likewise.
10086         (__default_sa_restorer_v1): Remove declaration.
10087         (__default_sa_restorer_v2): Likewise.
10088         (__default_rt_sa_restorer_v1): Likewise.
10089         (__default_rt_sa_restorer_v2): Likewise.
10090         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10091         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10092         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10094 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10096         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10097         (libpthread-routines): Add sysdep.
10098         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10099         * sysdeps/unix/sysv/linux/sparc/Versions
10100         (libpthread: GLIBC_2.3.3): New version set.
10101         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10102         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10103         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10104         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10105         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
10106         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10107         Moved ...
10108         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10109         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10110         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10111         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10112         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10113         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10114         * sysdeps/sparc/nptl/sem_init.c: ... here.
10115         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10116         * sysdeps/sparc/nptl/sem_post.c: ... here.
10117         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10118         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10119         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10120         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10121         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10122         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10123         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10124         (libpthread-routines): Add cpu_relax.
10125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10126         File removed.
10127         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10128         (librt: GLIBC_2.3.3): New version set.
10129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10130         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10131         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10132         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10134         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10135         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10137         Moved ...
10138         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10140         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10142         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10144         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10145         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10146         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10147         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10148         Moved ...
10149         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10150         Update #include.
10151         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10152         Moved ...
10153         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10154         Update #include.
10155         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10156         Moved ...
10157         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10158         Update #include.
10159         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10160         Moved ...
10161         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10162         Update #include.
10163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10164         Moved ...
10165         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10166         Update #include.
10167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10168         Moved ...
10169         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10170         Update #include.
10171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10172         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10173         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10174         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10175         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10178         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10180         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10182         Moved ...
10183         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10184         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10185         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10186         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10187         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10189 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10191         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10192         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10193         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10194         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10195         * nscd/nscd.c: Likewise.
10196         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10197         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10198         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10199         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10201         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10202         <kernel-features.h>.
10203         (init_mq_netlink): Remove conditional have_sock_cloexec
10204         definitions.  Remove code conditional on have_sock_cloexec < 0.
10205         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10206         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10207         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10208         <kernel-features.h>.
10209         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10210         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10212 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10215         Add tests for memset_chk and memset.
10217         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10218         with AVX2_Usable.
10220 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10222         [BZ #16046]
10223         * elf/tst-dl-iter-static.c: New file.
10224         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10226         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10227         error.
10229 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10231         * sysdeps/unix/sysv/linux/kernel-features.h
10232         (__ASSUME_F_GETOWN_EX): Remove macro.
10233         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10234         <kernel-features.h>.
10235         (miss_F_GETOWN_EX): Remove variable or macro.
10236         (do_fcntl): Do not check miss_F_GETOWN_EX.
10237         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10239         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10240         Remove macro.
10241         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10242         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10243         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10245         * sysdeps/unix/sysv/linux/kernel-features.h
10246         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10247         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10248         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10249         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10251 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10253         [BZ #17075]
10254         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10255         Fix calculation of the symbol's value.
10256         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10257         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10258         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10259         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10260         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10261         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10262         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10263         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10264         (modules-names): Add `tst-armtlsdescmod',
10265         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10266         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10267         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10268         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10269         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10270         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10271         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10272         ($(objpfx)tst-armtlsdescloc): New dependency.
10273         ($(objpfx)tst-armtlsdescextnow): Likewise.
10274         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10275         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10276         TLS scheme support.
10277         * sysdeps/arm/configure: Regenerate.
10279 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10281         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10282         (__atfct_seterrno_2): Likewise.
10283         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10284         <kernel-features.h>.
10285         (__ASSUME_ATFCTS): Do not undefine and redefine.
10286         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10287         (__have_atfcts): Remove conditional definition.
10288         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10289         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10290         unreachable if [__ASSUME_ATFCTS].
10291         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10292         not undefine and redefine.
10293         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10294         <kernel-features.h>.
10295         (faccessat) [__NR_faccessat]: Make code unconditional.
10296         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10297         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10298         <kernel-features.h>.
10299         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10300         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10301         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10302         <kernel-features.h>.
10303         (fchownat) [__NR_fchownat]: Make code unconditional.
10304         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10305         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10306         <kernel-features.h>.
10307         (futimesat) [__NR_futimesat]: Make code unconditional.
10308         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10309         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10310         <kernel-features.h>.
10311         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10312         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10313         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10314         <kernel-features.h>.
10315         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10316         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10317         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10318         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10319         <kernel-features.h>.
10320         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10321         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10322         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10323         <kernel-features.h>.
10324         (linkat) [__NR_linkat]: Make code unconditional.
10325         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10326         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10327         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10328         <kernel-features.h>.
10329         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10330         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10331         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10332         <kernel-features.h>.
10333         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10334         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10335         * sysdeps/unix/sysv/linux/openat.c: Do not include
10336         <kernel-features.h>.
10337         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10338         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10339         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10340         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10341         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10342         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10343         <kernel-features.h>.
10344         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10345         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10346         result of INLINE_SYSCALL directly, not via int variable.
10347         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10348         <kernel-features.h>.
10349         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10350         (renameat) [__NR_renameat]: Make code unconditional.
10351         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10352         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10353         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10354         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10355         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10356         (__ASSUME_ATFCTS): Do not undefine and redefine.
10357         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10358         <kernel-features.h>.
10359         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10360         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10361         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10362         <kernel-features.h>.
10363         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10364         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10365         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10366         (__ASSUME_ATFCTS): Do not undefine and redefine.
10367         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10368         <kernel-features.h>.
10369         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10370         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10371         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10372         <kernel-features.h>.
10373         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10374         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10376 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10378         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10380 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10382         [BZ #17069]
10383         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10384         constructed tree before returning error.
10385         * posix/bug-regexp36.c: Expand test case.
10387 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10389         [BZ #6803]
10390         * math/libm-test.inc (scalbln_test_date):
10391         Add errno expectations.
10392         * math/w_scalblnf.c: New File.
10393         Add wrapper which checks for setting errno to ERANGE.
10394         Add weak_alias for corresponding scalbln function.
10395         * math/w_scalbln.c: Likewise.
10396         * math/w_scalblnl.c: Likewise.
10397         * math/Makefile (libm-calls): Add w_scalbln.
10398         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10399         Remove weak_alias for corresponding scalbln function.
10400         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10401         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10402         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10403         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10404         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10405         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10406         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10407         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10408         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10409         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10410         Remove long_double_symbol for scalblnl function in libm, libc.
10411         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10412         Add wrapper which checks for setting errno to ERANGE.
10413         Add long_double_symbol for scalblnl function in libm, libc.
10414         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10415         Remove long_double_symbol for scalblnl in libm.
10416         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10417         Add wrapper which checks for setting errno to ERANGE.
10418         Add long_double_symbol for scalblnl function in libm.
10419         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10420         Do not use wrapper because of own implementation.
10422 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10424         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10425         3 bytes for __pad1 for x32.
10426         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10428 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10429             H.J. Lu  <hongjiu.lu@intel.com>
10431         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10432         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10433         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10434         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10435         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10437 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10439         [BZ #17069]
10440         * posix/regcomp.c (parse_expression): Deallocate partially
10441         constructed tree before returning error.
10442         * posix/Makefile.c (tests): Add bug-regex36.
10443         (generated): Add bug-regex36.mtrace.
10444         (tests-special): Add $(objpfx)bug-regex36-mem.out
10445         (bug-regex36-ENV): New variable.
10446         ($(objpfx)bug-regex36-mem.out): New rule.
10447         * posix/bug-regex36.c: New file.
10449 2014-06-19  Will Newton  <will.newton@linaro.org>
10451         * malloc/malloc.c (systrim): If extra is zero then return
10452         early.
10454 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10456         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10458 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10460         * sysdeps/aarch64/strchr.S: New file.
10462 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10464         [BZ #17022]
10465         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10466         from arguments -2 or below.
10467         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10468         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10470 2014-06-18  Andreas Schwab  <schwab@suse.de>
10472         [BZ #17062]
10473         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10474         of a bracket expr not to run off the end of the string.
10475         * posix/Makefile (tests): Add tst-fnmatch3.
10476         * posix/tst-fnmatch3.c: New file.
10478 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10480         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10481         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10482         [$(cross-compiling) = no]: Likewise.
10483         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10484         [$(cross-compiling) = no]: Likewise.
10486 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10488         [BZ #17031]
10489         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10490         double, adjusted for any remainder from the high double.
10491         * math/libm-test.inc (nearbyint): Add tests.
10492         (rint): Likewise.
10494 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10496         * nptl/sysdeps/powerpc/Makefile: Moved ...
10497         * sysdeps/powerpc/nptl/Makefile: ... here.
10498         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10499         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10500         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10501         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10502         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10503         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10504         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10505         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10506         * nptl/sysdeps/powerpc/tls.h: Moved ...
10507         * sysdeps/powerpc/nptl/tls.h: ... here.
10509 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10511         [BZ #16681]
10512         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10513         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10514         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10515         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10516         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10517         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10518         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10519         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10520         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10522 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10524         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10526 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10528         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10529         defined operator.
10531         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10532         $TIMEOUTFACTOR.
10534 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10536         [BZ #17058]
10537         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10538         non-executed part of the test.
10540 2014-06-16  Andreas Schwab  <schwab@suse.de>
10542         * string/bits/string2.h (strdup, strndup): Update feature guard.
10544 2014-06-14  David S. Miller  <davem@davemloft.net>
10546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10548 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10550         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10551         that was previously under [RESET_PID].
10552         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10554         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10555         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10556         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10557         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10558         (__libc_vfork): New strong alias.
10559         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10561 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10563         * sysdeps/generic/elide.h: New file.
10565 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10567         * Makefile (installed-headers): Adjust path of pthread.h header.
10569 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10571         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10572         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10573         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10574         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10576         * nptl/sysdeps/s390/Makefile: Moved ...
10577         * sysdeps/s390/nptl/Makefile: ... here.
10578         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10579         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10580         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10581         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10582         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10583         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10584         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10585         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10586         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10587         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10588         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10589         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10590         * nptl/sysdeps/s390/tls.h: Moved ...
10591         * sysdeps/s390/nptl/tls.h: ... here.
10593         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10594         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10596 2014-06-13  David S. Miller  <davem@davemloft.net>
10598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10601         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10603         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10605         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10606         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10607         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10608         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10609         Remove RESET_PID cpp guards.
10610         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10611         Remove RESET_PID cpp guards.
10612         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10614 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10616         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10617         __sp to uintptr_t.
10619 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10621         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10622         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10623         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10624         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10625         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10626         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10627         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10628         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10629         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10630         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10631         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10632         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10633         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10634         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10635         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10636         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10637         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10638         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10639         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10640         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10642         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10643         (pthread_rwlock_rdlock): Add elision.
10644         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10645         (pthread_rwlock_wrlock): Add elision.
10646         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10647         (pthread_rwlock_trywrlock): Add elision.
10648         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10649         (pthread_rwlock_tryrdlock): Add elision.
10650         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10651         (pthread_rwlock_tryrdlock): Add elision unlock.
10652         * nptl/sysdeps/pthread/pthread.h:
10653         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10654         (PTHREAD_RWLOCK_INITIALIZER,
10655         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10656         Handle new elision field.
10657         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10658         * sysdeps/arm/nptl/bits/pthreadtypes.h
10659         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10660         * sysdeps/sh/nptl/bits/pthreadtypes.h
10661         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10662         * sysdeps/tile/nptl/bits/pthreadtypes.h
10663         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10664         * sysdeps/a/nptl/bits/pthreadtypes.h
10665         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10666         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10667         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10668         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10669         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10670         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10671         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10672         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10673         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10674         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10675         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10676         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10677         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10678         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10679         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10680         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10681         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10682         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10683         (elision_init): Set try_xbegin to zero when no RTM.
10684         * sysdeps/x86/nptl/bits/pthreadtypes.h
10685         (pthread_rwlock_t): Change __pad1 to __rwelision.
10686         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10688 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10690         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10691         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10692         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10693         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10695 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10697         [BZ #16996]
10698         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10699         that the cached result has been set before returning it.
10701 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10703         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10704         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10705         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10706         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10707         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10708         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10710         * nptl/sysdeps/sparc/Makefile: Moved ...
10711         * sysdeps/sparc/nptl/Makefile: ... here.
10712         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10713         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10714         * nptl/sysdeps/sparc/tls.h: Moved ...
10715         * sysdeps/sparc/nptl/tls.h: ... here.
10716         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10717         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10718         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10719         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10720         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10721         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10722         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10723         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10724         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10725         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10726         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10727         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10728         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10729         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10730         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10731         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10732         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10733         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10734         Update #include.
10735         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10736         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10737         Update #include.
10738         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10739         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10740         Update #include.
10741         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10742         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10743         Update #include.
10745         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10747         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10748         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10750         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10751         (struct list_links): Type removed.
10752         (struct thread_node, struct timer_node): Replace struct list_links
10753         with struct list_head.
10754         (list_unlink_ip): Likewise.
10755         * sysdeps/pthread/timer_routines.c
10756         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10757         (list_append, list_insbefore): Likewise.
10758         (list_init): Function removed.
10759         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10760         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10761         * sysdeps/pthread/Makefile: ... here, new file.
10763         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10764         * sysdeps/nptl/Implies: ... here.
10765         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10766         * nptl/sysdeps/pthread/list.h: Moved ...
10767         * include/list.h: ... here.
10768         * nptl/sysdeps/pthread/createthread.c: Moved ...
10769         * nptl/createthread.c: ... here.
10770         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10771         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10772         * nptl/pt-longjmp.c: ... here.
10773         * nptl/sysdeps/pthread/Makefile: Moved ...
10774         * sysdeps/nptl/Makefile: ... here.
10775         * nptl/sysdeps/pthread/Subdirs: Moved ...
10776         * sysdeps/nptl/Subdirs: ... here.
10777         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10778         * sysdeps/nptl/aio_misc.h: ... here.
10779         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10780         * sysdeps/nptl/bits/libc-lock.h: ... here.
10781         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10782         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10783         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10784         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10785         * nptl/sysdeps/pthread/configure: Moved ...
10786         * sysdeps/nptl/configure: ... here.
10787         * nptl/sysdeps/pthread/configure.ac: Moved ...
10788         * sysdeps/nptl/configure.ac: ... here.
10789         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10790         * sysdeps/nptl/gai_misc.h: ... here.
10791         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10792         * sysdeps/nptl/librt-cancellation.c: ... here.
10793         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10794         * sysdeps/nptl/malloc-machine.h: ... here.
10795         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10796         * sysdeps/nptl/pthread-functions.h: ... here.
10797         * nptl/sysdeps/pthread/pthread.h: Moved ...
10798         * sysdeps/nptl/pthread.h: ... here.
10799         * nptl/sysdeps/pthread/setxid.h: Moved ...
10800         * sysdeps/nptl/setxid.h: ... here.
10801         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10802         * sysdeps/nptl/sigfillset.c: ... here.
10803         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10804         * sysdeps/nptl/tcb-offsets.h: ... here.
10805         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10806         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10807         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10808         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10809         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10810         * sysdeps/pthread/allocalim.h: ... here.
10811         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10812         * sysdeps/pthread/bits/sigthread.h: ... here.
10813         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10814         * sysdeps/pthread/flockfile.c: ... here.
10815         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10816         * sysdeps/pthread/ftrylockfile.c: ... here.
10817         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10818         * sysdeps/pthread/funlockfile.c: ... here.
10819         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10820         * sysdeps/pthread/posix-timer.h: ... here.
10821         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10822         * sysdeps/pthread/timer_create.c: ... here.
10823         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10824         * sysdeps/pthread/timer_delete.c: ... here.
10825         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10826         * sysdeps/pthread/timer_getoverr.c: ... here.
10827         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10828         * sysdeps/pthread/timer_gettime.c: ... here.
10829         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10830         * sysdeps/pthread/timer_routines.c: ... here.
10831         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10832         * sysdeps/pthread/timer_settime.c: ... here.
10833         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10834         * sysdeps/pthread/tst-timer.c: ... here.
10835         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10836         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10838         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10839         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10841         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10842         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10843         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10844         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10845         Update #include target.
10846         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10847         * sysdeps/i386/i686/nptl/Makefile: ... here.
10848         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10849         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10850         Update #include target.
10851         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10852         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10853         * nptl/sysdeps/i386/Makefile: Moved ...
10854         * sysdeps/i386/nptl/Makefile: ... here.
10855         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10856         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10857         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10858         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10859         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10860         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10861         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10862         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10863         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10864         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10865         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10866         * nptl/sysdeps/i386/tls.h: Moved ...
10867         * sysdeps/i386/nptl/tls.h: ... here.
10869         * sysdeps/sh/Makefile [$(subdir) = csu]
10870         (gen-as-const-headers): Add tcb-offsets.sym.
10871         * nptl/sysdeps/sh/Makefile: File removed.
10872         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10873         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10874         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10875         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10876         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10877         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10878         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10879         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10880         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10881         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10882         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10883         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10884         * nptl/sysdeps/sh/tls.h: Moved ...
10885         * sysdeps/sh/nptl/tls.h: ... here.
10886         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10887         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10888         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10889         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10890         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10891         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10892         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10893         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10894         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10895         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10896         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10897         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10898         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10899         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10900         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10901         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10902         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10903         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10904         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10905         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10906         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10907         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10908         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10909         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10910         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10911         Moved ...
10912         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10913         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10914         Moved ...
10915         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10916         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10917         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10918         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10919         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10920         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10921         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10922         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10923         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10924         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10925         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10926         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10927         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10928         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10929         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10930         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10931         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10932         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10933         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10935 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10937         * posix/spawn_faction_addopen.c: Include string.h.
10939 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10941         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10942         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10943         * nptl/sysdeps/x86_64/Makefile: Moved ...
10944         * sysdeps/x86_64/nptl/Makefile: ... here.
10945         * nptl/sysdeps/x86_64/configure: Moved ...
10946         * sysdeps/x86_64/nptl/configure: ... here.
10947         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10948         * sysdeps/x86_64/nptl/configure.ac: ... here.
10949         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10950         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10951         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10952         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10953         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10954         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10955         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10956         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10957         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10958         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10959         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10960         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10961         * nptl/sysdeps/x86_64/tls.h: Moved ...
10962         * sysdeps/x86_64/nptl/tls.h: ... here.
10963         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10964         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10965         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10966         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10968         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10970 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10974 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10976         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10977         type.
10978         [POSIX] (off_t): Likewise.
10979         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10980         [POSIX] (S_ISBLK): Require macro.
10981         [POSIX] (S_ISCHR): Likewise.
10982         [POSIX] (S_ISDIR): Likewise.
10983         [POSIX] (S_ISFIFO): Likewise.
10984         [POSIX] (S_ISREG): Likewise.
10985         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10986         optional-macro.
10987         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10988         type.
10989         [POSIX] (time_t): Likewise.
10990         [POSIX] (timer_t): Likewise.
10992 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10994         [BZ #17048]
10995         * posix/spawn_int.h (struct __spawn_action): Make the path string
10996         non-const to support deallocation.
10997         * posix/spawn_faction_addopen.c
10998         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10999         * posix/spawn_faction_destroy.c
11000         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
11001         path in all spawn_do_open actions.
11002         * posix/tst-spawn.c (do_test): Exercise the copy operation in
11003         posix_spawn_file_actions_addopen.
11005 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
11007         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11008         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11009         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11010         conditional code always true.
11011         (__libc_vfork): New alias.
11013 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11015         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11016         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11018         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11020         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11021         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11023         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11024         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11026         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11027         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11029 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11031         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11032         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11033         multiarch strcmp for PPC64.
11034         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11035         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11037         multiarch optimizations.
11038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11039         (__libc_ifunc_impl_list): Likewise.
11041 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11043         * benchtests/scripts/validate_benchout.py: New script.
11044         * benchtests/Makefile (bench-func): Call it.
11045         * benchtests/scripts/benchout.schema.json: New file.
11047 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
11049         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11050         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11051         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11052         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11053         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11054         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11055         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11056         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11057         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11058         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11059         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11060         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11061         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11062         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11063         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11064         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11066         Moved ...
11067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11068         ... here.
11069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11070         Moved ...
11071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11073         Moved ...
11074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11075         ... here.
11076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11077         Moved ...
11078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11079         ... here.
11080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11081         Moved ...
11082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11084         Moved ...
11085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11086         ... here.
11087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11088         Moved ...
11089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11090         ... here.
11091         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11092         Moved ...
11093         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11095         Moved ...
11096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11097         ... here.
11098         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11099         Moved ...
11100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11101         ... here.
11102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11103         Moved ...
11104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11105         ... here.
11106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11107         Moved ...
11108         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11110         Moved ...
11111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11112         ... here.
11113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11114         Moved ...
11115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11116         ... here.
11117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11118         Moved ...
11119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11120         ... here.
11121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11122         Moved ...
11123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11125         Moved ...
11126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11127         ... here.
11128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11129         Moved ...
11130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11131         ... here.
11132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11133         Moved ...
11134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11136         Moved ...
11137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11138         ... here.
11139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11140         Moved ...
11141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11143         Moved ...
11144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11146         Moved ...
11147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11148         ... here.
11149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11150         Moved ...
11151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11152         ... here.
11153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11154         Moved ...
11155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11156         ... here.
11157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11158         Moved ...
11159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11161         Moved ...
11162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11163         ... here.
11164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11165         Moved ...
11166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11167         ... here.
11168         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11169         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11170         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11171         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11172         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11173         Moved ...
11174         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11175         ... here.
11176         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11177         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11178         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11179         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11180         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11181         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11182         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11183         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11184         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11185         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11186         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11187         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11188         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11189         Moved ...
11190         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11191         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11192         Moved ...
11193         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11194         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11195         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11196         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11197         Moved ...
11198         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11199         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11200         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11201         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11202         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11203         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11204         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11206 2014-06-10  Wilco  <wdijkstr@arm.com>
11208         * math/test-fenv-return.c: New file.
11209         * math/Makefile: Add new test test-fenv-return.
11211 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11213         [BZ #17042]
11214         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11215         when x - 1 is zero.
11216         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11217         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11218         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11219         0.0L for an argument of 1.0L.
11220         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11221         Likewise.
11222         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11223         value when x - 1 is zero.
11224         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11225         * sysdeps/i386/fpu/libm-test-ulps: Update.
11226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11228 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11230         [BZ #15119]
11231         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11233 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11235         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11236         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11238 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11240         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11241         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11243         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11244         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11246         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11247         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11249         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11250         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11252         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11253         if not already defined.
11254         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11255         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11256         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11257         (TLS_INIT_TP): Use it.
11258         (TLS_DEFINE_INIT_TP): New macro.
11259         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11261 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11263         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11264         constant.
11265         [POSIX] (IXANY): Likewise.
11266         [POSIX] (OLCUC): Likewise.
11267         [POSIX || POSIX2008] (CBAUD): Do not allow.
11268         [POSIX || POSIX2008] (DEFECHO): Likewise.
11269         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11270         [POSIX || POSIX2008] (ECHOKE): Likewise.
11271         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11272         [POSIX || POSIX2008] (EXTA): Likewise.
11273         [POSIX || POSIX2008] (EXTB): Likewise.
11274         [POSIX || POSIX2008] (FLUSHO): Likewise.
11275         [POSIX || POSIX2008] (LOBLK): Likewise.
11276         [POSIX || POSIX2008] (PENDIN): Likewise.
11277         [POSIX || POSIX2008] (SWTCH): Likewise.
11278         [POSIX || POSIX2008] (VDISCARD): Likewise.
11279         [POSIX || POSIX2008] (VDSUSP): Likewise.
11280         [POSIX || POSIX2008] (VLNEXT): Likewise.
11281         [POSIX || POSIX2008] (VREPRINT): Likewise.
11282         [POSIX || POSIX2008] (VSTATUS): Likewise.
11283         [POSIX || POSIX2008] (VWERASE): Likewise.
11284         (B*): Change to B[0123456789]*.
11285         * conform/data/time.h-data [POSIX || UNIX98]
11286         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11287         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11288         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11289         [POSIX] (tm_*): Do not allow.
11291 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11293         * Makefile (install): Don't set LANGUAGE.
11294         * Makefile.in (install): Likewise.
11295         * assert/Makefile (test-assert-ENV): Remove variable.
11296         (test-assert-perr-ENV): Likewise.
11297         * elf/Makefile (neededtest4-ENV): Likewise.
11298         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11299         [$(cross-compiling) = no]: Don't set LANGUAGE.
11300         * io/ftwtest-sh (LANG): Remove variable.
11301         * libio/Makefile (tst-widetext-ENV): Likewise.
11302         * manual/install.texi (Running make install): Don't refer to
11303         environment settings for make install.
11304         * INSTALL: Regenerated.
11305         * nptl/tst-tls6.sh: Don't set LANG.
11306         * posix/globtest.sh (LANG): Remove variable.
11307         * string/Makefile (tester-ENV): Likewise.
11308         (inl-tester-ENV): Likewise.
11309         (noinl-tester-ENV): Likewise.
11310         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11311         [$(cross-compiling) = no]: Don't set LANGUAGE.
11312         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11313         without explicit environment settings.
11315 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11317         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11318         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11319         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11320         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11322 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11324         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11325         other files in the crypt directory.
11326         * crypt/crypt.c: Remove duplicate includes.
11327         * crypt/crypt-entry.c: Likewise.
11328         * crypt/crypt_util.c: Likewise.
11330 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11332         * Makeconfig (run-program-env): New variable.
11333         (run-program-prefix-before-env): Likewise.
11334         (run-program-prefix-after-env): Likewise.
11335         (run-program-prefix): Define in terms of new variables.
11336         (built-program-cmd-before-env): New variable.
11337         (built-program-cmd-after-env): Likewise.
11338         (built-program-cmd): Define in terms of new variables.
11339         (test-program-prefix-before-env): New variable.
11340         (test-program-prefix-after-env): Likewise.
11341         (test-program-prefix): Define in terms of new variables.
11342         (test-program-cmd-before-env): New variable.
11343         (test-program-cmd-after-env): Likewise.
11344         (test-program-cmd): Define in terms of new variables.
11345         * Rules (make-test-out): Use $(run-program-env).
11346         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11347         (help): Do not mention environment variables.  Mention
11348         --timeoutfactor option.
11349         (timeoutfactor): New variable.
11350         (blacklist_exports): Remove function.
11351         (exports): Remove variable.
11352         (command): Do not include ${exports}.
11353         * manual/install.texi (Configuring and compiling): Do not mention
11354         test wrappers preserving environment variables.  Mention that last
11355         assignment to a variable must take precedence.
11356         * INSTALL: Regenerated.
11357         * benchtests/Makefile (run-bench): Use $(run-program-env).
11358         * catgets/Makefile ($(objpfx)test1.cat): Use
11359         $(built-program-cmd-before-env), $(run-program-env) and
11360         $(built-program-cmd-after-env).
11361         ($(objpfx)test2.cat): Do not specify environment variables
11362         explicitly.
11363         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11364         $(run-program-env) and $(built-program-cmd-after-env).
11365         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11366         $(run-program-env) and $(test-program-cmd-after-env).
11367         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11368         explicitly.
11369         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11370         run_program_env and test_program_cmd_after_env arguments.
11371         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11372         * elf/tst-pathopt.sh: Use run_program_env argument.
11373         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11374         $(test-wrapper-env) and $(run-program-env).
11375         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11376         run_program_env arguments.
11377         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11378         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11379         $(test-program-prefix-before-env), $(run-program-env) and
11380         $(test-program-prefix-after-env).
11381         ($(objpfx)tst-gettext2.out): Likewise.
11382         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11383         run_program_env and test_program_prefix_after_env arguments.
11384         * intl/tst-gettext2.sh: Likewise.
11385         * intl/tst-gettext4.sh: Do not set environment variables
11386         explicitly.
11387         * intl/tst-gettext6.sh: Likewise.
11388         * intl/tst-translit.sh: Likewise.
11389         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11390         $(test-program-prefix-before-env), $(run-program-env) and
11391         $(test-program-prefix-after-env).
11392         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11393         run_program_env and test_program_prefix_after_env arguments.
11394         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11395         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11396         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11397         explicitly with each use of ${test_wrapper_env}.
11398         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11399         $(test-program-prefix-before-env), $(run-program-env) and
11400         $(test-program-prefix-after-env).
11401         * posix/tst-getconf.sh: Do not set environment variables
11402         explicitly.
11403         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11404         run_program_env and test_program_prefix_after_env arguments.
11405         * stdio-common/tst-printf.sh: Do not set environment variables
11406         explicitly.
11407         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11408         $(test-program-prefix-before-env), $(run-program-env) and
11409         $(test-program-prefix-after-env).
11410         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11411         run_program_env and test_program_prefix_after_env arguments.
11412         Split $test calls into $test_pre and $test.
11413         * timezone/Makefile (build-testdata): Use
11414         $(built-program-cmd-before-env), $(run-program-env) and
11415         $(built-program-cmd-after-env).
11417 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11419         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11420         strlen for non SHARED builds.
11422 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11424         * nptl/allocatestack.c (check_list): Inlined function...
11425         (__reclaim_stacks): ... here.
11427 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11429         [BZ #15698]
11430         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11431         memory overrun.
11433 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11435         * Rules (make-test-out): Include
11436         LOCPATH=$(common-objpfx)localedata in default environment.
11437         * debug/Makefile (tst-chk1-ENV): Remove variable.
11438         (tst-chk2-ENV): Likewise.
11439         (tst-chk3-ENV): Likewise.
11440         (tst-chk4-ENV): Likewise.
11441         (tst-chk5-ENV): Likewise.
11442         (tst-chk6-ENV): Likewise.
11443         (tst-lfschk1-ENV): Likewise.
11444         (tst-lfschk2-ENV): Likewise.
11445         (tst-lfschk3-ENV): Likewise.
11446         (tst-lfschk4-ENV): Likewise.
11447         (tst-lfschk5-ENV): Likewise.
11448         (tst-lfschk6-ENV): Likewise.
11449         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11450         (tst-iconv7-ENV): Likewise.
11451         * intl/Makefile (LOCPATH-ENV): Likewise.
11452         (tst-codeset-ENV): Likewise.
11453         (tst-gettext3-ENV): Likewise.
11454         (tst-gettext5-ENV): Likewise.
11455         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11456         (tst-fopenloc-ENV): Likewise.
11457         (tst-fgetws-ENV): Remove variable.
11458         (tst-ungetwc1-ENV): Likewise.
11459         (tst-ungetwc2-ENV): Likewise.
11460         (bug-ungetwc2-ENV): Likewise.
11461         (tst-swscanf-ENV): Likewise.
11462         (bug-ftell-ENV): Likewise.
11463         (tst-fgetwc-ENV): Likewise.
11464         (tst-fseek-ENV): Likewise.
11465         (tst-ftell-partial-wide-ENV): Likewise.
11466         (tst-ftell-active-handler-ENV): Likewise.
11467         (tst-ftell-append-ENV): Likewise.
11468         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11469         (tst-regexloc-ENV): Likewise.
11470         (bug-regex1-ENV): Likewise.
11471         (tst-regex-ENV): Likewise.
11472         (tst-regex2-ENV): Likewise.
11473         (bug-regex5-ENV): Likewise.
11474         (bug-regex6-ENV): Likewise.
11475         (bug-regex17-ENV): Likewise.
11476         (bug-regex18-ENV): Likewise.
11477         (bug-regex19-ENV): Likewise.
11478         (bug-regex20-ENV): Likewise.
11479         (bug-regex22-ENV): Likewise.
11480         (bug-regex23-ENV): Likewise.
11481         (bug-regex25-ENV): Likewise.
11482         (bug-regex26-ENV): Likewise.
11483         (bug-regex30-ENV): Likewise.
11484         (bug-regex32-ENV): Likewise.
11485         (bug-regex33-ENV): Likewise.
11486         (bug-regex34-ENV): Likewise.
11487         (bug-regex35-ENV): Likewise.
11488         (tst-rxspencer-ENV): Likewise.
11489         (tst-rxspencer-no-utf8-ENV): Likewise.
11490         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11491         (tst-sscanf-ENV): Likewise.
11492         (tst-swprintf-ENV): Likewise.
11493         (tst-swscanf-ENV): Likewise.
11494         (test-vfprintf-ENV): Likewise.
11495         (scanf13-ENV): Likewise.
11496         (bug14-ENV): Likewise.
11497         (tst-grouping-ENV): Likewise.
11498         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11499         (tst-strtod3-ENV): Likewise.
11500         (tst-strtod4-ENV): Likewise.
11501         (tst-strtod5-ENV): Likewise.
11502         (testmb2-ENV): Likewise./
11503         * string/Makefile (tst-strxfrm-ENV): Likewise.
11504         (tst-strxfrm2-ENV): Likewise.
11505         (bug-strcoll1-ENV): Likewise.
11506         (test-strcasecmp-ENV): Likewise.
11507         (test-strncasecmp-ENV): Likewise.
11508         * time/Makefile (tst-strptime-ENV): Likewise.
11509         (tst-ftime_l-ENV): Likewise.
11510         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11511         (tst-mbrtowc-ENV): Likewise.
11512         (tst-wcrtomb-ENV): Likewise.
11513         (tst-mbrtowc2-ENV): Likewise.
11514         (tst-c16c32-1-ENV): Likewise.
11515         (tst-mbsnrtowcs-ENV): Likewise.
11517 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11519         * manual/resource.texi (How to get information about the memory
11520         subsystem?): Fix typo.
11521         Reported by Peon de la Parra Ivan <peon@keba.com>
11523 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11525         [BZ #16882]
11526         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11527         (pthread_spin_lock): Branch out of spin loop to proper location.
11528         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11529         (pthread_spin_lock): Likewise.
11531         * nptl/tst-spin4.c: New test.
11532         * nptl/Makefile (tests): Add tst-spin4.
11534 2014-06-03  Andreas Schwab  <schwab@suse.de>
11536         [BZ #15946]
11537         * resolv/res_send.c (send_dg): Reload file descriptor after
11538         calling reopen.
11540 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11542         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11544 2014-06-03  Richard Henderson  <rth@redhat.com>
11546         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11547         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11548         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11549         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11550         in the SAVE_PID block.
11551         (__libc_vfork): New alias.
11552         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11554         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11555         child in registers, not on the stack.  Remove RESET_PID conditionals.
11556         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11558 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11560         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11562 2014-06-03  Wilco  <wdijkstr@arm.com>
11564         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11565         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11566         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11567         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11568         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11569         Likewise.
11571 2014-06-03  Wilco  <wdijkstr@arm.com>
11573         * sysdeps/aarch64/fpu/math_private.h
11574         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11575         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11576         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11577         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11578         Fix declarations.
11580 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11582         * crypt/crypt-private.h: Include ufc-crypt.h.
11583         (__b64_from_24bit): Declare extern.
11584         * crypt/crypt_util.c(__b64_from_24bit): New function.
11585         (b64t): New static const variable.
11586         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11587         (b64t): Remove variable.
11588         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11589         * crypt/sha256-crypt.c: Include crypt-private.h.
11590         (b64t): Remove variable.
11591         (__sha256_crypt_r): Remove b64_from_24bit and replace
11592         with __b64_from_24bit.
11593         * crypt/sha512-crypt.c: Likewise.
11595 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11597         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11598         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11599         Label the code __libc_vfork rather than __vfork.
11600         [!NOT_IN_libc] (vfork): Define as weak alias.
11601         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11602         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11603         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11605 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11607         * malloc/malloc.c (malloc_info): Fix format specifier for
11608         n_mmaps.
11610 2014-06-02  Wilco  <wdijkstr@arm.com>
11612         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11613         FPCR write.
11615 2014-06-02  Wilco  <wdijkstr@arm.com>
11617         [BZ #17009]
11618         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11619         Rewrite to reduce FPCR/FPSR accesses.
11621 2014-06-01  David S. Miller  <davem@davemloft.net>
11623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11625 2014-05-31  David S. Miller  <davem@davemloft.net>
11627         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11628         to occur in round to nearest mode when |x| >= 2.0
11630 2014-05-30  Richard Henderson  <rth@twiddle.net>
11632         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11633         (PSEUDO_RET_NOERRNO): Remove.
11634         (ret): Don't redefine.
11635         (ret_NOERRNO): Define in terms of ret.
11636         (ret_ERRVAL): Likewise.
11638         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11639         use of PSEUDO_RET; perform the error check directly.
11641 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11643         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11644         with __int128_t.
11646 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11648         * malloc/malloc (malloc_info): Fix formatting.
11650 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11651             Roland McGrath  <roland@hack.frob.com>
11653         * malloc/malloc (malloc_info): Also print mmapped statistics.
11655 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11657         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11658         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11660 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11662         * malloc/malloc.c (malloc_info): Inline mi_arena.
11664 2014-05-29  Richard Henderson  <rth@twiddle.net>
11666         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11667         Remove comma before expanding ASM_ARGS_##nr.
11668         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11669         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11670         of ASM_ARGS_##nr.
11671         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11672         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11673         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11674         (ASM_ARGS_1): Add leading comma.
11676         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11677         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11678         to __errno_location.
11679         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11680         Remove the expected plt for __errno_location.
11682         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11683         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11684         call to __read_tp.
11686         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11687         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11688         it and break it down.
11689         (DOCARGS_0, DOCARGS_1): Do nothing.
11690         (DOCARGS_2): Update to store into the new stack frame.
11691         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11692         (UNDOCARGS_1): Update to restore from the new stack frame.
11693         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11694         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11696         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11697         (SINGLE_THREAD_P): New parameter for result regno.
11698         (PSEUDO): Update to match; use cbz instead of beq.
11700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11701         Use ENTRY to define the _nocancel entry point.  Share the syscall
11702         and syscall error check paths with the cancel path.
11703         (PSEUDO_END): New.
11705         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11706         whitespace; tabs before and after asm mnemonics.
11708 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11710         [BZ #15132]
11711         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11712         Call fstat64 or stat64 internally, depending on arguments passed.
11713         Replace stat buffer argument with file descriptor argument.
11714         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11715         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11716         Pass fd to __internal_statvfs instead of calling fstat64.
11717         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11718         Pass fd to __internal_statvfs64 instead of calling fstat64.
11719         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11720         Pass -1 to __internal_statvfs instead of calling stat64.
11721         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11722         Pass -1 to __internal_statvfs64 instead of calling stat64.
11724 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11726         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11727         that was previously under [RESET_PID].
11728         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11730         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11731         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11733 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11735         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11737         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11738         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11740 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11742         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11744 2014-05-27  Andreas Schwab  <schwab@suse.de>
11746         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11747         TLS_INIT_TP macro.
11748         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11749         * elf/rtld.c (init_tls, dl_main): Likewise.
11750         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11751         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11752         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11753         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11754         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11755         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11756         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11757         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11758         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11759         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11760         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11761         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11762         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11763         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11764         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11765         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11766         * sysdeps/generic/tls.h: Update description.
11768 2014-05-27  Will Newton  <will.newton@linaro.org>
11770         [BZ #16990]
11771         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11772         and restore r2 rather than just restoring.
11774 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11776         [BZ #16724]
11777         * libio/tst-ftell-append.c: New test case.
11778         * libio/Makefile (tests): Add test case.
11779         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11780         append mode.
11781         * libio/wfileops.c (do_ftell_wide): Likewise.
11783 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11787         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11788         ...
11789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11791         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11792         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11793         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11794         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11795         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11796         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11798         Moved ...
11799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11801         Moved ...
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11803         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11804         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11805         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11806         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11807         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11808         ...
11809         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11810         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11811         Moved ...
11812         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11813         here.
11814         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11815         ...
11816         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11817         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11818         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11820         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11821         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11822         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11823         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11825         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11826         merge into ...
11827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11829         ...
11830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11831         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11832         ...
11833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11834         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11835         Moved ...
11836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11837         here.
11838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11839         Moved ...
11840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11841         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11842         Moved ...
11843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11846         conditional [RESET_PID].
11847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11848         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11849         removed.
11850         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11851         removed.
11853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11854         <tcb-offsets.h>.
11855         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11856         (__libc_vfork): New strong alias.
11857         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11858         removed.
11859         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11860         Removed.
11862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11863         <tcb-offsets.h>.
11864         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11865         (__libc_vfork): New strong alias.
11866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11867         removed.
11868         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11869         removed.
11871 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11873         * malloc/malloc.c (mi_arena): New function.
11874         (malloc_info): Remove nested function mi_arena. Call non-nosted
11875         function mi_arena.
11877 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11879         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11880         by insrwi.
11881         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11882         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11883         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11884         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11885         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11886         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11887         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11889 2014-05-26  Andreas Schwab  <schwab@suse.de>
11891         [BZ #16984]
11892         * locale/programs/repertoire.c (repertoire_read): Add slash
11893         between I18NPATH element and file name.
11894         * locale/programs/locfile.c (locfile_read): Likewise.
11896 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11898         * nptl/pthread_mutexattr_settype.c
11899         (__pthread_mutexattr_settype):
11900         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11902 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11904         * nptl/tst-mutex5 (do_test):
11905         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11907 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11909         * benchtests/README: Document 'init' directive.
11910         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11911         BENCH_INIT.
11912         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11913         (parse_file): Recognize 'init' directive.
11915 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11917         [BZ #16796]
11918         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11919         alignment of struct pthread.
11921 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11923         [BZ #16878]
11924         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11925         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11926         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11927         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11929 2014-05-25  Richard Henderson  <rth@twiddle.net>
11931         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11932         (SINGLE_THREAD_P_PIC): Remove.
11933         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11934         (SINGLE_THREAD_P_PIC): Remove.
11936         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11937         branch to syscall error ...
11938         (PSEUDO): ... here.
11939         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11940         from __local_syscall_error to .Lsyscall_error.
11941         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11942         (SYSCALL_ERROR): Update label name.
11944         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11945         Do not use DOARGS/UNDOARGS.
11946         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11947         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11948         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11949         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11950         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11952         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11953         block comment.
11955         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11956         define if !NOT_IN_libc.
11957         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11958         define with non-default symbol versions.
11960 2014-05-23  Richard Henderson  <rth@twiddle.net>
11962         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11963         (vfork, __vfork): Define via compat_symbol.
11965         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11966         [!HAVE_IFUNC] (vfork_compat): Remove.
11967         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11969 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11971         [BZ #16978]
11972         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11973         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11974         variable.
11976 2014-05-23  Richard Henderson  <rth@twiddle.net>
11978         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11979         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11980         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11981         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11983         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11984         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11985         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11986         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11987         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11988         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11989         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11990         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11991         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11992         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11993         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11994         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11995         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11996         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11997         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11998         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11999         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12000         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12001         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12002         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12003         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12004         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12005         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12006         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12007         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12008         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12009         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12010         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12011         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12012         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12013         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12014         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12015         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12016         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12017         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12018         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12019         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12020         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12021         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12022         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12023         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12024         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12025         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12026         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12027         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12028         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12030         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12031         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12032         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12033         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12034         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12035         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12036         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12037         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12038         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12040         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12041         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12042         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
12043         before exiting on error.
12044         (__libc_vfork): New strong alias.
12045         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12046         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12048         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12049         that was previously under [RESET_PID].
12050         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12052         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12054 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12056         [BZ #16977]
12057         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12058         value when x - 1 is zero.
12059         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12060         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12061         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12062         0.0L for an argument of 1.0L.
12063         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12064         Likewise.
12065         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12066         value when x - 1 is zero.
12067         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12068         * sysdeps/i386/fpu/libm-test-ulps: Update.
12069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12071 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12073         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12074         alphasort and versionsort.
12076 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12078         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12079         macro.
12080         [copysignf]: Likewise.
12082 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12084         * crypt/md5-crypt.c: Fix formatting.
12086 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12088         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12089         (b64_from_24bit): New function.
12091 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12093         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12094         libc_hidden_builtin_def to ifunc.
12095         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12096         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12098 2014-05-21  Roland McGrath  <roland@hack.frob.com>
12100         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12101         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12103 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
12105         * nscd/Depend (linuxthreads): Remove.
12106         (nptl): Add.
12107         * resolv/Depend (linuxthreads): Remove.
12108         * rt/Depend (linuxthreads): Remove.
12110         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12111         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12112         $(common-objpfx)elf/.
12113         (link-libc-before-gnulib): Likewise.
12114         (elfobjdir): Remove variable.
12115         * Makefile (install): Use $(elf-objpfx) instead of
12116         $(common-objpfx)elf/.
12117         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12118         $(elfobjdir)/.
12119         (link-libc-deps): Likewise.
12120         ($(common-objpfx)libc.so): Likewise.
12121         ($(common-objpfx)linkobj/libc.so): Likewise.
12122         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12123         instead of $(common-objpfx)elf/.
12124         (symbolic-link-list): Likewise.
12125         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12126         [$(cross-compiling) = no]: Likewise.
12127         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12128         $(elfobjdir)/.
12129         (static-gnulib-arch): Likewise.
12130         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12131         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12132         $(common-objpfx)elf/.
12134 2014-05-21  Richard Henderson  <rth@redhat.com>
12136         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12137         (SINGLE_THREAD_P): Use the correct width load.  Fold
12138         into the ldr offset.
12140         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12141         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12143 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12145         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12146         (libgcc_s_resume): Use __attribute_used__.
12147         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12148         Likewise.
12150 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12152         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12153         optimization when used with float constants.
12155         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12157 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12159         [BZ #16915]
12160         * locale/nl_langinfo_l.c: Make direct reference to every
12161         _nl_current_CATEGORY symbol.
12162         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12163         (tests-static): Add tst-langinfo-static.
12164         (tests-special): Add tst-langinfo-static.out.
12165         ($(objpfx)tst-langinfo.out): Redirect output.
12166         ($(objpfx)tst-langinfo-static.out): New.
12167         * localedata/tst-langinfo.sh: Send output to stdout.
12168         * localedata/tst-langinfo-static.c: New file.
12170         [BZ #16965]
12171         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12172         when the shift amount is modulo the limb size.
12174 2014-05-20  Richard Henderson  <rth@redhat.com>
12176         [BZ #16967]
12177         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12178         Change type of sa_flags from unsigned int to int.
12180         [BZ #16966]
12181         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12183         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12185 2014-05-20  Will Newton  <will.newton@linaro.org>
12187         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12188         Test the return value of the system call in the nocancel case.
12190 2014-05-20  Will Newton  <will.newton@linaro.org>
12191             Yvan Roux  <yvan.roux@linaro.org>
12193         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12194         #include of asm/ptrace.h.
12195         (PTRACE_GET_THREAD_AREA): Remove #undef.
12196         (PTRACE_GETHBPREGS): Likewise.
12197         (PTRACE_SETHBPREGS): Likewise.
12198         (struct user_regs_struct): New structure.
12199         (struct user_fpsimd_struct): New structure.
12200         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12201         #include of asm/ptrace.h and second #include of sys/user.h.
12202         (PTRACE_GET_THREAD_AREA): Remove #undef.
12203         (PTRACE_GETHBPREGS): Likewise.
12204         (PTRACE_SETHBPREGS): Likewise.
12205         (ELF_NGREG): Use new struct user_regs_struct.
12206         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12208 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12210         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12211         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12213 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12215         [BZ #16958]
12216         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12217         membar to avoid block loads/stores to overlap previous stores.
12219 2014-05-17  Richard Henderson  <rth@redhat.com>
12221         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12222         Create the __##syscall_name##_nocancel entry point.
12223         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12224         Remove; let the sysdep-cancel.h code create it.
12226 2014-05-17  David S. Miller  <davem@davemloft.net>
12228         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12229         Protect with __USE_GNU.
12230         (TIOCSET_TEMPT): Likewise.
12231         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12232         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12233         these are already provided in bits/ioctl-types.h
12235 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12237         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12238         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12240         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12241         Use wait4 regardless of [__NR_waitpid].
12243 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12245         PR libgcc/60166
12246         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12247         (_FP_NANSIGN_Q): Set the quiet bit.
12249 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12251         * benchtests/Makefile
12252         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12253         not $(common-objpfx)math/libm.so.
12254         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12255         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12256         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12257         $(common-objpfx)dlfcn/libdl.so.
12258         ($(objpfx)tst-audit8): Depend on $(libm), not
12259         $(common-objpfx)math/libm.so.
12260         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12261         not $(common-objpfx)dlfcn/libdl.so.
12262         * math/Makefile
12263         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12264         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12265         [$(build-shared) = yes].
12266         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12267         $(common-objpfx)nptl/libpthread.so.
12268         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12269         $(common-objpfx)math/libm.so$(libm.so-version) or
12270         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12271         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12272         $(common-objpfx)dlfcn/libdl.so.
12273         * setjmp/Makefile (link-libm): Remove variable.
12274         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12275         * stdio-common/Makefile (link-libm): Remove variable.
12276         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12277         * stdlib/Makefile (link-libm): Remove variable.
12278         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12279         ($(objpfx)tst-strtod-round): Likewise.
12280         ($(objpfx)tst-tininess): Likewise.
12281         ($(objpfx)tst-strtod-underflow): Likewise.
12282         ($(objpfx)tst-strtod6): Likewise.
12283         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12284         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12285         $(common-objpfx)dlfcn/libdl.so.
12287 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12289         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12290         BSD terminal modes definitions.
12292 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12294         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12295         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12297         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12298         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12299         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12300         Don't do #include_next.
12301         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12302         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12303         Don't do #include_next.
12304         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12305         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12306         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12307         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12309 2014-05-16  Allan McRae  <allan@archlinux.org>
12311         * po/sv.po: Update Swedish translation from translation project.
12313         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12314         in sed expression.
12316 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12318         [BZ #16917]
12319         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12320         errno if the TIOCGPTN ioctl fails with an error different than
12321         EINVAL.
12322         * login/tst-ptsname.c: New file.
12323         * login/Makefile (tests): Add tst-ptsname.
12325         [BZ #16943]
12326         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12327         and prlimit64.
12329 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12331         [BZ #16849]
12332         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12333         herrno to return EAI_AGAIN.
12335 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12337         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12338         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12339         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12340         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12341         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12342         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12343         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12344         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12345         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12346         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12347         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12348         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12349         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12350         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12351         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12352         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12353         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12354         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12355         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12356         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12357         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12358         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12359         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12360         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12361         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12362         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12363         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12364         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12365         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12366         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12368         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12369         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12370         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12371         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12372         Moved ...
12373         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12374         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12375         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12377         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12378         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12379         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12380         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12381         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12382         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12383         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12384         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12385         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12386         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12387         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12389         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12391         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12393         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12394         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12395         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12396         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12397         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12399         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12400         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12401         Moved ...
12402         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12404         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12406         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12408         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12410         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12412         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12414         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12416         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12418         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12420         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12421         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12422         Moved ...
12423         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12425         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12427         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12428         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12429         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12430         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12431         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12432         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12433         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12434         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12435         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12436         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12437         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12438         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12439         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12440         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12441         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12442         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12443         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12444         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12445         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12446         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12447         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12448         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12449         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12450         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12451         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12452         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12453         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12454         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12455         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12456         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12457         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12459         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12460         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12462         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12463         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12464         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12465         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12466         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12467         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12468         Moved ...
12469         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12470         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12471         Moved ...
12472         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12473         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12474         Moved ...
12475         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12476         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12477         Moved ...
12478         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12479         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12480         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12481         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12482         Moved ...
12483         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12484         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12485         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12486         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12487         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12488         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12489         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12490         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12491         Moved ...
12492         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12493         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12494         Moved ...
12495         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12496         ... here.
12497         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12498         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12499         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12500         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12501         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12502         Moved ...
12503         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12504         ... here.
12505         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12506         Moved ...
12507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12508         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12509         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12510         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12511         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12512         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12513         Moved ...
12514         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12515         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12516         Moved ...
12517         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12518         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12519         Moved ...
12520         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12521         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12522         Moved ...
12523         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12524         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12525         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12526         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12527         Moved ...
12528         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12529         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12530         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12531         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12532         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12533         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12534         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12535         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12536         Moved ...
12537         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12538         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12539         Moved ...
12540         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12541         ... here.
12542         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12543         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12544         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12545         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12546         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12547         Moved ...
12548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12549         ... here.
12550         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12551         Moved ...
12552         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12553         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12554         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12555         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12556         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12557         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12558         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12559         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12560         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12561         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12562         Moved ...
12563         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12564         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12565         Moved ...
12566         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12567         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12568         Moved ...
12569         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12570         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12571         Moved ...
12572         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12573         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12574         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12575         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12576         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12577         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12578         Moved ...
12579         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12580         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12581         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12582         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12583         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12584         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12585         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12586         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12587         Moved ...
12588         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12589         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12590         Moved ...
12591         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12592         ... here.
12593         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12594         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12595         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12596         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12597         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12598         Moved ...
12599         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12600         ... here.
12601         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12602         Moved ...
12603         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12604         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12605         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12606         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12607         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12608         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12609         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12610         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12611         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12612         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12613         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12615         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12616         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12618         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12619         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12621         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12622         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12623         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12624         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12625         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12626         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12627         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12628         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12629         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12630         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12631         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12632         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12633         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12634         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12635         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12636         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12637         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12638         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12639         Moved ...
12640         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12641         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12642         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12643         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12644         Moved ...
12645         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12646         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12648         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12649         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12650         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12651         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12652         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12653         Moved ...
12654         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12656         Moved ...
12657         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12658         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12659         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12660         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12661         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12662         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12663         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12664         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12665         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12666         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12667         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12668         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12669         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12670         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12671         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12672         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12673         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12675         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12676         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12677         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12678         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12679         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12681         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12682         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12683         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12684         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12685         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12686         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12687         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12688         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12689         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12690         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12692         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12695         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12696         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12697         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12698         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12699         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12700         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12701         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12702         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12703         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12704         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12705         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12706         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12707         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12708         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12709         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12710         Update #include.
12711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12712         Likewise.
12713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12714         Likewise.
12715         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12716         Likewise.
12717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12718         Likewise.
12719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12720         Likewise.
12721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12722         Likewise.
12723         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12724         Likewise.
12725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12726         Likewise.
12727         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12728         Likewise.
12729         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12730         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12731         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12732         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12733         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12734         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12735         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12736         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12737         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12738         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12739         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12740         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12741         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12742         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12743         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12745         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12746         that was previously under [RESET_PID].
12747         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12748         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12749         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12751         * sysdeps/i386/nptl/Implies: New file.
12752         * sysdeps/x86_64/nptl/Implies: New file.
12753         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12754         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12755         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12756         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12758         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12759         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12760         (__libc_vfork): New strong alias.
12761         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12762         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12764         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12765         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12766         (__libc_vfork): New strong alias.
12767         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12768         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12770         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12771         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12772         (__libc_vfork): New strong alias.
12773         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12774         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12775         * nptl/pt-vfork.c: New file.
12776         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12777         (libpthread: GLIBC_2.20): New version set (empty).
12779 2014-05-14  Will Newton  <will.newton@linaro.org>
12781         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12782         rather than #if.
12784 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12786         [BZ #16564]
12787         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12788         arguments with exponent 65 or above.
12789         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12790         arguments 0x1p113L or above.
12791         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12792         to arguments 0x1p107L or above.
12793         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12794         positive arguments with exponent 65 or above.
12795         * math/auto-libm-test-in: Add more tests of log1p.
12796         * math/auto-libm-test-out: Regenerated.
12798         [BZ #16928]
12799         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12800         non-finite arguments is +0.
12801         * math/s_cacosf.c (__cacosf): Likewise.
12802         * math/s_cacosl.c (__cacosl): Likewise.
12803         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12804         * sysdeps/i386/fpu/libm-test-ulps: Update.
12805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12807         [BZ #16927]
12808         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12809         value.
12810         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12811         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12812         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12813         for explicit high bit of mantissa when testing for argument equal
12814         to 1.
12815         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12816         * sysdeps/i386/fpu/libm-test-ulps: Update.
12817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12819         [BZ #16516]
12820         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12821         (__erf): Scale by 16 instead of 8 in potentially underflowing
12822         case.  Ensure exception if result actually underflows.
12823         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12824         (__erff): Scale by 16 instead of 8 in potentially underflowing
12825         case.  Ensure exception if result actually underflows.
12826         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12827         (efx8): Remove variable.
12828         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12829         case.  Ensure exception if result actually underflows.
12830         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12831         (efx8): Remove variable.
12832         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12833         case.  Ensure exception if result actually underflows.
12834         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12835         (efx8): Remove variable.
12836         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12837         case.  Ensure exception if result actually underflows.
12838         * math/auto-libm-test-in: Add more tests of erf.
12839         * math/auto-libm-test-out: Regenerated.
12841 2014-05-14  Andreas Schwab  <schwab@suse.de>
12843         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12844         Remove code conditionalized on USE___THREAD.
12846         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12847         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12848         not definedness.
12850 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12852         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12853         Define unconditionally.
12854         (__ASSUME_O_CLOEXEC): Likewise.
12855         (__ASSUME_SOCK_CLOEXEC): Likewise.
12856         (__ASSUME_IN_NONBLOCK): Likewise.
12857         (__ASSUME_PIPE2): Likewise.
12858         (__ASSUME_EVENTFD2): Likewise.
12859         (__ASSUME_SIGNALFD4): Likewise.
12860         (__ASSUME_DUP3): Likewise.
12861         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12862         (__ASSUME_DUP3): Do not define.
12863         (__ASSUME_EVENTFD2): Likewise.
12864         (__ASSUME_IN_NONBLOCK): Likewise.
12865         (__ASSUME_O_CLOEXEC): Likewise.
12866         (__ASSUME_PIPE2): Likewise.
12867         (__ASSUME_SIGNALFD4): Likewise.
12868         (__ASSUME_SOCK_CLOEXEC): Likewise.
12869         (__ASSUME_UTIMES): Undefine.
12870         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12871         (__ASSUME_UTIMES): Do not define.
12872         (__ASSUME_O_CLOEXEC): Likewise.
12873         (__ASSUME_SOCK_CLOEXEC): Likewise.
12874         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12875         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12876         0x020621].
12877         (__ASSUME_PIPE2): Likewise.
12878         (__ASSUME_EVENTFD2): Likewise.
12879         (__ASSUME_SIGNALFD4): Likewise.
12880         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12881         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12882         Do not define.
12883         (__ASSUME_EVENTFD2): Likewise.
12884         (__ASSUME_SIGNALFD4): Likewise.
12885         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12886         (__ASSUME_32BITUIDS): Likewise.
12887         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12888         (__ASSUME_IPC64): Likewise.
12889         (__ASSUME_ST_INO_64_BIT): Likewise.
12890         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12891         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12892         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12893         (__ASSUME_UTIMES): Do not define.
12894         (__ASSUME_PSELECT): Likewise.
12895         (__ASSUME_PPOLL): Likewise.
12896         (__ASSUME_O_CLOEXEC): Likewise.
12897         (__ASSUME_SOCK_CLOEXEC): Likewise.
12898         (__ASSUME_IN_NONBLOCK): Likewise.
12899         (__ASSUME_PIPE2): Likewise.
12900         (__ASSUME_EVENTFD2): Likewise.
12901         (__ASSUME_SIGNALFD4): Likewise.
12902         (__ASSUME_DUP3): Likewise.
12903         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12904         (__ASSUME_UTIMES): Likewise.
12905         (__ASSUME_O_CLOEXEC): Likewise.
12906         (__ASSUME_SOCK_CLOEXEC): Likewise.
12907         (__ASSUME_IN_NONBLOCK): Likewise.
12908         (__ASSUME_PIPE2): Likewise.
12909         (__ASSUME_EVENTFD2): Likewise.
12910         (__ASSUME_SIGNALFD4): Likewise.
12911         (__ASSUME_DUP3): Likewise.
12912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12913         (__ASSUME_UTIMES): Likewise.
12914         (__ASSUME_O_CLOEXEC): Likewise.
12915         (__ASSUME_SOCK_CLOEXEC): Likewise.
12916         (__ASSUME_IN_NONBLOCK): Likewise.
12917         (__ASSUME_PIPE2): Likewise.
12918         (__ASSUME_EVENTFD2): Likewise.
12919         (__ASSUME_SIGNALFD4): Likewise.
12920         (__ASSUME_DUP3): Likewise.
12921         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12922         Likewise.
12923         (__ASSUME_UTIMES): Likewise.
12924         (__ASSUME_EVENTFD2): Likewise.
12925         (__ASSUME_SIGNALFD4): Likewise.
12926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12927         (__ASSUME_O_CLOEXEC): Likewise.
12928         (__ASSUME_SOCK_CLOEXEC): Likewise.
12929         (__ASSUME_IN_NONBLOCK): Likewise.
12930         (__ASSUME_PIPE2): Likewise.
12931         (__ASSUME_EVENTFD2): Likewise.
12932         (__ASSUME_SIGNALFD4): Likewise.
12933         (__ASSUME_DUP3): Likewise.
12934         (__ASSUME_UTIMES): Undefine.
12936         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12937         feclearexcept.  Remove symbol versioning code.
12938         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12939         symbol versioning code.
12940         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12941         symbol versioning code.
12942         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12943         feupdateenv.  Remove symbol versioning code.
12944         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12945         fegetexceptflag.  Remove symbol versioning code.
12946         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12947         fesetexceptflag.  Remove symbol versioning code.
12948         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12949         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12950         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12951         (__posix_fadvise64_l32): Remove prototype.
12952         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12953         code.
12955 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12957         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12958         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12959         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12960         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12962 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12964         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12965         current working directory
12967 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12969         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12970         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12971         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12972         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12973         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12974         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12975         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12976         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12977         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12978         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12979         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12980         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12981         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12982         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12983         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12984         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12985         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12986         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12987         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12988         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12989         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12990         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12991         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12992         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12993         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12994         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12995         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12996         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12997         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12998         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12999         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13000         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13001         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13002         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13003         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13004         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13005         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13006         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13007         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13008         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13009         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13010         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13012         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13013         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13015         * sysdeps/unix/sysv/linux/arm/Makefile
13016         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13017         Add rt-aeabi_unwind_cpp_pr1.
13018         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13019         Add nptl-aeabi_unwind_cpp_pr1.
13020         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13021         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13022         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13023         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13024         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13025         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13027         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13028         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13029         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13030         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13032         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13033         Deconditionalize the code that was previously under [RESET_PID].
13034         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13036         * sysdeps/generic/exit-thread.h: New file.
13037         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13038         * include/unistd.h (__exit_thread): Remove declaration.
13039         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13040         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13041         * csu/libc-start.c: Include <exit-thread.h>.
13042         (LIBC_START_MAIN): Pass no argument to __exit_thread.
13043         * nptl/pthread_create.c: Include <exit-thread.h>.
13044         (start_thread): Call __exit_thread in place of __exit_thread_inline.
13045         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13046         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13047         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13048         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13049         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13050         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13051         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13052         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13053         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13054         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13055         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13056         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13057         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13058         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13059         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13060         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13062 2014-05-13  Andreas Schwab  <schwab@suse.de>
13064         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13066 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
13068         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13069         (__ASSUME_UTIMES): Do not condition on kernel version.
13070         (__ASSUME_PSELECT): Define unconditionally.
13071         (__ASSUME_PPOLL): Likewise.
13072         (__ASSUME_ATFCTS): Likewise.
13073         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13074         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13075         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13076         (__ASSUME_UTIMENSAT): Define unconditionally.
13077         (__ASSUME_PRIVATE_FUTEX): Likewise.
13078         (__ASSUME_FALLOCATE): Likewise.
13079         (__ASSUME_O_CLOEXEC): Likewise.
13080         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13081         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13082         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13083         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13084         (__ASSUME_IN_NONBLOCK): Likewise.
13085         (__ASSUME_PIPE2): Likewise.
13086         (__ASSUME_EVENTFD2): Likewise.
13087         (__ASSUME_SIGNALFD4): Likewise.
13088         (__ASSUME_DUP3): Likewise.
13089         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13090         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13091         (__ASSUME_AT_RANDOM): Likewise.
13092         (__ASSUME_PREADV): Likewise.
13093         (__ASSUME_PWRITEV): Likewise.
13094         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13095         (__ASSUME_F_GETOWN_EX): Define unconditionally.
13096         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13097         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13098         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13099         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13100         (__ASSUME_O_CLOEXEC): Define unconditionally.
13101         (__ASSUME_PSELECT): Do not undefine conditionally.
13102         (__ASSUME_PPOLL): Likewise.
13103         (__ASSUME_ATFCTS): Likewise.
13104         (__ASSUME_SET_ROBUST_LIST): Likewise.
13105         (__ASSUME_UTIMENSAT): Likewise.
13106         (__ASSUME_FDATASYNC): Define unconditionally.
13107         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13108         (__ASSUME_SIGFRAME_V2): Likewise.
13109         )__ASSUME_EVENTFD2): Likewise.
13110         (__ASSUME_SIGNALFD4): Likewise.
13111         (__ASSUME_PSELECT): Do not undefine conditionally.
13112         (__ASSUME_PPOLL): Likewise.
13113         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13114         (__ASSUME_PSELECT): Define unconditionally.
13115         (__ASSUME_PPOLL): Likewise.
13116         (__ASSUME_O_CLOEXEC): Likewise.
13117         (__ASSUME_SOCK_CLOEXEC): Likewise.
13118         (__ASSUME_IN_NONBLOCK): Likewise.
13119         (__ASSUME_PIPE2): Likewise.
13120         (__ASSUME_EVENTFD2): Likewise.
13121         (__ASSUME_SIGNALFD4): Likewise.
13122         (__ASSUME_DUP3): Likewise.
13123         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13124         (__ASSUME_O_CLOEXEC): Likewise.
13125         (__ASSUME_SOCK_CLOEXEC): Likewise.
13126         (__ASSUME_IN_NONBLOCK): Likewise.
13127         (__ASSUME_PIPE2): Likewise.
13128         (__ASSUME_EVENTFD2): Likewise.
13129         (__ASSUME_SIGNALFD4): Likewise.
13130         (__ASSUME_DUP3): Likewise.
13131         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13132         (__ASSUME_EVENTFD2): Likewise.
13133         (__ASSUME_SIGNALFD4): Likewise.
13134         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13136 2014-05-12  Andreas Schwab  <schwab@suse.de>
13138         [BZ #16932]
13139         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13140         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13141         than maximum RPC packet size.
13142         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13143         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13144         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13145         (_nss_nis_getservbyport_r): Likewise.
13147 2014-05-12  Will Newton  <will.newton@linaro.org>
13149         * malloc/Makefile (tests): Add tst-mallopt.
13150         * malloc/tst-mallopt.c: New file.
13152 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13154         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13155         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13157 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13159         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13160         (tst-tlsmod6.so): Likewise.
13162 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13164         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13166 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13168         [BZ #16064]
13169         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13170         and <dl-procinfo.h>.
13171         (__fegetenv): Save SSE state in envp->__eip if supported.
13172         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13173         envp->__eip if supported.
13174         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13175         and <dl-procinfo.h>.
13176         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13177         __data_offset and __data_selector in environment to 0.  Set SSE
13178         state if supported.
13179         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13180         test-fenv-sse.
13181         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13182         -mfpmath=sse.
13183         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13185 2014-05-09  Will Newton  <will.newton@linaro.org>
13187         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13188         and libc_relro_required for ARM.
13189         * sysdeps/arm/preconfigure: Regenerate.
13191 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13192             Stefan Liebler  <stli@linux.vnet.ibm.com>
13194         * config.make.in (enable-lock-elision): New Makefile variable.
13195         * configure.ac: Likewise.
13196         * configure: Regenerate.
13197         * sysdeps/s390/configure.ac:
13198         Add check for gcc transactions support.
13199         * sysdeps/s390/configure: Regenerate.
13200         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13201         Build elision files if enabled.
13202         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13203         Add lock elision support for s390.
13204         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13205         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13206         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13207         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13208         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13209         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13210         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13211         Likewise.
13212         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13213         Likewise.
13214         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13215         Likewise.
13216         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13217         Likewise.
13218         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13219         (__lll_timedlock_elision, __lll_lock_elision)
13220         (__lll_unlock_elision, __lll_trylock_elision)
13221         (lll_timedlock_elision, lll_lock_elision)
13222         (lll_unlock_elision, lll_trylock_elision): Add.
13223         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13224         (pthread_mutex_t): Add lock elision support for s390.
13226 2014-05-14  Wilco  <wdijkstr@arm.com>
13228         * sysdeps/arm/fclrexcpt.c: Cleanup.
13229         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13230         * sysdeps/arm/feenablxcpt.c: Cleanup.
13231         * sysdeps/arm/fegetenv.c: Cleanup.
13232         * sysdeps/arm/fegetexcept.c: Cleanup.
13233         * sysdeps/arm/fegetround.c: Cleanup.
13234         * sysdeps/arm/feholdexcpt.c: Cleanup.
13235         * sysdeps/arm/fesetenv.c: Cleanup.
13236         * sysdeps/arm/fesetround.c: Cleanup.
13237         * sysdeps/arm/feupdateenv.c: Cleanup.
13238         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13239         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13240         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13241         * sysdeps/arm/ftestexcept.c: Cleanup.
13242         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13243         * sysdeps/arm/setfpucw.c: Cleanup.
13245 2014-05-09  Will Newton  <will.newton@linaro.org>
13247         * sysdeps/arm/armv7/strcmp.S: New file.
13248         * NEWS: Mention addition of ARMv7 optimized strcmp.
13250 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13252         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13253         look for %.ac rather than %.in.
13255         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13256         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13257         * sysdeps/mach/hurd/configure: Regenerated.
13258         * sysdeps/unix/sysv/linux/configure: Regenerated.
13260         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13262 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13264         [BZ# 16922]
13265         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13266         (LONG_SUB): Ditto.
13267         (PTR_SUB): Ditto.
13269 2014-05-07  Andreas Schwab  <schwab@suse.de>
13271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13272         when skipping over non-matching result from nscd.
13274 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13276         [BZ #16876]
13277         * nptl/sockperf.c (client): Check socket return value.
13279         [BZ #16877]
13280         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13281         nscd security class.
13283 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13285         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13286         * sysdeps/arm/unwind.h: ... here.
13288 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13290         [BZ# 16916]
13291         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13292         Define.
13294 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13296         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13297         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13298         multiarch strncpy for PPC64.
13299         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13300         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13302         multiarch optimizations.
13303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13304         (__libc_ifunc_impl_list): Likewise.
13305         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13306         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13307         multiarch stpncpy for PPC64.
13308         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13309         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13311 2014-05-06  Andreas Schwab  <schwab@suse.de>
13313         [BZ #16912]
13314         * gmon/mcount.c (_MCOUNT_DECL): Use
13315         atomic_compare_and_exchange_bool_acq instead of
13316         catomic_compare_and_exchange_bool_acq.
13318 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13320         * elf/Makefile (others, install-bin): Remove pldd.
13321         (pldd-modules): Variable removed.
13322         ($(objpfx)pldd): Target removed.
13323         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13324         (others, install-bin): Append pldd here.
13325         ($(objpfx)pldd): New target.
13327         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13328         to 0, so the first #if test emitted later doesn't see it undefined.
13329         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13330         * sysdeps/gnu/errlist.c: Regenerated.
13332 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13334         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13335         [libc_hidden_builtin_def]: Define to empty value.
13336         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13337         [libc_hidden_builtin_def]: Likewise.
13338         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13339         [libc_hidden_builtin_def]: Likewise.
13340         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13341         [libc_hidden_builtin_def]: Likewise.
13342         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13343         __redirect_memcpy and define ifunc as default hidden symbol.
13344         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13345         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13347 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13349         * locale/iso-4217.def: Reintroduce XDR currency.
13351 2014-05-04  Allan McRae  <allan@archlinux.org>
13353         * po/eo.po: Update Esperanto translation from translation project.
13355 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13357         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13358         and FEATURE_INDEX_MAX to 1.
13359         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13361 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13363         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13364         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13365         * iconvdata/big5.c (ONE_DIRECTION): Define.
13366         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13367         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13368         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13369         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13370         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13371         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13372         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13373         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13374         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13375         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13376         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13377         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13378         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13379         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13380         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13381         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13382         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13383         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13384         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13385         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13386         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13387         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13388         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13389         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13390         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13391         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13392         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13393         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13394         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13395         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13396         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13397         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13398         * iconvdata/johab.c (ONE_DIRECTION): Define.
13399         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13400         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13401         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13402         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13403         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13404         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13405         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13406         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13407         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13408         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13410 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13412         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13413         (_IO_JUMPS_OFFSET): Define to 0.
13415         * nptl/sysdeps/pthread/bits/libc-lock.h
13416         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13417         (__libc_lock_define_initialized_recursive): Always define using
13418         initializer.  Modern compilers treat uninitialized (implicit zero) and
13419         explicit zero initializers the same (i.e. put the datum in bss).
13421 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13423         * nscd/nscd-client.h: Include <string.h>.
13425 2014-05-01  David S. Miller  <davem@davemloft.net>
13427         [BZ #16885]
13428         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13429         multiple zero bytes exist at the end of a string.
13430         Reported by Aurelien Jarno <aurelien@aurel32.net>
13432         * string/test-strcmp.c (check): Add explicit test for situations where
13433         there are multiple zero bytes after the first.
13435 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13437         [BZ #16890]
13438         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13439         when compiling wprintf.
13440         * stdio-common/tstdiomisc.c (t3): New function.
13441         (main): Call it.
13443 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13445         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13446         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13447         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13448         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13450 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13452         * stdlib/longlong.h: Updated from GCC.
13454 2014-05-01  Will Newton  <will.newton@linaro.org>
13455             Bernard Ogden  <bernie.ogden@linaro.org>
13457         * NEWS: Update fixed bug list.
13459         [BZ #15119]
13460         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13462 2014-04-30  David S. Miller  <davem@davemloft.net>
13464         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13465         (libc_feholdexcept_setround_sparc_ctx): New function.
13466         (libc_fesetenv_sparc_ctx): Likewise.
13467         (libc_feupdateenv_sparc_ctx): Likewise.
13468         (libc_feholdsetround_sparc_ctx): Likewise.
13469         (libc_feholdexcept_setround_ctx): Define.
13470         (libc_feholdexcept_setroundf_ctx): Likewise.
13471         (libc_feholdexcept_setroundl_ctx): Likewise.
13472         (libc_fesetenv_ctx): Likewise.
13473         (libc_fesetenvf_ctx): Likewise.
13474         (libc_fesetenvl_ctx): Likewise.
13475         (libc_feupdateenv_ctx): Likewise.
13476         (libc_feupdateenvf_ctx): Likewise.
13477         (libc_feupdateenvl_ctx): Likewise.
13478         (libc_feresetround_ctx): Likewise.
13479         (libc_feresetroundf_ctx): Likewise.
13480         (libc_feresetroundl_ctx): Likewise.
13481         (libc_feholdsetround_ctx): Likewise.
13482         (libc_feholdsetroundf_ctx): Likewise.
13483         (libc_feholdsetroundl_ctx): Likewise.
13485         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13486         with __USE_GNU instead of XOPEN cpp guards.
13488         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13489         0.
13491         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13492         with XOPEN cpp guards.
13494 2014-04-30  Julian Brown  <julian@codesourcery.com>
13496         [BZ #16888]
13497         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13498         handling.
13500 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13502         [BZ #9894]
13503         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13504         Change to 2.6.32.
13505         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13506         * sysdeps/unix/sysv/linux/configure: Regenerated.
13507         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13508         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13509         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13510         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13511         * README: Update reference to required Linux kernel version.
13512         * manual/install.texi (Linux): Update reference to required Linux
13513         kernel headers version.
13514         * INSTALL: Regenerated.
13516         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13517         header inclusion.
13518         [POSIX] (limits.h): Likewise.
13519         [POSIX] (math.h): Likewise.
13520         [POSIX] (sys/wait.h): Likewise.
13521         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13522         function.
13523         [POSIX] (stddef.h): Do not allow header inclusion.
13525 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13527         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13529 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13531         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13532         Return immediately after lll_futex_wake.
13534 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13536         [BZ #16791]
13537         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13538         structure.
13539         (datahead_init_pos): Call datahead_init_common early.
13540         (datahead_init_neg): Likewise.
13542         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13543         datahead_init_neg): New functions.
13544         * nscd/aicache.c (addhstaiX): Use them.
13545         * nscd/grpcache.c (cache_addgr): Likewise.
13546         * nscd/hstcache.c (cache_addhst): Likewise.
13547         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13548         * nscd/netgroupcache.c (do_notfound): Likewise.
13549         (addgetnetgrentX): Likewise.
13550         (addinnetgrX): Likewise.
13551         * nscd/pwdcache.c (cache_addpw): Likewise.
13552         * nscd/servicescache.c (cache_addserv): Likewise.
13554 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13555             Atsushi Onoe  <atsushi@onoe.org>
13557         [BZ #14308]
13558         [BZ #12994]
13559         [BZ #13651]
13560         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13561         one response is valid.
13562         * resolv/res_send.c (send_dg): Check for validity of other
13563         response if the current response is a referral.
13565 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13567         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13569 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13571         [BZ #16823]
13572         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13573         Always divide by positive zero when computing -Inf result.
13574         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13575         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13577 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13579         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13580         FPSCR if value do not change.
13581         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13582         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13583         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13584         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13585         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13586         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13587         function.
13589 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13591         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13592         * sysdeps/unix/sysv/linux/hppa: Move directory from
13593         ports/systeps/unix/sysv/linux/hppa.
13594         * README: Update listing for hppa-*-linux-gnu.
13596 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13598         [BZ #16754]
13599         * manual/stdio.texi (Hook functions): Fix types of stream hook
13600         functions.
13601         [BZ #16854]
13602         * socket/sys/socket.h: Fix typo in comment.
13604 2014-04-28  Wilco  <wdijkstr@arm.com>
13606         * sysdeps/arm/fenv_private.h: New file.
13607         * sysdeps/arm/math_private.h: New file.
13608         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13610 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13612         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13613         with __int128_t.
13614         (La_x86_64_retval): Likewise.
13616 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13618         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13619         fpsr if value didn't change.
13620         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13621         to fpcr if value didn't change.
13622         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13623         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13624         fpsr or fpcr if value didn't change.
13625         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13626         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13627         fpcr if value didn't change.
13628         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13629         to fpsr if value didn't change.
13631 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13633         * nptl/tst-sem3.c: Use test-skeleton.c
13634         (main): Rename to do_test.  Use return instead of
13635         exit.
13636         * nptl/tst-sem4.c: Use test-skeleton.c
13637         (main): Rename to do_test.
13639 2014-04-22  David S. Miller  <davem@davemloft.net>
13641         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13642         (struct sigaction): New struct member __glibc_reserved0, change
13643         type of sa_flags to int.
13645 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13647         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13648         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13650 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13652         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13653         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13655 2014-04-22  Will Newton  <will.newton@linaro.org>
13656             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13658         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13659         (__longjmp): Add longjmp and longjmp_target SystemTap
13660         probes.
13661         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13662         (__sigsetjmp): Add setjmp SystemTap probe.
13664 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13666         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13667         match manual order.
13669 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13671         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13673         * sysdeps/powerpc/fpu/fenv_private.h
13674         (libc_feholdexcept_setroundl_ctx): Define to
13675         libc_feholdexcept_setround_ppc_ctx.
13676         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13677         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13678         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13679         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13681 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13683         * sysdeps/aarch64/math-tests.h: New file.
13685 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13687         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13688         New.
13689         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13690         Check and set bit_AVX2_Usable.
13691         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13692         macro.
13693         (bit_AVX2): Likewise.
13694         (index_AVX2_Usable): Likewise.
13695         (CPUID_AVX2): Likewise.
13696         (HAS_AVX2): Likewise.
13698 2014-04-17  Will Newton  <will.newton@linaro.org>
13700         * manual/setjmp.texi (System V contexts): Add note that
13701         calling setcontext on a context created by a call to a
13702         signal handler is undefined.  Update text to note that
13703         setcontext from a signal handler is possible but not
13704         recommended.
13706         [BZ #16629]
13707         * stdlib/tst-setcontext.c: Include signal.h.
13708         (main): Check that the signal stack before and
13709         after swapcontext is the same.
13711         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13712         Re-implement to restore registers in user code and avoid
13713         rt_sigreturn system call.
13715 2014-04-17  Wilco  <wdijkstr@arm.com>
13717         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13718         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13719         * math/test-fenv.c: Skip exception trap tests on targets which only
13720         support non-stop mode.
13722 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13723             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13725         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13726         (libc_feholdsetround_aarch64_ctx)
13727         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13728         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13729         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13730         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13731         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13732         (libc_feresetround_noexl_ctx): Define.
13734 2014-04-16  Richard Henderson  <rth@redhat.com>
13736         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13738         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13739         unwind tables.
13741         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13742         const from the non-libc, non-ldso copy.
13744         * sysdeps/alpha/libm-test-ulps: Regenerate.
13746 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13747             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13749         * sysdeps/aarch64/fpu/math_private.h: New file.
13751 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13753         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13755 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13757         [BZ #16275]
13758         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13759         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13760         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13761         Intel MPX bound registers before _dl_profile_fixup.
13762         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13763         registers after _dl_profile_fixup.  Save and restore bound
13764         registers bnd0/bnd1 when calling _dl_call_pltexit.
13765         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13766         (LR_BND_OFFSET): Likewise.
13767         (LRV_BND0_OFFSET): Likewise.
13768         (LRV_BND1_OFFSET): Likewise.
13770 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13772         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13773         to...
13774         * sysdeps/mach/hurd/i386/tls.h: ... here.
13775         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13776         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13777         fields.
13779 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13781         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13783 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13785         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13787 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13789         [BZ #14770]
13790         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13791         * sysdeps/s390/configure: Regenerate.
13793         [BZ #16824]
13794         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13795         Set round-to-nearest internally to reduce error accumulation.
13797 2014-04-16  Alan Modra  <amodra@gmail.com>
13799         [BZ #16740]
13800         [BZ #16619]
13801         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13802         * math/libm-test.inc (frexp_test_data): Add tests.
13803         * NEWS: Update fixed bug list.
13805 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13807         * benchtests/Makefile: Depend on libraries in build directory.
13808         (bench-math): Separate out math tests.
13809         (bench-pthread): Separate out pthread tests.
13810         (bench): Include math and pthread tests.
13812 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13814         [BZ #16831]
13815         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13816         _dl_debug_initialize.
13818         * configure.ac: Remove SELinux header check.
13819         * configure: Regenerate.
13820         * nscd/selinux.c (perms): Array of const char* to permission names.
13821         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13822         default policy. Call string_to_security_class and string_to_av_perm to
13823         translate strings. Enforce default policy and call avs_has_perm with
13824         results of translated strings.
13826 2014-04-13  David S. Miller  <davem@davemloft.net>
13828         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13830 2014-04-12  Allan McRae  <allan@archlinux.org>
13832         [BZ #16838]
13833         * manual/string.texi (Collation Functions): Fix qsort argument
13834         order in example.
13835         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13837 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13839         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13840         Make the test a no-op if there are no exceptions defined.
13842 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13844         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13845         enable-hardcoded-path-in-tests
13847 2014-04-11  Will Newton  <will.newton@linaro.org>
13849         * benchtests/Makefile (extra-objs): Add json-lib.o.
13850         (bench-func): Tidy up JSON output.
13851         * benchtests/bench-skeleton.c: Include json-lib.h.
13852         (main): Use JSON library functions to do output of
13853         benchmark results.
13854         * benchtests/bench-timing-type.c (main): Output the
13855         timing type simply, leaving formatting to the user.
13856         * benchtests/json-lib.c: New file.
13857         * benchtests/json-lib.h: Likewise.
13859 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13861         [BZ #15215]
13862         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13863         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13864         memory barriers.  Add comments.
13865         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13866         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13867         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13868         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13869         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13870         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13872 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13874         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13875         * sysdeps/s390/s390-64/configure.ac: ... this ...
13876         * sysdeps/s390/configure.ac: ... to here.
13877         * sysdeps/s390/s390-32/configure: Delete file.
13878         * sysdeps/s390/s390-64/configure: Delete file.
13879         * sysdeps/s390/configure: Regenerate.
13881 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13883         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13885 2014-04-11  Will Newton  <will.newton@linaro.org>
13887         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13888         to zero if it is not defined elsewhere.  (mtrim): Test
13889         the value of MALLOC_DEBUG with #if rather than #ifdef.
13891 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13893         * benchtests/pthread_once-inputs: New file.
13894         * benchtests/pthread_once-source.c: New file.
13895         * benchtests/README: Update documentation.
13897 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13898             H.J. Lu  <hongjiu.lu@intel.com>
13900         [BZ #16275]
13901         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13902         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13903         * sysdeps/x86_64/configure: Regenerated.
13904         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13905         macro.
13906         (REGISTER_SAVE_RAX): Likewise.
13907         (REGISTER_SAVE_RCX): Likewise.
13908         (REGISTER_SAVE_RDX): Likewise.
13909         (REGISTER_SAVE_RSI): Likewise.
13910         (REGISTER_SAVE_RDI): Likewise.
13911         (REGISTER_SAVE_R8): Likewise.
13912         (REGISTER_SAVE_R9): Likewise.
13913         (REGISTER_SAVE_BND0): Likewise.
13914         (REGISTER_SAVE_BND1): Likewise.
13915         (REGISTER_SAVE_BND2): Likewise.
13916         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13917         bound registers when calling _dl_fixup.
13919 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13921         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13922         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13923         of its definition.
13924         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13925         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13926         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13927         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13928         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13929         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13930         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13932 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13934         [BZ #15514]
13935         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13936         pathconf(_PC_NAME_MAX).
13938 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13940         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13941         Remove macro usage.
13942         (__PTHREAD_SPINS): Move definition to ...
13943         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13944         (__PTHREAD_SPINS): ... here.
13945         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13946         (__PTHREAD_SPIN): Likewise.
13947         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13948         (__PTHREAD_SPIN): Likewise.
13949         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13950         (__PTHREAD_SPIN): Likewise.
13951         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13952         (__PTHREAD_SPIN): Likewise.
13953         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13954         (__PTHREAD_SPIN): Likewise.
13955         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13956         (__PTHREAD_SPIN): Likewise.
13957         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13958         (__PTHREAD_SPIN): Likewise.
13959         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13960         (__PTHREAD_SPIN): Likewise.
13961         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13962         (__PTHREAD_SPIN): Likewise.
13963         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13964         (__PTHREAD_SPIN): Likewise.
13965         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13966         (__PTHREAD_SPIN): Likewise.
13967         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13968         (__PTHREAD_SPIN): Likewise.
13970         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13971         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13972         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13973         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13974         imply folder.
13975         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13976         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13977         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13978         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13979         correct imply path.
13980         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13981         strlen symbol for non multi-arch builds.
13982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13983         missing hidden_def and weak_alias.
13985 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13987         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13989 2014-04-07  Will Newton  <will.newton@linaro.org>
13991         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13992         and contents.  [!_LIBC] Remove #ifndef and contents.
13993         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13994         * string/memccpy.c (__memccpy): Use ANSI prototype.
13995         * string/memfrob.c (memfrob): Likewise.
13996         * string/strcoll.c (STRCOLL): Likewise.
13997         * string/strlen.c (strlen): Likewise.
13998         * string/strtok.c (STRTOK): Likewise.
13999         * string/strcat.c: Remove unused #include of memcopy.h.
14000         (strcat): Use ANSI prototype.
14001         * string/strchr.c: Remove unused #include of memcopy.h.
14002         (strchr): Use ANSI prototype.
14003         * string/strcmp.c: Remove unused #include of memcopy.h.
14004         (strcmp): Use ANSI prototype.
14005         * string/strcpy.c: Remove unused #include of memcopy.h.
14006         (strcpy): Use ANSI prototype.
14008 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14010         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14011         * config.make.in (config-extra-cppflags): Set it from
14012         libc_extra_cppflags.
14013         * configure.ac (libc_extra_cflags): Make it accumulate over
14014         configure fragments.
14015         (libc_extra_cppflags): New flag.
14016         * configure. Regenerate.
14017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14018         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14019         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14022         [BZ #16815]
14023         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14024         result for FE_DOWNWARD rounding mode.
14025         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14026         Likewise.
14027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14029 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
14031         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14032         in function argument name.
14034 2014-04-03  David Svoboda  <svoboda@cert.org>
14036         [BZ #5666]
14037         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14038         explicitly.
14040 2014-04-03  Roland McGrath  <roland@hack.frob.com>
14042         * elf/dl-unmap-segments.h: New file.
14043         * sysdeps/generic/ldsodefs.h
14044         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14045         * elf/dl-close.c: Include <dl-unmap-segments.h>.
14046         * elf/dl-fptr.c: Likewise.
14047         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14048         * sysdeps/aarch64/tlsdesc.c: Likewise.
14049         * sysdeps/arm/tlsdesc.c: Likewise.
14050         * sysdeps/i386/tlsdesc.c: Likewise.
14051         * sysdeps/tile/dl-runtime.c: Likewise.
14052         * sysdeps/x86_64/tlsdesc.c: Likewise.
14053         * elf/dl-load.h: New file.
14054         * elf/dl-load.c: Include it.
14055         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14056         Macros moved to dl-load.h.
14057         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14058         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14059         Use _dl_unmap_segments in place of __munmap.
14060         Break out segment-mapping loop into ...
14061         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14063 2014-04-03  Will Newton  <will.newton@linaro.org>
14065         * elf/dl-lookup.c (do_lookup_x): Remove comment
14066         referring to nested function and move variable
14067         declarations down to before first use.
14069 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
14071         [BZ #16799]
14072         [BZ #16800]
14073         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14074         with 0 numerator.
14075         * math/s_catanf.c (__catanf): Likewise.
14076         * math/s_catanh.c (__catanh): Likewise.
14077         * math/s_catanhf.c (__catanhf): Likewise.
14078         * math/s_catanhl.c (__catanhl): Likewise.
14079         * math/s_catanl.c (__catanl): Likewise.
14080         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14081         by positive zero when computing -Inf result.
14082         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14083         (catanh_test): Likewise.
14084         * sysdeps/i386/fpu/libm-test-ulps: Update.
14085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14087         [BZ #16789]
14088         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14089         instead of using underflowing value in computing result.
14090         * math/s_clog10.c (__clog10): Likewise.
14091         * math/s_clog10f.c (__clog10f): Likewise.
14092         * math/s_clog10l.c (__clog10l): Likewise.
14093         * math/s_clogf.c (__clogf): Likewise.
14094         * math/s_clogl.c (__clogl): Likewise.
14095         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14096         (clog10_test): Likewise.
14097         * sysdeps/i386/fpu/libm-test-ulps: Update.
14098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14100 2014-04-02  Alan Modra  <amodra@gmail.com>
14102         [BZ #16739]
14103         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14104         output when value is near a power of two.  Use int64_t for lx and
14105         remove casts.  Use decimal rather than hex exponent constants.
14106         Don't use long double multiplication when double will suffice.
14107         * math/libm-test.inc (nextafter_test_data): Add tests.
14108         * NEWS: Add 16739 and 16786 to bug list.
14110         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14112         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14114 2014-04-01  Will Newton  <will.newton@linaro.org>
14116         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14117         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14119 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14121         [BZ #13347]
14122         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14123         * nptl/tst-setuid2.c: New file.
14124         * nptl/Makefile (xtests): Add tst-setuid2.
14126 2014-04-01  Alan Modra  <amodra@gmail.com>
14128         [BZ #16786]
14129         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14131 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14133         [BZ #6803]
14134         [BZ #6804]
14135         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14136         set errno as appropriate.
14137         * math/w_scalbf.c (__scalbf): Likewise.
14138         * math/w_scalbl.c (__scalbl): Likewise.
14139         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14140         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14141         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14142         Add more NaN tests.
14144         [BZ #16349]
14145         * math/w_atan2.c: Include <errno.h>.
14146         (__atan2): Set errno for result underflowing to zero.
14147         * math/w_atan2f.c: Include <errno.h>.
14148         (__atan2f): Set errno for result underflowing to zero.
14149         * math/w_atan2l.c: Include <errno.h>.
14150         (__atan2l): Set errno for result underflowing to zero.
14151         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14152         tests.
14153         * math/auto-libm-test-out: Regenerated.
14155 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14157         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14158         Encode instruction correctly in little endian.
14159         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14160         Likewise.
14161         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14162         Likewise.
14163         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14164         Likewise.
14165         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14166         Likewise.
14168 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14170         [BZ #9894]
14171         * sysdeps/unix/sysv/linux/kernel-features.h
14172         [__sparc__ && !__arch64__ && !__sparc_v9__]
14173         (__ASSUME_SET_ROBUST_LIST): Do not define.
14174         [__sparc__ && !__arch64__ && !__sparc_v9__]
14175         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14176         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14177         Likewise.
14178         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14179         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14180         (__ASSUME_REQUEUE_PI): Likewise.
14181         (__ASSUME_SET_ROBUST_LIST): Likewise.
14182         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14183         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14184         Undefine.
14185         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14186         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14187         Likewise.
14188         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14189         Likewise.
14190         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14191         Likewise.
14192         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14193         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14194         Undefine.
14195         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14196         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14197         Likewise.
14199         [BZ #16648]
14200         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14201         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14202         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14204 2014-03-31  Will Newton  <will.newton@linaro.org>
14206         * benchtests/Makefile (bench): Add ffs and ffsll to list
14207         of tests.
14208         * benchtests/ffs-inputs: New file.
14209         * benchtests/ffsll-inputs: Likewise.
14211 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14213         [BZ #16770]
14214         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14215         too large before casting to int.
14216         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14217         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14218         * math/libm-test.inc (scalb_test_data): Add more tests.
14220 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14222         * benchtests/Makefile (DETAILED_OPT): New make option.
14223         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14224         set.
14225         * benchtests/bench-skeleton.c: Include stdbool.h.
14226         (main): Store and print timings per input.
14227         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14228         member to each argument value.
14229         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14230         (_print_arg_data): Initialize per-input timing to 0.
14232         * benchtests/Makefile (timing-type): New binary.
14233         (bench-clean): Also remove bench-timing-type.
14234         (bench): New target for timing-type.
14235         (bench-func): Print output in JSON format.
14236         * benchtests/bench-skeleton.c (main): Print output in JSON
14237         format.
14238         * benchtests/bench-timing-type.c: New file.
14239         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14240         (TIMING_PRINT_STATS): Remove.
14241         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14242         name separately.
14244         * benchtests/bench-modf.c: Remove.
14245         * benchtests/modf-inputs: New inputs file.
14247 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14249         [BZ #16362]
14250         * math/s_clog10.c (M_PI_LOG10E): New macro.
14251         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14252         imaginary parts are 0.
14253         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14254         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14255         imaginary parts are 0.
14256         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14257         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14258         imaginary parts are 0.
14259         * math/libm-test.inc (clog10_test_data): Update expected results
14260         for when real and imaginary parts are 0.
14262 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14264         * elf/dl-load.c: Finish conversion of __builtin_expect into
14265         __glibc_{un}likely.
14267 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14269         [BZ #16348]
14270         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14271         1+x for argument with exponent below -67.
14272         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14273         Likewise.
14274         * math/auto-libm-test-in: Add more tests of exp.
14275         * math/auto-libm-test-out: Regenerated.
14277 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14279         [BZ #16759]
14280         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14281         (nscd_getnetgrent): Use it.
14283         [BZ #16760]
14284         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14285         of stpcpy.
14287 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14289         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14290         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14291         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14292         (lll_robust_unlock): Remove out of line section. Use cfi
14293         intrinsics.
14294         (LLL_STUB_UNWIND_INFO*): Remove.
14295         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14296         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14297         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14298         (lll_robust_unlock): Remove out of line section. Use cfi
14299         intrinsics.
14300         (LLL_STUB_UNWIND_INFO*): Remove.
14302 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14304         [BZ #16758]
14305         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14306         blank values.
14308 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14310         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14312 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14314         [BZ #16198]
14315         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14316         fnstenv.
14317         * math/test-fenv-preserve.c: New file.
14318         * math/Makefile (tests): Add test-fenv-preserve.
14320 2014-03-26  Will Newton <will.newton@linaro.org>
14322         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14324 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14326         * scripts/versionlist.awk: Partition the version sets and emit all
14327         GLIBC_* (sorted) before all others (sorted).
14329 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14331         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14332         GLIBC_2.2.5 version.
14334 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14336         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14337         calls.
14339         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14340         previous change.
14342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14344 2014-03-25  Andreas Schwab  <schwab@suse.de>
14346         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14347         label to be used after in6ailist is initialized.
14349 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14351         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14352         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14354 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14356         [BZ #16357]
14357         [BZ #16599]
14358         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14359         min_plus_half.
14360         (fp_formats): Update initializers.
14361         (init_fp_formats): Initialize new field.
14362         (output_for_one_input_case): Allow underflow for results up to
14363         min_plus_half.
14364         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14365         * math/auto-libm-test-in: Don't mark some underflows from asin and
14366         atanh as spurious.
14367         * math/auto-libm-test-out: Regenerated.
14368         * sysdeps/i386/fpu/libm-test-ulps: Update.
14369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14371 2014-03-25  Andreas Schwab  <schwab@suse.de>
14373         * libio/Makefile (tst-ftell-partial-wide-ENV)
14374         (tst-ftell-active-handler-ENV): Define.
14376 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14378         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14380 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14382         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14384 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14386         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14387         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14388         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14390 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14392         [BZ #16634]
14393         * elf/dl-load.c (open_verify): Add mode parameter.
14394         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14395         (open_path): Change from boolean 'secure' to complete flag 'mode'
14396         (_dl_map_object): Adjust.
14397         * elf/Makefile (tests): Add tst-dlopen-aout.
14398         * elf/tst-dlopen-aout.c: New test.
14400 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14402         [BZ #16714]
14403         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14404         (struct stat): Rename member pad0 to __glibc_reserved0.
14406         [BZ #16712]
14407         * sysdeps/s390/s390-32/bits/wordsize.h
14408         (__WORDSIZE32_SIZE_ULONG): New define.
14409         * sysdeps/s390/s390-64/bits/wordsize.h
14410         (__WORDSIZE32_SIZE_ULONG): Likewise.
14411         * sysdeps/generic/stdint.h (SIZE_MAX):
14412         Define as UL if __WORDSIZE32_SIZE_ULONG.
14414         [BZ #16713]
14415         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14416         (__glibc_reserved0): New variable.
14417         (sa_flags): Change type to int.
14419         * posix/Makefile (before-compile): Use += before-compile instead
14420         of a :=.
14422         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14423         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14425 2014-03-20  Andreas Schwab  <schwab@suse.de>
14427         [BZ #16743]
14428         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14429         non-matching result from nscd.
14431 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433         * scripts/bench.py: Moved to ...
14434         * benchtests/scripts/bench.py: ... here.
14435         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14437 2014-03-24  Andreas Schwab  <schwab@suse.de>
14439         [BZ #16002]
14440         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14441         alloca_account and account alloca use for struct in6ailist.
14443 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14445         [BZ #16284]
14446         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14447         rounding mode to recompute results that overflow to infinity or
14448         underflow to zero.
14449         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14450         bug 16284.
14451         * math/auto-libm-test-out: Regenerated.
14452         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14453         (ccosh_test): Likewise.
14454         (csin_test_data): Use plus_oflow.
14455         (csin_test): Use ALL_RM_TEST.
14456         (csinh_test_data): Use plus_oflow.
14457         (csinh_test): Use ALL_RM_TEST.
14458         * sysdeps/i386/fpu/libm-test-ulps: Update.
14459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14461 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14463         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14464         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14465         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14467         [BZ #16731]
14468         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14469         when x - 1 is zero.
14470         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14471         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14472         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14473         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14474         argument is 1.
14475         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14476         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14477         zero.
14478         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14479         * sysdeps/i386/fpu/libm-test-ulps: Update.
14480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14482 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14484         * scripts/bench.pl: Remove file.
14485         * scripts/bench.py: New benchmark script.
14486         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14487         * benchtests/README: Mention python dependency.
14488         * scripts/pylintrc: New file.
14489         * scripts/pylint: New file.
14491         * bits/mathdef.h: Use #ifdef instead of #if.
14492         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14493         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14494         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14495         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14496         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14497         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14499 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14500             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14502         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14504         and strpbrk-ppc64 objects.
14505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14506         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14507         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14508         multiarch strpbrk for POWER7.
14509         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14510         multiarch strpbrk for PPC64.
14511         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14512         ifunc selector.
14513         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14514         strpbrk for POWER7.
14516 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14518         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14519         (atan_test): Likewise.
14520         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14521         (atanh_test): Use ALL_RM_TEST.
14522         (atan2_test_data): Likewise.
14523         (cabs_test): Likewise.
14524         (cacosh_test): Likewise.
14525         (carg_test): Likewise.
14526         (casin_test): Likewise.
14527         (casinh_test): Likewise.
14528         (cbrt_test): Likewise.
14529         (csqrt_test): Likewise.
14530         (erf_test): Likewise.
14531         (erfc_test): Likewise.
14532         (pow10_test): Likewise.
14533         (exp2_test): Likewise.
14534         (hypot_test): Likewise.
14535         (j0_test): Likewise.
14536         (j1_test): Likewise.
14537         (lgamma_test): Likewise.
14538         (gamma_test): Likewise.
14539         (sincos_test): Likewise.
14540         (tanh_test): Likewise.
14541         (y0_test): Likewise.
14542         (y1_test): Likewise.
14543         * sysdeps/i386/fpu/libm-test-ulps: Update.
14544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14546 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14548         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14549         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14550         and strcspn-ppc64 objects.
14551         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14552         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14553         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14554         multiarch strcspn for POWER7.
14555         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14556         multiarch strcspn for PPC64.
14557         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14558         ifunc selector.
14559         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14560         strcspn for POWER7.
14562 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14564         * math/gen-libm-test.pl (generate_testfile): Expect only function
14565         name as argument to AUTO_TESTS_* and pass results for all rounding
14566         modes to parse_args.
14567         (parse_auto_input): Separate inputs of automatic tests from
14568         outputs before storing in %auto_tests.
14569         * math/libm-test.inc (acos_test_data): Update call to
14570         AUTO_TESTS_f_f.
14571         (acos_test): Use ALL_RM_TEST.
14572         (acos_tonearest_test_data): Remove.
14573         (acos_test_tonearest): Likewise.
14574         (acos_towardzero_test_data): Likewise.
14575         (acos_test_towardzero): Likewise.
14576         (acos_downward_test_data): Likewise.
14577         (acos_test_downward): Likewise.
14578         (acos_upward_test_data): Likewise.
14579         (acos_test_upward): Likewise.
14580         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14581         (asin_test_data): Likewise.
14582         (asin_test): Use ALL_RM_TEST.
14583         (asin_tonearest_test_data): Remove.
14584         (asin_test_tonearest): Likewise.
14585         (asin_towardzero_test_data): Likewise.
14586         (asin_test_towardzero): Likewise.
14587         (asin_downward_test_data): Likewise.
14588         (asin_test_downward): Likewise.
14589         (asin_upward_test_data): Likewise.
14590         (asin_test_upward): Likewise.
14591         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14592         (atan_test_data): Likewise.
14593         (atanh_test_data): Likewise.
14594         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14595         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14596         (carg_test_data): Likewise.
14597         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14598         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14599         (ccosh_test_data): Likewise.
14600         (cexp_test_data): Likewise.
14601         (clog_test_data): Likewise.
14602         (clog10_test_data): Likewise.
14603         (cos_test_data): Update call to AUTO_TESTS_f_f.
14604         (cos_test): Use ALL_RM_TEST.
14605         (cos_tonearest_test_data): Remove.
14606         (cos_test_tonearest): Likewise.
14607         (cos_towardzero_test_data): Likewise.
14608         (cos_test_towardzero): Likewise.
14609         (cos_downward_test_data): Likewise.
14610         (cos_test_downward): Likewise.
14611         (cos_upward_test_data): Likewise.
14612         (cos_test_upward): Likewise.
14613         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14614         (cosh_test): Use ALL_RM_TEST.
14615         (cosh_tonearest_test_data): Remove.
14616         (cosh_test_tonearest): Likewise.
14617         (cosh_towardzero_test_data): Likewise.
14618         (cosh_test_towardzero): Likewise.
14619         (cosh_downward_test_data): Likewise.
14620         (cosh_test_downward): Likewise.
14621         (cosh_upward_test_data): Likewise.
14622         (cosh_test_upward): Likewise.
14623         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14624         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14625         (ctan_test_data): Likewise.
14626         (ctan_test): Use ALL_RM_TEST.
14627         (ctan_tonearest_test_data): Remove.
14628         (ctan_test_tonearest): Likewise.
14629         (ctan_towardzero_test_data): Likewise.
14630         (ctan_test_towardzero): Likewise.
14631         (ctan_downward_test_data): Likewise.
14632         (ctan_test_downward): Likewise.
14633         (ctan_upward_test_data): Likewise.
14634         (ctan_test_upward): Likewise.
14635         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14636         (ctanh_test): Use ALL_RM_TEST.
14637         (ctanh_tonearest_test_data): Remove.
14638         (ctanh_test_tonearest): Likewise.
14639         (ctanh_towardzero_test_data): Likewise.
14640         (ctanh_test_towardzero): Likewise.
14641         (ctanh_downward_test_data): Likewise.
14642         (ctanh_test_downward): Likewise.
14643         (ctanh_upward_test_data): Likewise.
14644         (ctanh_test_upward): Likewise.
14645         (erf_test_data): Update call to AUTO_TESTS_f_f.
14646         (erfc_test_data): Likewise.
14647         (exp_test_data): Likewise.
14648         (exp_test): Use ALL_RM_TEST.
14649         (exp_tonearest_test_data): Remove.
14650         (exp_test_tonearest): Likewise.
14651         (exp_towardzero_test_data): Likewise.
14652         (exp_test_towardzero): Likewise.
14653         (exp_downward_test_data): Likewise.
14654         (exp_test_downward): Likewise.
14655         (exp_upward_test_data): Likewise.
14656         (exp_test_upward): Likewise.
14657         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14658         (exp10_test): Use ALL_RM_TEST.
14659         (exp10_tonearest_test_data): Remove.
14660         (exp10_test_tonearest): Likewise.
14661         (exp10_towardzero_test_data): Likewise.
14662         (exp10_test_towardzero): Likewise.
14663         (exp10_downward_test_data): Likewise.
14664         (exp10_test_downward): Likewise.
14665         (exp10_upward_test_data): Likewise.
14666         (exp10_test_upward): Likewise.
14667         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14668         (expm1_test_data): Likewise.
14669         (expm1_test): Use ALL_RM_TEST.
14670         (expm1_tonearest_test_data): Remove.
14671         (expm1_test_tonearest): Likewise.
14672         (expm1_towardzero_test_data): Likewise.
14673         (expm1_test_towardzero): Likewise.
14674         (expm1_downward_test_data): Likewise.
14675         (expm1_test_downward): Likewise.
14676         (expm1_upward_test_data): Likewise.
14677         (expm1_test_upward): Likewise.
14678         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14679         (fma_test): Use ALL_RM_TEST.
14680         (fma_towardzero_test_data): Remove.
14681         (fma_test_towardzero): Likewise.
14682         (fma_downward_test_data): Likewise.
14683         (fma_test_downward): Likewise.
14684         (fma_upward_test_data): Likewise.
14685         (fma_test_upward): Likewise.
14686         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14687         (j0_test_data): Update call to AUTO_TESTS_f_f.
14688         (j1_test_data): Likewise.
14689         (jn_test_data): Update call to AUTO_TESTS_if_f.
14690         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14691         (log_test_data): Update call to AUTO_TESTS_f_f.
14692         (log10_test_data): Likewise.
14693         (log1p_test_data): Likewise.
14694         (log2_test_data): Likewise.
14695         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14696         (pow_tonearest_test_data): Likewise.
14697         (sin_test_data): Update call to AUTO_TESTS_f_f.
14698         (sin_test): Use ALL_RM_TEST.
14699         (sin_tonearest_test_data): Remove.
14700         (sin_test_tonearest): Likewise.
14701         (sin_towardzero_test_data): Likewise.
14702         (sin_test_towardzero): Likewise.
14703         (sin_downward_test_data): Likewise.
14704         (sin_test_downward): Likewise.
14705         (sin_upward_test_data): Likewise.
14706         (sin_test_upward): Likewise.
14707         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14708         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14709         (sinh_test): Use ALL_RM_TEST.
14710         (sinh_tonearest_test_data): Remove.
14711         (sinh_test_tonearest): Likewise.
14712         (sinh_towardzero_test_data): Likewise.
14713         (sinh_test_towardzero): Likewise.
14714         (sinh_downward_test_data): Likewise.
14715         (sinh_test_downward): Likewise.
14716         (sinh_upward_test_data): Likewise.
14717         (sinh_test_upward): Likewise.
14718         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14719         (sqrt_test): Use ALL_RM_TEST.
14720         (sqrt_tonearest_test_data): Remove.
14721         (sqrt_test_tonearest): Likewise.
14722         (sqrt_towardzero_test_data): Likewise.
14723         (sqrt_test_towardzero): Likewise.
14724         (sqrt_downward_test_data): Likewise.
14725         (sqrt_test_downward): Likewise.
14726         (sqrt_upward_test_data): Likewise.
14727         (sqrt_test_upward): Likewise.
14728         (tan_test_data): Update call to AUTO_TESTS_f_f.
14729         (tan_test): Use ALL_RM_TEST.
14730         (tan_tonearest_test_data): Remove.
14731         (tan_test_tonearest): Likewise.
14732         (tan_towardzero_test_data): Likewise.
14733         (tan_test_towardzero): Likewise.
14734         (tan_downward_test_data): Likewise.
14735         (tan_test_downward): Likewise.
14736         (tan_upward_test_data): Likewise.
14737         (tan_test_upward): Likewise.
14738         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14739         (tgamma_test_data): Likewise.
14740         (y0_test_data): Likewise.
14741         (y1_test_data): Likewise.
14742         (yn_test_data): Update call to AUTO_TESTS_if_f.
14743         (main): Do not call removed functions.
14745 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14747         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14748         (ldexp_test_data): Remove.
14749         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14750         scalbn_test_data.
14751         (scalb_test): Use ALL_RM_TEST.
14753 2014-03-19  Andreas Schwab  <schwab@suse.de>
14755         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14757 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14759         [BZ #16649]
14760         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14761         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14762         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14763         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14764         (__ASSUME_PREADV): Undefine.
14765         (__ASSUME_PWRITEV): Likewise.
14767 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14769         * bits/mman-linux.h: Add comment about non-Linux use.
14770         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14771         bits/mman-linux.h resting place.
14773         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14774         * bits/mman-linux.h: ... here.
14776 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14778         * conform/conformtest.pl: Add standard definition when calling C
14779         preprocessor on data files.
14780         (checknamespace): Remove unused variable.
14782 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14784         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14785         minus_oflow, plus_uflow and minus_uflow in expected results.
14786         * math/libm-test.inc (scalbn_test_data): Add more tests of
14787         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14788         minus_uflow.
14789         (scalbn_test): Use ALL_RM_TEST.
14790         (scalbln_test_data): Add more tests of negative arguments.  Use
14791         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14792         (scalbln_test): Use ALL_RM_TEST.
14794 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14796         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14798 2014-03-18  Will Newton  <will.newton@linaro.org>
14800         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14801         inaccurate comment.
14803 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14805         * Makerules [!subdir] (check-abi): Exit with error status if a
14806         test failed.
14808 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14810         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14811         for rint.  Include results for all rounding modes.
14812         (nearbyint_test): Use ALL_RM_TEST.
14813         (rint_test_data): Include all tests used for nearbyint.
14815 2014-03-17  Will Newton  <will.newton@linaro.org>
14817         * nptl/sysdeps/pthread/pthread.h: Revert previous
14818         change.
14820         * sysdeps/generic/ldsodefs.h: Revert previous
14821         change.
14823         * libio/genops.c: Revert previous change.
14824         * libio/libioP.h: Likewise.
14825         * stdio-common/vfprintf.c: Likewise.
14827         * sysdeps/generic/math_private.h: Revert previous
14828         change.
14830         * sysdeps/generic/math_private.h: Check whether
14831         HAVE_RM_CTX is defined with #ifdef rather
14832         than #if.
14834         * argp/argp-fmtstream.h: Check whether
14835         __STRICT_ANSI__ is defined with #ifdef rather
14836         than #if.
14837         * argp/argp.h: Likewise.
14839         * libio/genops.c: Check whether
14840         _IO_JUMPS_OFFSET is defined with #ifdef rather
14841         than #if.
14842         * libio/libioP.h: Likewise.
14843         * stdio-common/vfprintf.c: Likewise.
14845         * sysdeps/generic/ldsodefs.h: Check whether
14846         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14847         than #if.
14849         * nptl/sysdeps/pthread/pthread.h: Check
14850         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14851         its value.
14853 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14855         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14856         setting O_APPEND.
14857         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14858         test case.
14860         [BZ #16680]
14861         * libio/fileops.c (_IO_file_open): Seek to end of file but
14862         don't cache the offset.
14863         (get_file_offset): Remove function.
14864         (do_ftell): Use cached offset when available.
14865         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14866         don't cache the offset.
14867         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14868         case.
14869         (do_one_test): Call it.
14870         (do_ftell_test): Fix up expected old offset for a+ mode.
14871         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14872         available.
14874         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14875         up test status with function return status.
14876         (do_write_test): Likewise.
14877         (do_append_test): Likewise.
14879         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14880         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14881         Remove.
14883 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14885         * math/gen-libm-test.pl (parse_args): Handle results specified for
14886         each rounding mode separately.
14887         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14888         tests and results from lrint_tonearest_test_data,
14889         lrint_towardzero_test_data, lrint_downward_test_data and
14890         lrint_upward_test_data.
14891         (lrint_test): Use ALL_RM_TEST.
14892         (lrint_tonearest_test_data): Remove.
14893         (lrint_test_tonearest): Likewise.
14894         (lrint_towardzero_test_data): Likewise.
14895         (lrint_test_towardzero): Likewise.
14896         (lrint_downward_test_data): Likewise.
14897         (lrint_test_downward): Likewise.
14898         (lrint_upward_test_data): Likewise.
14899         (lrint_test_upward): Likewise.
14900         (llrint_test_data): Merge in per-rounding-mode tests and results
14901         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14902         llrint_downward_test_data and llrint_upward_test_data.
14903         (llrint_test): Use ALL_RM_TEST.
14904         (llrint_tonearest_test_data): Remove.
14905         (llrint_test_tonearest): Likewise.
14906         (llrint_towardzero_test_data): Likewise.
14907         (llrint_test_towardzero): Likewise.
14908         (llrint_downward_test_data): Likewise.
14909         (llrint_test_downward): Likewise.
14910         (llrint_upward_test_data): Likewise.
14911         (llrint_test_upward): Likewise.
14912         (rint_test_data): Merge in per-rounding-mode tests and results
14913         from rint_tonearest_test_data, rint_towardzero_test_data,
14914         rint_downward_test_data and rint_upward_test_data.  Add
14915         per-rounding-mode results for tests not in those arrays.
14916         (rint_test): Use ALL_RM_TEST.
14917         (rint_tonearest_test_data): Remove.
14918         (rint_test_tonearest): Likewise.
14919         (rint_towardzero_test_data): Likewise.
14920         (rint_test_towardzero): Likewise.
14921         (rint_downward_test_data): Likewise.
14922         (rint_test_downward): Likewise.
14923         (rint_upward_test_data): Likewise.
14924         (rint_test_upward): Likewise.
14925         (main): Don't call removed functions.
14927 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14929         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14930         "Compiled on ..." crapola.  It is anti-useful.
14932 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14934         * scripts/evaluate-test.sh: Handle fourth argument to determine
14935         whether test run should stop on failure.
14936         * Makeconfig (stop-on-test-failure): New variable.
14937         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14938         $(stop-on-test-failure).
14939         * Makefile (tests): Give a summary of results from testing and
14940         exit with failure status if they include an ERROR or FAIL.
14941         (xtests): Likewise.
14942         * manual/install.texi (Configuring and compiling): Mention
14943         stop-on-test-failure=y.
14944         * INSTALL: Regenerated.
14946 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14948         * scripts/versionlist.awk: New file.
14949         * Makerules [$(build-shared) = yes]
14950         (postclean-generated): Add Versions.def, not Versions.def.v and
14951         Versions.def.v.i.
14952         ($(common-objpfx)Versions.def.v.i): Target removed.
14953         ($(common-objpfx)Versions.def): New target.
14954         ($(common-objpfx)Versions.all): Depend on that rather that
14955         $(common-objpfx)Versions.def.v.
14956         * Versions.def: File removed.
14958         * Makeconfig (+gccwarn): Add -Wundef.
14959         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14960         a dl-sysdep.h breaking its contract.
14961         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14962         * include/stackinfo.h: New file.
14963         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14964         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14965         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14966         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14967         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14968         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14969         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14970         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14971         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14972         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14973         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14974         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14975         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14976         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14977         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14979 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14981         [BZ #16707]
14982         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14983         implementation.
14984         * math/libm-test.inc (round_test_data): Add more tests.
14986         [BZ #16706]
14987         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14988         implementation.
14989         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14991         [BZ #16701]
14992         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14993         implementation.
14994         * math/libm-test.inc (ceil_test_data): Add more tests.
14996         * math/libm-test.inc (trunc_test_data): Add more tests related to
14997         BZ#16414.
14999 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15001         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15002         with #if rather than #ifdef.
15003         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15005 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
15007         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15008         first.  Disable AVX-512 GCC support if assembler doesn't support
15009         it.
15010         * sysdeps/x86_64/configure: Regenerated.
15012 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
15014         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15015         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15016         (__old_pthread_attr_setstack): Likewise.
15017         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15018         [!_STACK_GROWS_DOWN]: Likewise.
15020 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15022         * config.make.in (have-bash2): Delete.
15023         * configure.ac (libc_cv_have_bash2): Delete.
15024         * configure: Regenerate.
15025         * elf/Makefile (common-ldd-rewrite): Rename to ...
15026         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
15027         (sh-ldd-rewrite): Delete.
15028         (bash-ldd-rewrite): Delete.
15029         (have-bash2): Delete checks.
15030         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15031         ldd-rewrite.
15033         * config.make.in (have-ksh): Delete.
15034         (KSH): Delete.
15035         * configure.ac (libc_cv_have_ksh): Delete.
15036         * configure: Regenerate.
15038         * elf/Makefile: Delete $(have-ksh) check.
15039         ($(objpfx)sotruss): Change KSH to BASH.
15040         * elf/sotruss.ksh: Rename to ...
15041         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
15042         function style to match POSIX.  Drop ksh vim mode setting.
15044         * manual/time.texi (Specifying the Time Zone with TZ): Change
15045         Tuesday to Thursday.
15047         * debug/tst-longjmp_chk2.c: Update header comment.
15048         (stackoverflow_handler): Add comment.  Call assert on pass value.
15050 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
15052         [BZ #16194]
15053         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15054         (HAVE_AVX512_ASM_SUPPORT): Likewise.
15055         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15056         (La_x86_64_vector): Add zmm.
15057         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15058         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15059         ($(objpfx)tst-audit10): New target.
15060         ($(objpfx)tst-audit10.out): Likewise.
15061         (tst-audit10-ENV): New.
15062         (AVX512-CFLAGS): Likewise.
15063         (CFLAGS-tst-audit10.c): Likewise.
15064         (CFLAGS-tst-auditmod10a.c): Likewise.
15065         (CFLAGS-tst-auditmod10b.c): Likewise.
15066         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15067         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15068         * sysdeps/x86_64/configure: Regenerated.
15069         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15070         AVX-512 zmm register support.
15071         (_dl_x86_64_save_sse): Likewise.
15072         (_dl_x86_64_restore_sse): Likewise.
15073         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15074         size vector registers.
15075         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15076         (ZMM_SIZE): Likewise.
15077         * sysdeps/x86_64/tst-audit10.c: New file.
15078         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15079         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15081 2014-03-13  Roland McGrath  <roland@hack.frob.com>
15083         * configure.ac (HAVE_EHDR_START): New check.
15084         * configure: Regenerated.
15085         * config.h.in (HAVE_EHDR_START): New #undef.
15086         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15087         assuming the lowest-addressed segment maps the start of the file.
15089 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
15091         * INSTALL: Regenerated.
15093 2014-03-13  Will Newton  <will.newton@linaro.org>
15095         * manual/setjmp.texi (System V contexts): Improve
15096         clarity and grammar of documentation.
15098 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15100         [BZ #16381]
15101         * elf/Makefile (tests): Add tst-pie2.
15102         (tests-pie): Add tst-pie2.
15103         * elf/tst-pie2.c: New file.
15104         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15105         for ET_EXEC.
15106         * elf/rtld.c (map_doit): Load executable as lt_executable.
15107         (dl_main): Likewise.
15109 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
15111         [BZ #16642]
15112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15113         (__ASSUME_PSELECT): Undefine.
15115 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15117         [BZ #16689]
15118         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15119         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15120         static build.
15121         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15122         selector for static builds.
15124 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15126         [BZ #16695]
15127         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15128         key in the buffer.
15130 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15132         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15133         IFUNC selector for static builds.
15135 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15137         * sysdeps/mips/math_private.h [__mips_hard_float]
15138         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15139         libc_feresetround_mips_ctx.
15140         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15141         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15142         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15144         [BZ #16677]
15145         * math/s_nextafter.c (__nextafter): Do not return value from
15146         overflowing computation.
15147         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15148         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15149         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15150         Likewise.
15151         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15152         Likewise.
15153         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15154         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15156 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15158         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15159         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15160         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15161         the new mov targetting sp.
15163 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15165         [BZ #16683]
15166         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15167         Define it for static builds as well.
15168         (NO_BZERO_IMPL): Likewise.
15170 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15172         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15173         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15174         multiarch strspn for PPC64.
15175         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15176         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15178         (__libc_ifunc_impl_list): Likewise.
15179         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15180         multiarch optimizations
15181         * string/strspn.c (strspn): Using macro to redefine symbol name.
15183 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15184             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15186         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15187         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15188         multiarch strncat for PPC64.
15189         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15190         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15192         (__libc_ifunc_impl_list): Likewise.
15193         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15194         multiarch optimizations
15196 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15198         [BZ #16639]
15199         * nscd/nscd.service: Make service type forking.
15201 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15203         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15204         sign in non default rounding modes.
15205         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15207 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15209         * math/libm-test.inc (ALL_RM_TEST): New macro.
15210         (ceil_test): Use ALL_RM_TEST.
15211         (cimag_test): Likewise.
15212         (conj_test): Likewise.
15213         (copysign_test): Likewise.
15214         (cproj_test): Likewise.
15215         (creal_test): Likewise.
15216         (fabs_test): Likewise.
15217         (floor_test): Likewise.
15218         (fmax_test): Likewise.
15219         (fmin_test): Likewise.
15220         (fmod_test): Likewise.
15221         (fpclassify_test): Likewise.
15222         (frexp_test): Likewise.
15223         (ilogb_test): Likewise.
15224         (isfinite_test): Likewise.
15225         (finite_test): Likewise.
15226         (isgreater_test): Likewise.
15227         (isgreaterequal_test): Likewise.
15228         (isinf_test): Likewise.
15229         (isless_test): Likewise.
15230         (islessequal_test): Likewise.
15231         (islessgreater_test): Likewise.
15232         (isnan_test): Likewise.
15233         (isnormal_test): Likewise.
15234         (issignaling_test): Likewise.
15235         (isunordered_test): Likewise.
15236         (logb_test): Likewise.
15237         (logb_downward_test_data): Remove.
15238         (logb_test_downward): Likewise.
15239         (lround_test): Use ALL_RM_TEST.
15240         (llround_test): Likewise.
15241         (modf_test): Likewise.
15242         (nexttoward_test): Likewise.
15243         (remainder_test): Likewise.
15244         (drem_test): Likewise.
15245         (remainder_tonearest_test_data): Likewise.
15246         (remainder_test_tonearest): Likewise.
15247         (drem_test_tonearest): Likewise.
15248         (remainder_towardzero_test_data): Likewise.
15249         (remainder_test_towardzero): Likewise.
15250         (drem_test_towardzero): Likewise.
15251         (remainder_downward_test_data): Likewise.
15252         (remainder_test_downward): Likewise.
15253         (drem_test_downward): Likewise.
15254         (remainder_upward_test_data): Likewise.
15255         (remainder_test_upward): Likewise.
15256         (drem_test_upward): Likewise.
15257         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15258         (round_test): Use ALL_RM_TEST.
15259         (signbit_test): Likewise.
15260         (trunc_test): Likewise.
15261         (significand_test): Likewise.
15262         (main): Don't call removed functions.
15264 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15266         [BZ #16674]
15267         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15268         || __USE_XOPEN2K8].
15269         (ILL_ILLOPN): Likewise.
15270         (ILL_ILLADR): Likewise.
15271         (ILL_ILLTRP): Likewise.
15272         (ILL_PRVOPC): Likewise.
15273         (ILL_PRVREG): Likewise.
15274         (ILL_COPROC): Likewise.
15275         (ILL_BADSTK): Likewise.
15276         (FPE_INTDIV): Likewise.
15277         (FPE_INTOVF): Likewise.
15278         (FPE_FLTDIV): Likewise.
15279         (FPE_FLTOVF): Likewise.
15280         (FPE_FLTUND): Likewise.
15281         (FPE_FLTRES): Likewise.
15282         (FPE_FLTINV): Likewise.
15283         (FPE_FLTSUB): Likewise.
15284         (SEGV_MAPERR): Likewise.
15285         (SEGV_ACCERR): Likewise.
15286         (BUS_ADRALN): Likewise.
15287         (BUS_ADRERR): Likewise.
15288         (BUS_OBJERR): Likewise.
15289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15290         (TRAP_TRACE): Likewise.
15291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15292         __USE_XOPEN2K8].
15293         (CLD_KILLED): Likewise.
15294         (CLD_DUMPED): Likewise.
15295         (CLD_TRAPPED): Likewise.
15296         (CLD_STOPPED): Likewise.
15297         (CLD_CONTINUED): Likewise.
15298         (POLL_IN): Likewise.
15299         (POLL_OUT): Likewise.
15300         (POLL_MSG): Likewise.
15301         (POLL_ERR): Likewise.
15302         (POLL_PRI): Likewise.
15303         (POLL_HUP): Likewise.
15304         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15305         Likewise.
15306         (ILL_ILLOPN): Likewise.
15307         (ILL_ILLADR): Likewise.
15308         (ILL_ILLTRP): Likewise.
15309         (ILL_PRVOPC): Likewise.
15310         (ILL_PRVREG): Likewise.
15311         (ILL_COPROC): Likewise.
15312         (ILL_BADSTK): Likewise.
15313         (FPE_INTDIV): Likewise.
15314         (FPE_INTOVF): Likewise.
15315         (FPE_FLTDIV): Likewise.
15316         (FPE_FLTOVF): Likewise.
15317         (FPE_FLTUND): Likewise.
15318         (FPE_FLTRES): Likewise.
15319         (FPE_FLTINV): Likewise.
15320         (FPE_FLTSUB): Likewise.
15321         (SEGV_MAPERR): Likewise.
15322         (SEGV_ACCERR): Likewise.
15323         (BUS_ADRALN): Likewise.
15324         (BUS_ADRERR): Likewise.
15325         (BUS_OBJERR): Likewise.
15326         (BUS_MCEERR_AR): Likewise.
15327         (BUS_MCEERR_AO): Likewise.
15328         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15329         (TRAP_TRACE): Likewise.
15330         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15331         __USE_XOPEN2K8].
15332         (CLD_KILLED): Likewise.
15333         (CLD_DUMPED): Likewise.
15334         (CLD_TRAPPED): Likewise.
15335         (CLD_STOPPED): Likewise.
15336         (CLD_CONTINUED): Likewise.
15337         (POLL_IN): Likewise.
15338         (POLL_OUT): Likewise.
15339         (POLL_MSG): Likewise.
15340         (POLL_ERR): Likewise.
15341         (POLL_PRI): Likewise.
15342         (POLL_HUP): Likewise.
15343         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15344         (ILL_ILLOPN): Likewise.
15345         (ILL_ILLADR): Likewise.
15346         (ILL_ILLTRP): Likewise.
15347         (ILL_PRVOPC): Likewise.
15348         (ILL_PRVREG): Likewise.
15349         (ILL_COPROC): Likewise.
15350         (ILL_BADSTK): Likewise.
15351         (FPE_INTDIV): Likewise.
15352         (FPE_INTOVF): Likewise.
15353         (FPE_FLTDIV): Likewise.
15354         (FPE_FLTOVF): Likewise.
15355         (FPE_FLTUND): Likewise.
15356         (FPE_FLTRES): Likewise.
15357         (FPE_FLTINV): Likewise.
15358         (FPE_FLTSUB): Likewise.
15359         (SEGV_MAPERR): Likewise.
15360         (SEGV_ACCERR): Likewise.
15361         (BUS_ADRALN): Likewise.
15362         (BUS_ADRERR): Likewise.
15363         (BUS_OBJERR): Likewise.
15364         (BUS_MCEERR_AR): Likewise.
15365         (BUS_MCEERR_AO): Likewise.
15366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15367         (TRAP_TRACE): Likewise.
15368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15369         __USE_XOPEN2K8].
15370         (CLD_KILLED): Likewise.
15371         (CLD_DUMPED): Likewise.
15372         (CLD_TRAPPED): Likewise.
15373         (CLD_STOPPED): Likewise.
15374         (CLD_CONTINUED): Likewise.
15375         (POLL_IN): Likewise.
15376         (POLL_OUT): Likewise.
15377         (POLL_MSG): Likewise.
15378         (POLL_ERR): Likewise.
15379         (POLL_PRI): Likewise.
15380         (POLL_HUP): Likewise.
15381         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15382         Likewise.
15383         (ILL_ILLOPN): Likewise.
15384         (ILL_ILLADR): Likewise.
15385         (ILL_ILLTRP): Likewise.
15386         (ILL_PRVOPC): Likewise.
15387         (ILL_PRVREG): Likewise.
15388         (ILL_COPROC): Likewise.
15389         (ILL_BADSTK): Likewise.
15390         (ILL_BADIADDR): Likewise.
15391         (ILL_BREAK): Likewise.
15392         (FPE_INTDIV): Likewise.
15393         (FPE_INTOVF): Likewise.
15394         (FPE_FLTDIV): Likewise.
15395         (FPE_FLTOVF): Likewise.
15396         (FPE_FLTUND): Likewise.
15397         (FPE_FLTRES): Likewise.
15398         (FPE_FLTINV): Likewise.
15399         (FPE_FLTSUB): Likewise.
15400         (FPE_DECOVF): Likewise.
15401         (FPE_DECDIV): Likewise.
15402         (FPE_DECERR): Likewise.
15403         (FPE_INVASC): Likewise.
15404         (FPE_INVDEC): Likewise.
15405         (SEGV_MAPERR): Likewise.
15406         (SEGV_ACCERR): Likewise.
15407         (SEGV_PSTKOVF): Likewise.
15408         (BUS_ADRALN): Likewise.
15409         (BUS_ADRERR): Likewise.
15410         (BUS_OBJERR): Likewise.
15411         (BUS_MCEERR_AR): Likewise.
15412         (BUS_MCEERR_AO): Likewise.
15413         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15414         (TRAP_TRACE): Likewise.
15415         (TRAP_BRANCH): Likewise.
15416         (TRAP_HWBKPT): Likewise.
15417         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15418         __USE_XOPEN2K8].
15419         (CLD_KILLED): Likewise.
15420         (CLD_DUMPED): Likewise.
15421         (CLD_TRAPPED): Likewise.
15422         (CLD_STOPPED): Likewise.
15423         (CLD_CONTINUED): Likewise.
15424         (POLL_IN): Likewise.
15425         (POLL_OUT): Likewise.
15426         (POLL_MSG): Likewise.
15427         (POLL_ERR): Likewise.
15428         (POLL_PRI): Likewise.
15429         (POLL_HUP): Likewise.
15430         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15431         (ILL_ILLOPN): Likewise.
15432         (ILL_ILLADR): Likewise.
15433         (ILL_ILLTRP): Likewise.
15434         (ILL_PRVOPC): Likewise.
15435         (ILL_PRVREG): Likewise.
15436         (ILL_COPROC): Likewise.
15437         (ILL_BADSTK): Likewise.
15438         (FPE_INTDIV): Likewise.
15439         (FPE_INTOVF): Likewise.
15440         (FPE_FLTDIV): Likewise.
15441         (FPE_FLTOVF): Likewise.
15442         (FPE_FLTUND): Likewise.
15443         (FPE_FLTRES): Likewise.
15444         (FPE_FLTINV): Likewise.
15445         (FPE_FLTSUB): Likewise.
15446         (SEGV_MAPERR): Likewise.
15447         (SEGV_ACCERR): Likewise.
15448         (BUS_ADRALN): Likewise.
15449         (BUS_ADRERR): Likewise.
15450         (BUS_OBJERR): Likewise.
15451         (BUS_MCEERR_AR): Likewise.
15452         (BUS_MCEERR_AO): Likewise.
15453         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15454         (TRAP_TRACE): Likewise.
15455         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15456         __USE_XOPEN2K8].
15457         (CLD_KILLED): Likewise.
15458         (CLD_DUMPED): Likewise.
15459         (CLD_TRAPPED): Likewise.
15460         (CLD_STOPPED): Likewise.
15461         (CLD_CONTINUED): Likewise.
15462         (POLL_IN): Likewise.
15463         (POLL_OUT): Likewise.
15464         (POLL_MSG): Likewise.
15465         (POLL_ERR): Likewise.
15466         (POLL_PRI): Likewise.
15467         (POLL_HUP): Likewise.
15468         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15469         (ILL_ILLOPN): Likewise.
15470         (ILL_ILLADR): Likewise.
15471         (ILL_ILLTRP): Likewise.
15472         (ILL_PRVOPC): Likewise.
15473         (ILL_PRVREG): Likewise.
15474         (ILL_COPROC): Likewise.
15475         (ILL_BADSTK): Likewise.
15476         (FPE_INTDIV): Likewise.
15477         (FPE_INTOVF): Likewise.
15478         (FPE_FLTDIV): Likewise.
15479         (FPE_FLTOVF): Likewise.
15480         (FPE_FLTUND): Likewise.
15481         (FPE_FLTRES): Likewise.
15482         (FPE_FLTINV): Likewise.
15483         (FPE_FLTSUB): Likewise.
15484         (SEGV_MAPERR): Likewise.
15485         (SEGV_ACCERR): Likewise.
15486         (BUS_ADRALN): Likewise.
15487         (BUS_ADRERR): Likewise.
15488         (BUS_OBJERR): Likewise.
15489         (BUS_MCEERR_AR): Likewise.
15490         (BUS_MCEERR_AO): Likewise.
15491         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15492         (TRAP_TRACE): Likewise.
15493         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15494         __USE_XOPEN2K8].
15495         (CLD_KILLED): Likewise.
15496         (CLD_DUMPED): Likewise.
15497         (CLD_TRAPPED): Likewise.
15498         (CLD_STOPPED): Likewise.
15499         (CLD_CONTINUED): Likewise.
15500         (POLL_IN): Likewise.
15501         (POLL_OUT): Likewise.
15502         (POLL_MSG): Likewise.
15503         (POLL_ERR): Likewise.
15504         (POLL_PRI): Likewise.
15505         (POLL_HUP): Likewise.
15506         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15507         (ILL_ILLOPN): Likewise.
15508         (ILL_ILLADR): Likewise.
15509         (ILL_ILLTRP): Likewise.
15510         (ILL_PRVOPC): Likewise.
15511         (ILL_PRVREG): Likewise.
15512         (ILL_COPROC): Likewise.
15513         (ILL_BADSTK): Likewise.
15514         (FPE_INTDIV): Likewise.
15515         (FPE_INTOVF): Likewise.
15516         (FPE_FLTDIV): Likewise.
15517         (FPE_FLTOVF): Likewise.
15518         (FPE_FLTUND): Likewise.
15519         (FPE_FLTRES): Likewise.
15520         (FPE_FLTINV): Likewise.
15521         (FPE_FLTSUB): Likewise.
15522         (SEGV_MAPERR): Likewise.
15523         (SEGV_ACCERR): Likewise.
15524         (BUS_ADRALN): Likewise.
15525         (BUS_ADRERR): Likewise.
15526         (BUS_OBJERR): Likewise.
15527         (BUS_MCEERR_AR): Likewise.
15528         (BUS_MCEERR_AO): Likewise.
15529         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15530         (TRAP_TRACE): Likewise.
15531         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15532         __USE_XOPEN2K8].
15533         (CLD_KILLED): Likewise.
15534         (CLD_DUMPED): Likewise.
15535         (CLD_TRAPPED): Likewise.
15536         (CLD_STOPPED): Likewise.
15537         (CLD_CONTINUED): Likewise.
15538         (POLL_IN): Likewise.
15539         (POLL_OUT): Likewise.
15540         (POLL_MSG): Likewise.
15541         (POLL_ERR): Likewise.
15542         (POLL_PRI): Likewise.
15543         (POLL_HUP): Likewise.
15544         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15545         (ILL_ILLOPN): Likewise.
15546         (ILL_ILLADR): Likewise.
15547         (ILL_ILLTRP): Likewise.
15548         (ILL_PRVOPC): Likewise.
15549         (ILL_PRVREG): Likewise.
15550         (ILL_COPROC): Likewise.
15551         (ILL_BADSTK): Likewise.
15552         (ILL_DBLFLT): Likewise.
15553         (ILL_HARDWALL): Likewise.
15554         (FPE_INTDIV): Likewise.
15555         (FPE_INTOVF): Likewise.
15556         (FPE_FLTDIV): Likewise.
15557         (FPE_FLTOVF): Likewise.
15558         (FPE_FLTUND): Likewise.
15559         (FPE_FLTRES): Likewise.
15560         (FPE_FLTINV): Likewise.
15561         (FPE_FLTSUB): Likewise.
15562         (SEGV_MAPERR): Likewise.
15563         (SEGV_ACCERR): Likewise.
15564         (BUS_ADRALN): Likewise.
15565         (BUS_ADRERR): Likewise.
15566         (BUS_OBJERR): Likewise.
15567         (BUS_MCEERR_AR): Likewise.
15568         (BUS_MCEERR_AO): Likewise.
15569         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15570         (TRAP_TRACE): Likewise.
15571         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15572         __USE_XOPEN2K8].
15573         (CLD_KILLED): Likewise.
15574         (CLD_DUMPED): Likewise.
15575         (CLD_TRAPPED): Likewise.
15576         (CLD_STOPPED): Likewise.
15577         (CLD_CONTINUED): Likewise.
15578         (POLL_IN): Likewise.
15579         (POLL_OUT): Likewise.
15580         (POLL_MSG): Likewise.
15581         (POLL_ERR): Likewise.
15582         (POLL_PRI): Likewise.
15583         (POLL_HUP): Likewise.
15584         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15585         (ILL_ILLOPN): Likewise.
15586         (ILL_ILLADR): Likewise.
15587         (ILL_ILLTRP): Likewise.
15588         (ILL_PRVOPC): Likewise.
15589         (ILL_PRVREG): Likewise.
15590         (ILL_COPROC): Likewise.
15591         (ILL_BADSTK): Likewise.
15592         (FPE_INTDIV): Likewise.
15593         (FPE_INTOVF): Likewise.
15594         (FPE_FLTDIV): Likewise.
15595         (FPE_FLTOVF): Likewise.
15596         (FPE_FLTUND): Likewise.
15597         (FPE_FLTRES): Likewise.
15598         (FPE_FLTINV): Likewise.
15599         (FPE_FLTSUB): Likewise.
15600         (SEGV_MAPERR): Likewise.
15601         (SEGV_ACCERR): Likewise.
15602         (BUS_ADRALN): Likewise.
15603         (BUS_ADRERR): Likewise.
15604         (BUS_OBJERR): Likewise.
15605         (BUS_MCEERR_AR): Likewise.
15606         (BUS_MCEERR_AO): Likewise.
15607         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15608         (TRAP_TRACE): Likewise.
15609         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15610         __USE_XOPEN2K8].
15611         (CLD_KILLED): Likewise.
15612         (CLD_DUMPED): Likewise.
15613         (CLD_TRAPPED): Likewise.
15614         (CLD_STOPPED): Likewise.
15615         (CLD_CONTINUED): Likewise.
15616         (POLL_IN): Likewise.
15617         (POLL_OUT): Likewise.
15618         (POLL_MSG): Likewise.
15619         (POLL_ERR): Likewise.
15620         (POLL_PRI): Likewise.
15621         (POLL_HUP): Likewise.
15622         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15623         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15625         [BZ #16670]
15626         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15627         before #include of <time.h>.
15628         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15629         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15630         (test-xfail-UNIX98/sched.h/conform): Likewise.
15632 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15634         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15635         error absence of trapping exception support.
15636         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15638 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15640         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15641         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15642         * timezone/Makefile (testdata): Move definition above include of
15643         Rules.
15644         (test-zones): New variable.
15645         (tests-special): Add zone files.
15646         (build-testdata): Use $(evaluate-test).
15648         * elf/Makefile (tests-special): Rename tests to end with .out.
15649         ($(objpfx)noload-mem): Likewise.
15650         ($(objpfx)tst-leaks1-mem): Likewise.
15651         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15652         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15653         $(objpfx)test-iconvconfig.out.
15654         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15655         set -e inside subshell and redirect output to file.
15656         * iconvdata/Makefile (generated): Rename tests to end with .out.
15657         Correct type.
15658         (tests-special): Rename tests to end with .out.
15659         ($(objpfx)mtrace-tst-loading): Likewise.
15660         * intl/Makefile (generated): Likewise.
15661         (tests-special): Likewise.
15662         ($(objpfx)mtrace-tst-gettext): Likewise.
15663         * misc/Makefile (generated): Likewise.
15664         (tests-special): Likewise.
15665         ($(objpfx)tst-error1-mem): Likewise.
15666         * nptl/Makefile (tests-special): Likewise.
15667         ($(objpfx)tst-stack3-mem): Likewise.
15668         (generated): Likewise.
15669         * posix/Makefile (generated): Likewise.
15670         (tests-special): Likewise.
15671         (xtests-special): Likewise.
15672         ($(objpfx)tst-fnmatch-mem): Likewise.
15673         ($(objpfx)bug-regex2-mem): Likewise.
15674         ($(objpfx)bug-regex14-mem): Likewise.
15675         ($(objpfx)bug-regex21-mem): Likewise.
15676         ($(objpfx)bug-regex31-mem): Likewise.
15677         ($(objpfx)tst-vfork3-mem): Likewise.
15678         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15679         ($(objpfx)tst-pcre-mem): Likewise.
15680         ($(objpfx)tst-boost-mem): Likewise.
15681         ($(objpfx)bug-ga2-mem): Likewise.
15682         ($(objpfx)bug-glob2-mem): Likewise.
15683         * resolv/Makefile (generate): Likewise.
15684         (tests-special): Likewise.
15685         (xtests-special): Likewise.
15686         (generated): Likewise.
15687         ($(objpfx)mtrace-tst-leaks): Likewise.
15688         ($(objpfx)mtrace-tst-leaks2): Likewise.
15690         * scripts/merge-test-results.sh: New file.
15691         * Makefile (tests-special-notdir): New variable.
15692         (tests): Run merge-test-results.sh.
15693         (xtests): Likewise.
15694         * Rules (tests-special-notdir): New variable.
15695         (xtests-special-notdir): Likewise.
15696         (tests): Run merge-test-results.sh
15697         (xtests): Likewise.
15699         * Makeconfig (test-xfail-name): New variable.
15700         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15701         compute variable name for expected failures.
15702         * conform/Makefile (conformtest-headers-data): New variable.
15703         (conformtest-standards): Likewise.
15704         (conformtest-headers-ISO): Likewise.
15705         (conformtest-headers-ISO99): Likewise.
15706         (conformtest-headers-ISO11): Likewise.
15707         (conformtest-headers-POSIX): Likewise.
15708         (conformtest-headers-XPG3): Likewise.
15709         (conformtest-headers-XPG4): Likewise.
15710         (conformtest-headers-UNIX98): Likewise.
15711         (conformtest-headers-XOPEN2K): Likewise.
15712         (conformtest-headers-POSIX2008): Likewise.
15713         (conformtest-headers-XOPEN2K8): Likewise.
15714         (conformtest-header-list-base): Likewise.
15715         (conformtest-header-list-tests): Likewise.
15716         (conformtest-header-base): Likewise.
15717         (conformtest-header-tests): Likewise.
15718         (tests-special): Add $(conformtest-header-list-tests).  If
15719         [$(fast-check) && !$(cross-compiling)], add
15720         $(conformtest-header-tests) instead of
15721         $(objpfx)run-conformtest.out.
15722         (generated): Add $(conformtest-header-list-base).  If
15723         [$(fast-check) && !$(cross-compiling)], add
15724         $(conformtest-header-base).  Remove previous setting.
15725         ($(conformtest-header-list-tests)): New target.
15726         (test-xfail-run-conformtest): Remove variable.
15727         ($(objpfx)run-conformtest.out): Remove target.
15728         (test-xfail-ISO11/complex.h/conform): New variable.
15729         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15730         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15731         (test-xfail-XPG3/varargs.h/conform): Likewise.
15732         (test-xfail-XPG4/varargs.h/conform): Likewise.
15733         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15734         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15735         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15736         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15737         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15738         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15739         (test-xfail-XPG3/ftw.h/conform): Likewise.
15740         (test-xfail-XPG3/grp.h/conform): Likewise.
15741         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15742         (test-xfail-XPG3/limits.h/conform): Likewise.
15743         (test-xfail-XPG3/pwd.h/conform): Likewise.
15744         (test-xfail-XPG3/search.h/conform): Likewise.
15745         (test-xfail-XPG3/signal.h/conform): Likewise.
15746         (test-xfail-XPG3/stdio.h/conform): Likewise.
15747         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15748         (test-xfail-XPG3/string.h/conform): Likewise.
15749         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15750         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15751         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15752         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15753         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15754         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15755         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15756         (test-xfail-XPG3/termios.h/conform): Likewise.
15757         (test-xfail-XPG3/time.h/conform): Likewise.
15758         (test-xfail-XPG3/unistd.h/conform): Likewise.
15759         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15760         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15761         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15762         (test-xfail-XPG4/netdb.h/conform): Likewise.
15763         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15764         (test-xfail-XPG4/signal.h/conform): Likewise.
15765         (test-xfail-XPG4/stdio.h/conform): Likewise.
15766         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15767         (test-xfail-XPG4/stropts.h/conform): Likewise.
15768         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15769         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15770         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15771         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15772         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15773         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15774         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15775         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15776         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15777         (test-xfail-XPG4/termios.h/conform): Likewise.
15778         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15779         (test-xfail-XPG4/unistd.h/conform): Likewise.
15780         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15781         (test-xfail-POSIX/sched.h/conform): Likewise.
15782         (test-xfail-POSIX/signal.h/conform): Likewise.
15783         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15784         (test-xfail-POSIX/tar.h/conform): Likewise.
15785         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15786         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15787         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15788         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15789         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15790         (test-xfail-UNIX98/sched.h/conform): Likewise.
15791         (test-xfail-UNIX98/signal.h/conform): Likewise.
15792         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15793         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15794         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15795         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15796         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15797         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15798         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15799         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15800         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15801         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15802         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15803         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15804         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15805         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15806         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15807         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15808         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15809         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15810         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15811         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15812         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15813         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15814         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15815         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15816         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15817         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15818         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15819         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15820         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15821         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15822         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15823         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15824         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15825         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15826         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15827         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15828         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15829         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15830         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15831         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15832         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15833         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15834         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15835         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15836         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15837         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15838         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15839         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15840         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15841         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15842         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15843         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15844         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15845         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15846         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15847         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15848         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15849         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15850         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15851         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15852         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15853         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15854         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15855         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15856         (conformtest-cc-flags): Likewise.
15857         ($(conformtest-header-tests): New target.
15858         * conform/check-header-lists.sh: New file.
15859         * conform/run-conformtest.sh: Remove.
15861         * conform/conformtest.pl: Allow ' and \ in values given for
15862         constants.
15863         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15864         inclusion.
15865         [POSIX] (sys/types.h): Likewise.
15866         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15867         inclusion.
15868         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15869         inclusion.
15870         * conform/data/signal.h-data (SIGIO): Remove expectation.
15871         [XPG3] (SIGBUS): Do not expect.
15872         [POSIX || XPG3] (SIGPOLL): Likewise.
15873         [POSIX || XPG3] (SIGPROF): Likewise.
15874         [POSIX || XPG3] (SIGSYS): Likewise.
15875         [XPG3] (SIGTRAP): Likewise.
15876         [POSIX || XPG3] (SIGURG): Likewise.
15877         [POSIX || XPG3] (SIGVTALRM): Likewise.
15878         [POSIX || XPG3] (SIGXCPU): Likewise.
15879         [POSIX || XPG3] (SIGXFSZ): Likewise.
15880         [POSIX] (SA_SIGINFO): Expect.
15881         [XPG3] (siginfo_t): Do not expect type or contents.
15882         [POSIX] (si_pid): Do not expect element.
15883         [POSIX] (si_uid): Likewise.
15884         [POSIX] (si_addr): Likewise.
15885         [POSIX] (si_status): Likewise.
15886         [POSIX] (si_band): Likewise.
15887         [XPG4] (si_value): Likewise.
15888         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15889         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15890         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15891         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15892         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15893         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15894         [POSIX || XPG3] (ILL_COPROC): Likewise.
15895         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15896         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15897         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15898         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15899         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15900         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15901         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15902         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15903         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15904         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15905         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15906         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15907         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15908         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15909         [POSIX || XPG3] (CLD_EXITED): Likewise.
15910         [POSIX || XPG3] (CLD_KILLED): Likewise.
15911         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15912         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15913         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15914         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15915         [POSIX || XPG3] (POLL_IN): Likewise.
15916         [POSIX || XPG3] (POLL_OUT): Likewise.
15917         [POSIX || XPG3] (POLL_MSG): Likewise.
15918         [POSIX || XPG3] (POLL_ERR): Likewise.
15919         [POSIX || XPG3] (POLL_PRI): Likewise.
15920         [POSIX || XPG3] (POLL_HUP): Likewise.
15921         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15922         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15923         (SIG*): Do not allow.
15924         [XPG3] (si_*): Likewise.
15925         [XPG3] (SI_*): Likewise.
15926         [XPG3 || XPG4] (sigev_*): Likewise.
15927         [XPG3 || XPG4] (SIGEV_*): Likewise.
15928         [XPG3 || XPG4] (sival_*): Likewise.
15929         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15930         [POSIX || XPG3] (BUS_*): Likewise.
15931         [POSIX || XPG3] (CLD_*): Likewise.
15932         [POSIX || XPG3] (FPE_*): Likewise.
15933         [POSIX || XPG3] (ILL_*): Likewise.
15934         [POSIX || XPG3] (POLL_*): Likewise.
15935         [POSIX || XPG3] (SEGV_*): Likewise.
15936         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15937         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15938         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15939         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15940         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15941         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15942         Specify type and value.
15943         (TVERSLEN): Likewise.
15944         (REGTYPE): Likewise.
15945         (AREGTYPE): Likewise.
15946         (LNKTYPE): Likewise.
15947         (SYMTYPE): Likewise.
15948         (CHRTYPE): Likewise.
15949         (BLKTYPE): Likewise.
15950         (DIRTYPE): Likewise.
15951         (FIFOTYPE): Likewise.
15952         (CONTTYPE): Likewise.
15953         (TSUID): Likewise.
15954         (TSGID): Likewise.
15955         (TSVTX): Likewise.
15956         (TUREAD): Likewise.
15957         (TUWRITE): Likewise.
15958         (TUEXEC): Likewise.
15959         (TGREAD): Likewise.
15960         (TGWRITE): Likewise.
15961         (TGEXEC): Likewise.
15962         (TOREAD): Likewise.
15963         (TOWRITE): Likewise.
15964         (TOEXEC): Likewise.
15965         [POSIX] (TSVTX): Expect constant.
15967 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15969         * Makefile (tests): Change dependencies to ....
15970         (tests-special): ... additions to this variable.
15971         (tests): Depend on $(tests-special).
15972         * Makerules (check-abi-list): New variable.
15973         (check-abi): Depend on $(check-abi-list).
15974         [$(subdir) = elf] (tests-special): Add
15975         $(objpfx)check-abi-libc.out.
15976         [$(build-shared) = yes && subdir] (tests-special): Add
15977         $(check-abi-list).
15978         [$(build-shared) = yes && subdir] (tests): Do not depend on
15979         check-abi.
15980         * Rules (tests): Depend on $(tests-special).
15981         (xtests): Depend on $(xtests-special).
15982         * catgets/Makefile (tests): Change dependencies to ....
15983         (tests-special): ... additions to this variable.
15984         * conform/Makefile (tests): Change dependencies to ....
15985         (tests-special): ... additions to this variable.
15986         * elf/Makefile (tests): Change dependencies to ....
15987         (tests-special): ... additions to this variable.
15988         * grp/Makefile (tests): Change dependencies to ....
15989         (tests-special): ... additions to this variable.
15990         * iconv/Makefile (xtests): Change dependencies to ....
15991         (xtests-special): ... additions to this variable.
15992         * iconvdata/Makefile (tests): Change dependencies to ....
15993         (tests-special): ... additions to this variable.
15994         * intl/Makefile (tests): Change dependencies to ....
15995         (tests-special): ... additions to this variable.  Also add
15996         $(objpfx)tst-gettext.out.
15997         * io/Makefile (tests): Change dependencies to ....
15998         (tests-special): ... additions to this variable.
15999         * libio/Makefile (tests): Change dependencies to ....
16000         (tests-special): ... additions to this variable.
16001         * malloc/Makefile (tests): Change dependencies to ....
16002         (tests-special): ... additions to this variable.
16003         * misc/Makefile (tests): Change dependencies to ....
16004         (tests-special): ... additions to this variable.
16005         * nptl/Makefile (tests): Change dependencies to ....
16006         (tests-special): ... additions to this variable.
16007         * nptl_db/Makefile (tests): Change dependencies to ....
16008         (tests-special): ... additions to this variable.
16009         * posix/Makefile (tests): Change dependencies to ....
16010         (tests-special): ... additions to this variable.
16011         (xtests): Change dependencies to ....
16012         (xtests-special): ... additions to this variable.
16013         * resolv/Makefile (tests): Change dependencies to ....
16014         (tests-special): ... additions to this variable.
16015         (xtests): Change dependencies to ....
16016         (xtests-special): ... additions to this variable.
16017         * stdio-common/Makefile (tests): Change dependencies to ....
16018         (tests-special): ... additions to this variable.
16019         (do-tst-unbputc): Remove target.
16020         (do-tst-printf): Likewise.
16021         * stdlib/Makefile (tests): Change dependencies to ....
16022         (tests-special): ... additions to this variable.
16023         * string/Makefile (tests): Change dependencies to ....
16024         (tests-special): ... additions to this variable.
16025         * sysdeps/x86/Makefile (tests): Change dependencies to ....
16026         (tests-special): ... additions to this variable.
16028         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16029         whole file.
16030         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16031         whole file.
16032         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16033         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16035         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16036         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16037         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16038         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16039         * conform/data/libgen.h-data [XPG3]: Likewise.
16040         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16041         * conform/data/ndbm.h-data [XPG3]: Likewise.
16042         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16043         * conform/data/netdb.h-data [XPG3]: Likewise.
16044         * conform/data/netinet/in.h-data [XPG3]: Likewise.
16045         * conform/data/poll.h-data [XPG3]: Likewise.
16046         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16047         * conform/data/strings.h-data [XPG3]: Likewise.
16048         * conform/data/stropts.h-data [XPG3]: Likewise.
16049         * conform/data/sys/mman.h-data [XPG3]: Likewise.
16050         * conform/data/sys/resource.h-data [XPG3]: Likewise.
16051         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16052         Likewise.
16053         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16054         * conform/data/sys/time.h-data [XPG3]: Likewise.
16055         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16056         * conform/data/sys/uio.h-data [XPG3]: Likewise.
16057         * conform/data/sys/un.h-data [XPG3]: Likewise.
16058         * conform/data/syslog.h-data [XPG3]: Likewise.
16059         * conform/data/ucontext.h-data [XPG3]: Likewise.
16060         * conform/data/utmpx.h-data [XPG3]: Likewise.
16061         * conform/data/varargs.h-data [UNIX98]: Enable file.
16063         * manual/Makefile (INSTALL_INFO): Remove variable setting.
16065         * math/libm-test.inc (struct test_f_f_data): Move expected results
16066         into structure for each rounding mode.
16067         (struct test_ff_f_data): Likewise.
16068         (struct test_ff_f_data_nexttoward): Likewise.
16069         (struct test_fi_f_data): Likewise.
16070         (struct test_fl_f_data): Likewise.
16071         (struct test_if_f_data): Likewise.
16072         (struct test_fff_f_data): Likewise.
16073         (struct test_c_f_data): Likewise.
16074         (struct test_f_f1_data): Likewise.
16075         (struct test_fF_f1_data): Likewise.
16076         (struct test_ffI_f1_data): Likewise.
16077         (struct test_c_c_data): Likewise.
16078         (struct test_cc_c_data): Likewise.
16079         (struct test_f_i_data): Likewise.
16080         (struct test_ff_i_data): Likewise.
16081         (struct test_f_l_data): Likewise.
16082         (struct test_f_L_data): Likewise.
16083         (struct test_fFF_11_data): Likewise.
16084         (RM_): New macro.
16085         (RM_FE_DOWNWARD): Likewise.
16086         (RM_FE_TONEAREST): Likewise.
16087         (RM_FE_TOWARDZERO): Likewise.
16088         (RM_FE_UPWARD): Likewise.
16089         (RUN_TEST_LOOP_f_f): Update references to expected results.
16090         (RUN_TEST_LOOP_2_f): Likewise.
16091         (RUN_TEST_LOOP_fff_f): Likewise.
16092         (RUN_TEST_LOOP_c_f): Likewise.
16093         (RUN_TEST_LOOP_f_f1): Likewise.
16094         (RUN_TEST_LOOP_fF_f1): Likewise.
16095         (RUN_TEST_LOOP_fI_f1): Likewise.
16096         (RUN_TEST_LOOP_ffI_f1): Likewise.
16097         (RUN_TEST_LOOP_c_c): Likewise.
16098         (RUN_TEST_LOOP_cc_c): Likewise.
16099         (RUN_TEST_LOOP_f_i): Likewise.
16100         (RUN_TEST_LOOP_f_i_tg): Likewise.
16101         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16102         (RUN_TEST_LOOP_f_b): Likewise.
16103         (RUN_TEST_LOOP_f_b_tg): Likewise.
16104         (RUN_TEST_LOOP_f_l): Likewise.
16105         (RUN_TEST_LOOP_f_L): Likewise.
16106         (RUN_TEST_LOOP_fFF_11): Likewise.
16107         * math/gen-libm-test.pl (parse_args): Output four copies of
16108         expected results for each test.
16110         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16111         (__ASSUME_UTIMES): Remove.
16112         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16113         (__ASSUME_UTIMES): Likewise.
16115         * math/gen-auto-libm-tests.c: Update comment on output format.
16116         (output_for_one_input_case): Generate before-rounding and
16117         after-rounding information as conditions on output flags not
16118         floating-point format.
16119         * math/auto-libm-test-out: Regenerated.
16120         * math/gen-libm-test.pl (cond_value): New function.
16121         (or_cond_value): Use cond_value.
16122         (generate_testfile): Handle conditional exceptions.
16124 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16126         * math/libm-test.inc (max_valid_error): New variable.
16127         (init_max_error): Take new argument specifying whether function
16128         results are exactly determined.  Set max_valid_error and bound
16129         other variables for errors based on this argument.
16130         (set_max_error): Do not record results above max_valid_error.
16131         (check_float_internal): Only accept errors of up to 0.5ulps if
16132         also at most max_valid_error.
16133         (START): Take new argument EXACT and pass it to init_max_error.
16134         (acos_test): Update call to START.
16135         (acos_test_tonearest): Likewise.
16136         (acos_test_towardzero): Likewise.
16137         (acos_test_downward): Likewise.
16138         (acos_test_upward): Likewise.
16139         (acosh_test): Likewise.
16140         (asin_test): Likewise.
16141         (asin_test_tonearest): Likewise.
16142         (asin_test_towardzero): Likewise.
16143         (asin_test_downward): Likewise.
16144         (asin_test_upward): Likewise.
16145         (asinh_test): Likewise.
16146         (atan_test): Likewise.
16147         (atanh_test): Likewise.
16148         (atan2_test): Likewise.
16149         (cabs_test): Likewise.
16150         (cacos_test): Likewise.
16151         (cacosh_test): Likewise.
16152         (carg_test): Likewise.
16153         (casin_test): Likewise.
16154         (casinh_test): Likewise.
16155         (catan_test): Likewise.
16156         (catanh_test): Likewise.
16157         (cbrt_test): Likewise.
16158         (ccos_test): Likewise.
16159         (ccosh_test): Likewise.
16160         (ceil_test): Likewise.
16161         (cexp_test): Likewise.
16162         (cimag_test): Likewise.
16163         (clog_test): Likewise.
16164         (clog10_test): Likewise.
16165         (conj_test): Likewise.
16166         (copysign_test): Likewise.
16167         (cos_test): Likewise.
16168         (cos_test_tonearest): Likewise.
16169         (cos_test_towardzero): Likewise.
16170         (cos_test_downward): Likewise.
16171         (cos_test_upward): Likewise.
16172         (cosh_test): Likewise.
16173         (cosh_test_tonearest): Likewise.
16174         (cosh_test_towardzero): Likewise.
16175         (cosh_test_downward): Likewise.
16176         (cosh_test_upward): Likewise.
16177         (cpow_test): Likewise.
16178         (cproj_test): Likewise.
16179         (creal_test): Likewise.
16180         (csin_test): Likewise.
16181         (csinh_test): Likewise.
16182         (csqrt_test): Likewise.
16183         (ctan_test): Likewise.
16184         (ctan_test_tonearest): Likewise.
16185         (ctan_test_towardzero): Likewise.
16186         (ctan_test_downward): Likewise.
16187         (ctan_test_upward): Likewise.
16188         (ctanh_test): Likewise.
16189         (ctanh_test_tonearest): Likewise.
16190         (ctanh_test_towardzero): Likewise.
16191         (ctanh_test_downward): Likewise.
16192         (ctanh_test_upward): Likewise.
16193         (erf_test): Likewise.
16194         (erfc_test): Likewise.
16195         (exp_test): Likewise.
16196         (exp_test_tonearest): Likewise.
16197         (exp_test_towardzero): Likewise.
16198         (exp_test_downward): Likewise.
16199         (exp_test_upward): Likewise.
16200         (exp10_test): Likewise.
16201         (exp10_test_tonearest): Likewise.
16202         (exp10_test_towardzero): Likewise.
16203         (exp10_test_downward): Likewise.
16204         (exp10_test_upward): Likewise.
16205         (pow10_test): Likewise.
16206         (exp2_test): Likewise.
16207         (expm1_test): Likewise.
16208         (expm1_test_tonearest): Likewise.
16209         (expm1_test_towardzero): Likewise.
16210         (expm1_test_downward): Likewise.
16211         (expm1_test_upward): Likewise.
16212         (fabs_test): Likewise.
16213         (fdim_test): Likewise.
16214         (floor_test): Likewise.
16215         (fma_test): Likewise.
16216         (fma_test_towardzero): Likewise.
16217         (fma_test_downward): Likewise.
16218         (fma_test_upward): Likewise.
16219         (fmax_test): Likewise.
16220         (fmin_test): Likewise.
16221         (fmod_test): Likewise.
16222         (fpclassify_test): Likewise.
16223         (frexp_test): Likewise.
16224         (hypot_test): Likewise.
16225         (ilogb_test): Likewise.
16226         (isfinite_test): Likewise.
16227         (finite_test): Likewise.
16228         (isgreater_test): Likewise.
16229         (isgreaterequal_test): Likewise.
16230         (isinf_test): Likewise.
16231         (isless_test): Likewise.
16232         (islessequal_test): Likewise.
16233         (islessgreater_test): Likewise.
16234         (isnan_test): Likewise.
16235         (isnormal_test): Likewise.
16236         (issignaling_test): Likewise.
16237         (isunordered_test): Likewise.
16238         (j0_test): Likewise.
16239         (j1_test): Likewise.
16240         (jn_test): Likewise.
16241         (ldexp_test): Likewise.
16242         (lgamma_test): Likewise.
16243         (gamma_test): Likewise.
16244         (lrint_test): Likewise.
16245         (lrint_test_tonearest): Likewise.
16246         (lrint_test_towardzero): Likewise.
16247         (lrint_test_downward): Likewise.
16248         (lrint_test_upward): Likewise.
16249         (llrint_test): Likewise.
16250         (llrint_test_tonearest): Likewise.
16251         (llrint_test_towardzero): Likewise.
16252         (llrint_test_downward): Likewise.
16253         (llrint_test_upward): Likewise.
16254         (log_test): Likewise.
16255         (log10_test): Likewise.
16256         (log1p_test): Likewise.
16257         (log2_test): Likewise.
16258         (logb_test): Likewise.
16259         (logb_test_downward): Likewise.
16260         (lround_test): Likewise.
16261         (llround_test): Likewise.
16262         (modf_test): Likewise.
16263         (nearbyint_test): Likewise.
16264         (nextafter_test): Likewise.
16265         (nexttoward_test): Likewise.
16266         (pow_test): Likewise.
16267         (pow_test_tonearest): Likewise.
16268         (pow_test_towardzero): Likewise.
16269         (pow_test_downward): Likewise.
16270         (pow_test_upward): Likewise.
16271         (remainder_test): Likewise.
16272         (drem_test): Likewise.
16273         (remainder_test_tonearest): Likewise.
16274         (drem_test_tonearest): Likewise.
16275         (remainder_test_towardzero): Likewise.
16276         (drem_test_towardzero): Likewise.
16277         (remainder_test_downward): Likewise.
16278         (drem_test_downward): Likewise.
16279         (remainder_test_upward): Likewise.
16280         (drem_test_upward): Likewise.
16281         (remquo_test): Likewise.
16282         (rint_test): Likewise.
16283         (rint_test_tonearest): Likewise.
16284         (rint_test_towardzero): Likewise.
16285         (rint_test_downward): Likewise.
16286         (rint_test_upward): Likewise.
16287         (round_test): Likewise.
16288         (scalb_test): Likewise.
16289         (scalbn_test): Likewise.
16290         (scalbln_test): Likewise.
16291         (signbit_test): Likewise.
16292         (sin_test): Likewise.
16293         (sin_test_tonearest): Likewise.
16294         (sin_test_towardzero): Likewise.
16295         (sin_test_downward): Likewise.
16296         (sin_test_upward): Likewise.
16297         (sincos_test): Likewise.
16298         (sinh_test): Likewise.
16299         (sinh_test_tonearest): Likewise.
16300         (sinh_test_towardzero): Likewise.
16301         (sinh_test_downward): Likewise.
16302         (sinh_test_upward): Likewise.
16303         (sqrt_test): Likewise.
16304         (sqrt_test_tonearest): Likewise.
16305         (sqrt_test_towardzero): Likewise.
16306         (sqrt_test_downward): Likewise.
16307         (sqrt_test_upward): Likewise.
16308         (tan_test): Likewise.
16309         (tan_test_tonearest): Likewise.
16310         (tan_test_towardzero): Likewise.
16311         (tan_test_downward): Likewise.
16312         (tan_test_upward): Likewise.
16313         (tanh_test): Likewise.
16314         (tgamma_test): Likewise.
16315         (trunc_test): Likewise.
16316         (y0_test): Likewise.
16317         (y1_test): Likewise.
16318         (yn_test): Likewise.
16319         (significand_test): Likewise.
16321         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16322         individual tests in comment.
16323         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16324         (prev_max_error): New variable.
16325         (prev_real_max_error): Likewise.
16326         (prev_imag_max_error): Likewise.
16327         (compare_ulp_data): Don't refer to test names in comment.
16328         (find_test_ulps): Remove function.
16329         (find_function_ulps): Likewise.
16330         (find_complex_function_ulps): Likewise.
16331         (init_max_error): Take function name as argument.  Look up ulps
16332         for that function.
16333         (print_ulps): Remove function.
16334         (print_max_error): Use prev_max_error instead of calling
16335         find_function_ulps.
16336         (print_complex_max_error): Use prev_real_max_error and
16337         prev_imag_max_error instead of calling find_complex_function_ulps.
16338         (check_float_internal): Take max_ulp parameter instead of calling
16339         find_test_ulps.  Don't call print_ulps.
16340         (check_float): Update call to check_float_internal.
16341         (check_complex): Update calls to check_float_internal.
16342         (START): Pass argument to init_max_error.
16343         * math/gen-libm-test.pl (%results): Don't include "kind"
16344         information.
16345         (parse_ulps): Don't handle ulps of individual tests.
16346         (print_ulps_file): Likewise.
16347         (output_ulps): Likewise.
16348         * math/README.libm-test: Update.
16349         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16350         individual tests.
16351         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16352         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16353         * sysdeps/arm/libm-test-ulps: Likewise.
16354         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16355         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16356         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16357         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16358         * sysdeps/microblaze/libm-test-ulps: Likewise.
16359         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16360         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16361         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16362         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16363         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16364         * sysdeps/sh/libm-test-ulps: Likewise.
16365         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16366         * sysdeps/tile/libm-test-ulps: Likewise.
16367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16369 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16371         * math/libm-test.inc (print_complex_max_error): Check separately
16372         whether real and imaginary errors are within allowed range and
16373         pass 0 to print_complex_function_ulps instead of value within
16374         allowed range.
16376 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16378         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16379         formatting.
16380         (get_handles_fopen): Likewise.
16381         (do_write_test): Likewise.
16383         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16385         * libio/fileops.c (do_ftell): Use cached offset when
16386         available.
16387         * libio/iofwide.c (do_ftell_wide): Likewise.
16388         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16389         _IO_file_attach.
16390         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16392         [BZ #16532]
16393         * libio/libioP.h (get_file_offset): New function.
16394         * libio/fileops.c (get_file_offset): Likewise.
16395         (do_ftell): Likewise.
16396         (_IO_new_file_seekoff): Split out ftell logic.
16397         * libio/wfileops.c (do_ftell_wide): Likewise.
16398         (_IO_wfile_seekoff): Split out ftell logic.
16399         * libio/tst-ftell-active-handler.c: New test case.
16400         * libio/Makefile (tests): Add it.
16402 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16404         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16405         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16407 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16409         [BZ #16639]
16410         * nscd/connections.c (nscd_init): Call do_exit.
16411         (start_threads): Call do_exit and notify_parent.
16412         (begin_drop_privileges): Call do_exit.
16413         (finish_drop_privileges): Likewise.
16414         * nscd/selinux.c (preserve_capabilities): Likewise.
16415         (install_real_capabilities): Likewise.
16416         (nscd_selinux_enabled): Likewise.
16417         (avc_create_thread): Likewise.
16418         (avc_alloc_lock): Likewise.
16419         (nscd_avc_init): Likewise.
16420         * nscd/nscd.c (parent_fd): New static variable.
16421         (main): Create a pipe between parent and child processes.
16422         Skip closing parent_fd.
16423         (monitor_child): New function.
16424         (do_exit): Likewise.
16425         (notify_parent): Likewise.
16426         * nscd/nscd.h (notify_parent): Likewise.
16427         (do_exit): Likewise.
16429 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16431         * malloc/malloc.c (__libc_calloc): Revert last change.
16433 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16437 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16439         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16440         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16441         implementation.
16442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16443         (__libc_ifunc_impl_list): Likewise.
16444         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16445         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16446         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16447         * string/strrchr.c: Define STRRCHR.
16449 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16451         * benchtest/bench-strtok.c (simple_strtok): Delete.
16452         (strtok_string): Use as benchmark.
16453         * string/strtok (STRTOK): New macro.
16455 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16457         * manual/threads.texi: Add header and standard comments to all
16458         functions.
16460         * elf/dl-lookup.c (check_match): New function.
16461         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16462         (do_lookup_x): Remove nested function check_match. Use non-nested
16463         function check_match.
16465 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16467         * csu/Makefile (generated, before-compile): Use += rather than =.
16468         * catgets/Makefile (generated, generated-dirs): Likewise.
16469         * debug/Makefile (generated): Likewise.
16470         * dlfcn/Makefile (generated): Likewise.
16471         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16472         * iconvdata/Makefile (before-compile, generated): Likewise.
16473         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16474         * libio/Makefile (generated): Likewise.
16475         * malloc/Makefile (generated): Likewise.
16476         * manual/Makefile (generated, generated-dirs): Likewise.
16477         * misc/Makefile (generated): Likewise.
16478         * posix/Makefile (generated): Likewise.
16479         * resolv/Makefile (generated): Likewise.
16480         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16481         * timezone/Makefile (generated, generated-dirs): Likewise.
16483         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16485 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16487         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16488         power8 implementation.
16489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16490         file: POWER8 llround ifunc implementation.
16491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16492         (__lllround): Add POWER8 implementation.
16493         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16494         POWER8 llround implementation.
16496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16497         power8 implementation.
16498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16499         file: POWER8 llrint ifunc implementation.
16500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16501         Add POWER8 implementation.
16502         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16503         POWER8 llrint implementation.
16505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16506         power8 implementation.
16507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16508         file: POWER8 finite ifunc implementation.
16509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16510         Add POWER8 implementation.
16511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16512         Likewise.
16513         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16514         POWER8 finite implementation.
16515         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16517         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16518         power8 implementation.
16519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16520         file: POWER8 isinf ifunc implementation.
16521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16522         POWER8 implementation.
16523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16524         Likewise.
16525         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16526         isinf implementation.
16527         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16529         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16530         (INIT_ARCH): Add hwcap2 initialization.
16531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16532         power8 implementation.
16533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16534         file: POWER8 isnan ifunc implementation.
16535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16536         POWER8 implementation.
16537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16538         Likewise.
16539         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16540         isnan implementation.
16541         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16543 2014-02-27  Joey Ye  <joey.ye@arm.com>
16545         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16546         (_FP_NANFRAC_Q): Set to zero.
16548 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16550         [BZ #16623]
16551         * math/auto-libm-test-in: New test inputs.
16552         * math/auto-libm-test-out: Regenerate.
16553         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16554         and DA.
16555         (__cos): Likewise.
16556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16558 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16560         * scripts/evaluate-test.sh: Take new argument indicating whether
16561         failure is expected.
16562         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16563         indicating whether failure is expected.
16564         * conform/Makefile (test-xfail-run-conformtest): New variable.
16565         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16566         level.
16567         * posix/Makefile (test-xfail-annexc): New variable.
16568         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16570 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16572         * argp/Makefile: Include Makeconfig immediately after defining
16573         subdir.
16574         * assert/Makefile: Likewise.
16575         * benchtests/Makefile: Likewise.
16576         * catgets/Makefile: Likewise.
16577         * conform/Makefile: Likewise.
16578         * crypt/Makefile: Likewise.
16579         * csu/Makefile: Likewise.
16580         (all): Remove target.
16581         * ctype/Makefile: Include Makeconfig immediately after defining
16582         subdir.
16583         * debug/Makefile: Likewise.
16584         * dirent/Makefile: Likewise.
16585         * dlfcn/Makefile: Likewise.
16586         * gmon/Makefile: Likewise.
16587         * gnulib/Makefile: Likewise.
16588         * grp/Makefile: Likewise.
16589         * gshadow/Makefile: Likewise.
16590         * hesiod/Makefile: Likewise.
16591         * hurd/Makefile: Likewise.
16592         (all): Remove target.
16593         * iconvdata/Makefile: Include Makeconfig immediately after
16594         defining subdir.
16595         * inet/Makefile: Likewise.
16596         * intl/Makefile: Likewise.
16597         * io/Makefile: Likewise.
16598         * libio/Makefile: Likewise.
16599         (all): Remove target.
16600         * locale/Makefile: Include Makeconfig immediately after defining
16601         subdir.
16602         * login/Makefile: Likewise.
16603         * mach/Makefile: Likewise.
16604         (all): Remove target.
16605         * malloc/Makefile: Include Makeconfig immediately after defining
16606         subdir.
16607         (all): Remove target.
16608         * manual/Makefile: Include Makeconfig immediately after defining
16609         subdir.
16610         * math/Makefile: Likewise.
16611         * misc/Makefile: Likewise.
16612         * nis/Makefile: Likewise.
16613         * nss/Makefile: Likewise.
16614         * po/Makefile: Likewise.
16615         (all): Remove target.
16616         * posix/Makefile: Include Makeconfig immediately after defining
16617         subdir.
16618         * pwd/Makefile: Likewise.
16619         * resolv/Makefile: Likewise.
16620         * resource/Makefile: Likewise.
16621         * rt/Makefile: Likewise.
16622         * setjmp/Makefile: Likewise.
16623         * shadow/Makefile: Likewise.
16624         * signal/Makefile: Likewise.
16625         * socket/Makefile: Likewise.
16626         * soft-fp/Makefile: Likewise.
16627         * stdio-common/Makefile: Likewise.
16628         * stdlib/Makefile: Likewise.
16629         * streams/Makefile: Likewise.
16630         * string/Makefile: Likewise.
16631         * sunrpc/Makefile: Likewise.
16632         (all): Remove target.
16633         * sysvipc/Makefile: Include Makeconfig immediately after defining
16634         subdir.
16635         * termios/Makefile: Likewise.
16636         * time/Makefile: Likewise.
16637         * timezone/Makefile: Likewise.
16638         (all): Remove target.
16639         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16640         subdir.
16641         * wctype/Makefile: Likewise.
16643 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16645         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16646         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16647         (libc_feholdexcept_setround_mips): Ditto.
16648         (libc_feholdsetround): New.
16649         (libc_feholdsetroundf): New.
16650         (libc_feholdsetroundl): New.
16651         (libc_feupdateenv_test_mips): New.
16652         (libc_feupdateenv_test): New.
16653         (libc_feupdateenv_testf): New.
16654         (libc_feupdateenv_testl): New.
16655         (libc_feresetround): New.
16656         (libc_feresetroundf): New.
16657         (libc_feresetroundl): New.
16658         (libc_fetestexcept_mips): New.
16659         (libc_fetestexcept): New.
16660         (libc_fetestexceptf): New.
16661         (libc_fetestexceptl): New.
16662         (HAVE_RM_CTX): New.
16663         (libc_feholdexcept_setround_mips_ctx): New.
16664         (libc_feholdexcept_setround_ctx): New.
16665         (libc_feholdexcept_setroundf_ctx): New.
16666         (libc_feholdexcept_setroundl_ctx): New.
16667         (libc_fesetenv_mips_ctx): New.
16668         (libc_fesetenv_ctx): New.
16669         (libc_fesetenv_ctxf): New.
16670         (libc_fesetenv_ctxl): New.
16671         (libc_feupdateenv_mips_ctx): New.
16672         (libc_feupdateenv_ctx): New.
16673         (libc_feupdateenvf_ctx): New.
16674         (libc_feupdateenvl_ctx): New.
16675         (libc_feholdsetround_mips_ctx): New.
16676         (libc_feholdsetround_ctx): New.
16677         (libc_feholdsetroundf_ctx): New.
16678         (libc_feholdsetroundl_ctx): New.
16679         (libc_feresetround_mips_ctx): New.
16680         (libc_feresetround_ctx): New.
16681         (libc_feresetroundf_ctx): New.
16682         (libc_feresetroundl_ctx): New.
16684 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16686         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16688         * manual/ipc.texi: New file.
16689         * manual/Makefile (chapters): Add ipc.
16690         * manual/job.texi: Add "Inter-Process Communication" to next.
16691         * manual/process.texi: Add "Inter-Process Communication" to prev.
16693 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16695         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16697 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16699         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16701         * manual/arith.texi: Fix spaces after sentences.
16702         * manual/charset.texi: Likewise.
16703         * manual/errno.texi: Likewise.
16704         * manual/install.texi: Likewise.
16705         * manual/llio.texi: Likewise.
16706         * manual/locale.texi: Likewise.
16707         * manual/maint.texi: Likewise.
16708         * manual/math.texi: Likewise.
16709         * manual/memory.texi: Likewise.
16710         * manual/message.texi: Likewise.
16711         * manual/probes.texi: Likewise.
16712         * manual/resource.texi: Likewise.
16713         * manual/signal.texi: Likewise.
16714         * manual/socket.texi: Likewise.
16715         * manual/stdio.texi: Likewise.
16716         * manual/string.texi: Likewise.
16717         * manual/time.texi: Likewise.
16718         * manual/users.texi: Likewise.
16720 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16722         [BZ #16632]
16723         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16724         _DEFAULT_SOURCE is defined.
16726 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16727             Carlos O'Donell  <carlos@redhat.com>
16729         [BZ #16613]
16730         * elf/dl-tls.c (_dl_count_modids): New function.
16731         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16732         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16733         audit library and increment generation counter.
16734         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16735         * elf/tst-audit9.c: New file.
16736         * elf/tst-auditmod9a.c: New file.
16737         * elf/tst-auditmod9b.c: New file.
16738         * elf/Makefile: Add rules to build and run tst-audit9.
16740 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16742         [BZ #15347]
16743         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16745 2014-02-25  Will Newton  <will.newton@linaro.org>
16747         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16748         (__longjmp): Restore sp and lr before restoring callee
16749         saved registers.  Add longjmp and longjmp_target
16750         SystemTap probe point.
16751         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16752         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16753         Define to zero to match jmpbuf layout.
16754         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16755         (__sigsetjmp): Save sp and lr before saving callee
16756         saved registers.  Add setjmp SystemTap probe point.
16758 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16760         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16762 2014-02-24  Andreas Schwab  <schwab@suse.de>
16764         [BZ #15804]
16765         * elf/pldd.c (wait_for_ptrace_stop): New function.
16766         (main): Call it after attaching.
16768 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16770         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16771         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16772         Versions files is now verboten.
16773         * hurd/Versions (libc: GLIBC_2.0):
16774         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16775         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16776         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16777         * mach/Versions: Likewise.
16779         * csu/Versions: Remove unused %include.
16780         * resolv/Versions: Likewise.
16782 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16784         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16785         ($(objpfx)check-local-headers.out): Likewise.
16786         ($(objpfx)begin-end-check.out): Likewise.
16787         * Makerules (check-abi-%.out): Likewise.
16788         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16789         ($(objpfx)test2.cat): Likewise.
16790         ($(objpfx)de/libc.cat): Likewise.
16791         ($(objpfx)test-gencat.out): Likewise.
16792         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16793         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16794         ($(objpfx)noload-mem): Likewise.
16795         ($(objpfx)tst-pathopt.out): Likewise.
16796         ($(objpfx)tst-rtld-load-self.out): Likewise.
16797         ($(objpfx)tst-array1-cmp.out): Likewise.
16798         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16799         ($(objpfx)tst-array2-cmp.out): Likewise.
16800         ($(objpfx)tst-array3-cmp.out): Likewise.
16801         ($(objpfx)tst-array4-cmp.out): Likewise.
16802         ($(objpfx)tst-array5-cmp.out): Likewise.
16803         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16804         ($(objpfx)check-textrel.out): Likewise.
16805         ($(objpfx)check-execstack.out): Likewise.
16806         ($(objpfx)check-localplt.out): Likewise.
16807         ($(objpfx)order2-cmp.out): Likewise.
16808         ($(objpfx)tst-leaks1-mem): Likewise.
16809         ($(objpfx)tst-leaks1-static-mem): Likewise.
16810         ($(objpfx)tst-initorder-cmp.out): Likewise.
16811         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16812         ($(objpfx)tst-unused-dep.out): Likewise.
16813         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16814         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16815         * iconv/Makefile (test-iconvconfig): Likewise.
16816         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16817         ($(objpfx)iconv-test.out): Likewise.
16818         ($(objpfx)tst-tables.out): Likewise.
16819         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16820         ($(objpfx)tst-gettext.out): Likewise.
16821         ($(objpfx)tst-translit.out): Likewise.
16822         ($(objpfx)tst-gettext2.out): Likewise.
16823         ($(objpfx)tst-gettext4.out): Likewise.
16824         ($(objpfx)tst-gettext6.out): Likewise.
16825         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16826         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16827         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16828         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16829         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16830         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16831         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16832         ($(objpfx)wordexp-tst.out): Likewise.
16833         ($(objpfx)annexc.out): Likewise.
16834         ($(objpfx)tst-fnmatch-mem): Likewise.
16835         ($(objpfx)bug-regex2-mem): Likewise.
16836         ($(objpfx)bug-regex14-mem): Likewise.
16837         ($(objpfx)bug-regex21-mem): Likewise.
16838         ($(objpfx)bug-regex31-mem): Likewise.
16839         ($(objpfx)tst-vfork3-mem): Likewise.
16840         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16841         ($(objpfx)tst-pcre-mem): Likewise.
16842         ($(objpfx)tst-boost-mem): Likewise.
16843         ($(objpfx)tst-getconf.out): Likewise.
16844         ($(objpfx)bug-ga2-mem): Likewise.
16845         ($(objpfx)bug-glob2-mem): Likewise.
16846         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16847         ($(objpfx)mtrace-tst-leaks2): Likewise.
16848         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16849         ($(objpfx)tst-printf.out): Likewise.
16850         ($(objpfx)tst-setvbuf1.out): Likewise.
16851         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16852         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16853         ($(objpfx)tst-fmtmsg.out): Likewise.
16854         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16855         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16857         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16858         * bits/sigaction.h [__USE_MISC]: Likewise.
16859         * bits/waitstatus.h: Update #endif comments.
16860         * ctype/ctype.h: Likewise.
16861         * dirent/dirent.h: Likewise.
16862         [__USE_MISC]: Remove redundant conditionals.
16863         * grp/grp.h: Update #endif comments.
16864         [__USE_GNU]: Remove redundant conditionals.
16865         [__USE_MISC]: Likewise.
16866         * inet/netinet/in.h [__USE_GNU]: Likewise.
16867         * io/sys/stat.h [__USE_MISC]: Likewise.
16868         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16869         * libio/bits/stdio.h: Update #endif comments.
16870         [__USE_MISC]: Remove redundant conditionals.
16871         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16872         * libio/stdio.h: Update #endif comments.
16873         [__USE_MISC]: Remove redundant conditionals.
16874         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16875         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16876         * math/math.h: Update #else and #endif comments.
16877         [__USE_MISC]: Remove redundant conditionals.
16878         * misc/sys/uio.h: Update #endif comments.
16879         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16880         * posix/glob.h [__USE_MISC]: Likewise.
16881         * posix/sys/types.h: Update #endif comments.
16882         [__USE_MISC]: Remove redundant conditionals.
16883         * posix/sys/wait.h: Update #endif comments.
16884         [__USE_MISC]: Remove redundant conditionals.
16885         * posix/unistd.h: Update #endif comments.
16886         [__USE_MISC]: Remove redundant conditionals.
16887         * pwd/pwd.h [__USE_GNU]: Likewise.
16888         [__USE_MISC]: Likewise.
16889         * resolv/netdb.h [__USE_GNU]: Likewise.
16890         * signal/signal.h: Update #endif comments.
16891         [__USE_MISC]: Remove redundant conditionals.
16892         * stdlib/stdlib.h: Update #else and #endif comments.
16893         [__USE_MISC]: Remove redundant conditionals.
16894         [__USE_GNU]: Likewise.
16895         * string/bits/string2.h [__USE_MISC]: Likewise.
16896         * string/string.h: Update #endif comments.
16897         [__USE_MISC]: Remove redundant conditionals.
16898         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16899         Likewise.
16900         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16901         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16902         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16903         Likewise.
16904         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16905         Likewise.
16906         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16907         comments.
16908         [__USE_MISC]: Remove redundant conditionals.
16909         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16910         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16911         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16912         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16913         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16914         Likewise.
16915         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16916         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16917         Likewise.
16918         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16919         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16920         Likewise.
16921         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16922         Likewise.
16923         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16924         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16925         Likewise.
16926         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16927         Likewise.
16928         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16929         * sysdeps/x86/bits/string.h: Update #endif comments.
16930         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16931         conditionals.
16932         * time/sys/time.h: Update #endif comments.
16933         * time/time.h: Likewise.
16934         [__USE_MISC]: Remove redundant conditionals.
16936 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16938         [BZ #16600]
16939         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16941 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16943         * Versions.def (librt): Add GLIBC_2.17.
16945 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16947         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16948         synonym for _SYS_AUXV_H to allow direct inclusion.
16949         * sysdeps/sparc/bits/hwcap.h: Likewise.
16950         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16951         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16952         * sysdeps/sparc/sysdep.h: Likewise.
16954 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16956         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16958 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16960         * benchtests/bench-strrchr.c: Print length instead of position.
16962 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16964         [BZ #16611]
16965         * sysdeps/unix/sysv/linux/kernel-features.h
16966         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16967         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16968         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16969         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16970         Likewise.
16971         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16972         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16973         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16974         (__ASSUME_SENDMMSG): Define instead of using previous
16975         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16976         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16977         (__ASSUME_SENDMMSG_SYSCALL): Define.
16978         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16979         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16980         Likewise.
16981         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16982         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16983         Likewise.
16984         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16985         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16986         Likewise.
16987         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16988         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16989         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16990         [__ASSUME_SENDMMSG]: Change conditionals to
16991         [__ASSUME_SENDMMSG_SOCKETCALL].
16992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16993         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16994         Define.
16995         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16996         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16997         Likewise.
16998         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16999         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17000         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17001         [!__ASSUME_SENDMMSG]: Change conditional to
17002         [!__ASSUME_SENDMMSG_SOCKETCALL].
17003         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17004         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17005         Define.
17007         [BZ #16610]
17008         * sysdeps/unix/sysv/linux/kernel-features.h
17009         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17010         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17011         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17012         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17013         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17014         [__i386__ || __sparc__]
17015         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17016         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17017         (__ASSUME_RECVMMSG): Define instead of using previous
17018         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17019         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17020         (__ASSUME_RECVMMSG_SYSCALL): Define.
17021         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17022         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17023         Likewise.
17024         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17025         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17026         Likewise.
17027         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17028         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17029         Likewise.
17030         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17031         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17032         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17033         [__ASSUME_RECVMMSG]: Change condition to
17034         [__ASSUME_RECVMMSG_SOCKETCALL].
17035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17036         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17037         Define.
17038         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17039         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17040         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17041         Likewise.
17042         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17043         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17044         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17045         [!__ASSUME_RECVMMSG]: Change condition to
17046         [!__ASSUME_RECVMMSG_SOCKETCALL].
17047         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17048         (__ASSUME_RECVMMSG_SYSCALL): Define.
17050         [BZ #16609]
17051         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17052         __powerpc__ || __s390__ || __sh__ || __sparc__]
17053         (__ASSUME_SOCKETCALL): Define.
17054         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17055         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17056         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17057         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17058         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17059         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17060         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17061         (__ASSUME_ACCEPT4): Define instead of using previous
17062         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17063         __powerpc__ || __sparc__ || __s390__)] condition.
17064         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17065         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17066         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17067         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17068         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17069         [!__ASSUME_ACCEPT4]: Change condition to
17070         [!__ASSUME_ACCEPT4_SOCKETCALL].
17071         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17072         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
17073         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17074         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17075         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17076         __ASSUME_ACCEPT4_SYSCALL.
17077         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17078         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17079         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17080         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17081         __ASSUME_ACCEPT4_SYSCALL.
17082         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17083         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17084         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17085         [__ASSUME_ACCEPT4]: Change condition to
17086         [__ASSUME_ACCEPT4_SOCKETCALL].
17087         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17088         (__ASSUME_SOCKETCALL): Define.
17089         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17090         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17091         (__ASSUME_SOCKETCALL): Define.
17092         (__ASSUME_ACCEPT4): Remove.
17093         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17094         Define.
17095         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17096         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17097         Likewise.
17098         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17099         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17101         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17102         macro.
17103         (HWCAP_ARM_LPAE): Likewise.
17104         (HWCAP_ARM_EVTSTRM): Likewise.
17105         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17106         Add vpfd32, lpae and evtstrm.
17107         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17108         Increase to 22.
17110 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
17112         * math/auto-libm-test-in: Add tests of clog10.
17113         * math/auto-libm-test-out: Regenerated.
17114         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17115         * sysdeps/i386/fpu/libm-test-ulps: Update.
17116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17118 2014-02-18  Andreas Schwab  <schwab@suse.de>
17120         [BZ #16574]
17121         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17122         Store non-zero if the second buffer was newly allocated.
17123         (send_dg): Likewise.
17124         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17125         to send_vc and send_dg.
17126         (res_nsend): Pass NULL for ansp2_malloced.
17127         * resolv/res_query.c (__libc_res_nquery): Add parameter
17128         answerp2_malloced and pass it down to __libc_res_nsend.
17129         (res_nquery): Pass additional NULL to __libc_res_nquery.
17130         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17131         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17132         second answer buffer if answerp2_malloced was set.
17133         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17134         (__libc_res_nquerydomain): Add parameter
17135         answerp2_malloced and pass it down to __libc_res_nquery.
17136         (res_nquerydomain): Pass additional NULL to
17137         __libc_res_nquerydomain.
17138         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17139         additional NULL to __libc_res_nsend and __libc_res_nquery.
17140         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17141         additional NULL to __libc_res_nsearch.
17142         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17143         parameter of __libc_res_nsearch to check for separately allocated
17144         second buffer.
17145         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17146         __libc_res_nquery.
17147         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17148         additional NULL to __libc_res_nquery.
17149         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17150         __libc_res_nsearch.
17151         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17152         * include/resolv.h: Update prototypes of __libc_res_nquery,
17153         __libc_res_nsearch, __libc_res_nsend.
17155 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17157         * math/auto-libm-test-in: Add tests of fma.
17158         * math/auto-libm-test-out: Regenerated.
17159         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17160         (fma_towardzero_test_data): Likewise.
17161         (fma_downward_test_data): Likewise.
17162         (fma_upward_test_data): Likewise.
17163         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17164         mpc_mode.
17165         (rounding_modes): Add values for new field.
17166         (func_calc_method): Add value mpfr_fff_f.
17167         (func_calc_desc): Add mpfr_fff_f union field.
17168         (test_function): Add field exact_args.
17169         (FUNC): Add macro argument EXACT_ARGS.
17170         (FUNC_mpfr_f_f): Update call to FUNC.
17171         (FUNC_mpfr_f_f): Likewise.
17172         (FUNC_mpfr_ff_f): Likewise.
17173         (FUNC_mpfr_if_f): Likewise.
17174         (FUNC_mpc_c_f): Likewise.
17175         (FUNC_mpc_c_c): Likewise.
17176         (test_functions): Add fma.  Update calls to FUNC.
17177         (handle_input_arg): Add argument exact_args.
17178         (add_test): Update call to handle_input_arg.
17179         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17180         (output_for_one_input_case): Update call to calc_generic_results.
17181         Recalculate exact zero results in each rounding mode.
17183         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17184         non-negative before setting low bit.
17185         * math/auto-libm-test-in: Mark one asin test possibly having
17186         spurious underflow.
17187         * math/auto-libm-test-out: Regenerated.
17188         * sysdeps/i386/fpu/libm-test-ulps: Update.
17189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17191 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17193         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17194         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17195         ports/sysdeps/unix/sysv/linux/microblaze.
17196         * README: Add missing listing for microblaze*-*-linux-gnu.
17198 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17200         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17201         duplicate code
17203 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17205         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17206         * sysdeps/unix/sysv/linux/ia64: Move directory from
17207         ports/sysdeps/unix/sysv/linux/ia64.
17208         * README: Update listing for ia64-*-linux-gnu.
17210 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17211             Joseph Myers  <joseph@codesourcery.com>
17213         * Makeconfig (test-name): New variable.
17214         (evaluate-test): Likewise.
17215         * Makerules (do-test-clean): Remove .test-result files.
17216         (common-mostlyclean): Likewise.
17217         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17218         * scripts/evaluate-test.sh: New file.
17220 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17222         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17223         separate $(objpfx)tst-fopenloc-cmp.out and
17224         $(objpfx)tst-fopenloc-mem.out targets.
17225         (tests): Update dependencies.
17226         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17227         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17228         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17229         (tst-rxspencer-no-utf8-ARGS): New variable.
17230         (tst-rxspencer-no-utf8-ENV): Likewise.
17231         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17232         instead of $(objpfx)tst-rxspencer-mem.
17233         ($(objpfx)tst-rxspencer-mem): Change target to
17234         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17235         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17236         * posix/tst-rxspencer-no-utf8.c: New file.
17238         * elf/Makefile ($(objpfx)order.out): Remove rule.
17239         [$(run-built-tests) = yes] (tests): Depend on
17240         $(objpfx)order-cmp.out.
17241         ($(objpfx)order-cmp.out): New rule.
17242         [$(run-built-tests) = yes] (tests): Depend on
17243         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17244         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17245         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17246         $(objpfx)tst-array5-static-cmp.out.
17247         ($(objpfx)tst-array1.out): Remove rule.
17248         ($(objpfx)tst-array1-cmp.out): New rule.
17249         ($(objpfx)tst-array1-static.out): Remove rule.
17250         ($(objpfx)tst-array1-static-cmp.out): New rule.
17251         ($(objpfx)tst-array2.out): Remove rule.
17252         ($(objpfx)tst-array2-cmp.out): New rule.
17253         ($(objpfx)tst-array3.out): Remove rule.
17254         ($(objpfx)tst-array3-cmp.out): New rule.
17255         ($(objpfx)tst-array4.out): Remove rule.
17256         ($(objpfx)tst-array4-cmp.out): New rule.
17257         ($(objpfx)tst-array5.out): Remove rule.
17258         ($(objpfx)tst-array5-cmp.out): New rule.
17259         ($(objpfx)tst-array5-static.out): Remove rule.
17260         ($(objpfx)tst-array5-static-cmp.out): New rule.
17261         [$(run-built-tests) = yes] (tests): Depend on
17262         $(objpfx)order2-cmp.out.
17263         ($(objpfx)order2.out): Remove rule.
17264         ($(objpfx)order2-cmp.out): New rule.
17265         ($(objpfx)tst-initorder.out): Remove rule.
17266         [$(run-built-tests) = yes] (tests): Depend on
17267         $(objpfx)tst-initorder-cmp.out.
17268         ($(objpfx)tst-initorder-cmp.out): New rule.
17269         ($(objpfx)tst-initorder2.out): Remove rule.
17270         [$(run-built-tests) = yes] (tests): Depend on
17271         $(objpfx)tst-initorder2-cmp.out.
17272         ($(objpfx)tst-initorder2-cmp.out): New rule.
17273         [$(run-built-tests) = yes] (tests): Depend on
17274         $(objpfx)tst-unused-dep-cmp.out.
17275         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17276         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17277         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17278         on $(objpfx)tst-setvbuf1-cmp.out.
17279         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17280         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17281         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17282         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17283         ($(objpfx)tst-svc.out): Remove rule.
17284         ($(objpfx)tst-svc-cmp.out): New rule.
17286 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17288         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17289         * ctype/ctype.h [__USE_MISC]: Likewise.
17290         * dirent/dirent.h [__USE_MISC]: Likewise.
17291         * grp/grp.h [__USE_MISC]: Likewise.
17292         * io/fcntl.h [__USE_MISC]: Likewise.
17293         * io/sys/stat.h [__USE_MISC]: Likewise.
17294         * libio/stdio.h [__USE_MISC]: Likewise.
17295         * posix/unistd.h [__USE_MISC]: Likewise.
17296         * pwd/pwd.h [__USE_MISC]: Likewise.
17297         * stdlib.h [__USE_MISC]: Likewise.
17298         * string/bits/string2.h [__USE_MISC]: Likewise.
17299         * string/string.h [__USE_MISC]: Likewise.
17300         * time/time.h [__USE_MISC]: Likewise.
17302 2014-02-13  Andreas Schwab  <schwab@suse.de>
17304         [BZ #16574]
17305         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17306         second answer buffer if it was separately allocated.
17308 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17310         * sysdeps/mips/math-tests.h: Include <features.h>.
17311         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17312         (ROUNDING_TESTS_long_double): Do not define.
17313         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17314         (EXCEPTION_TESTS_long_double): Likewise.
17315         * sysdeps/mips/mips64/libm-test-ulps: Update.
17317         * include/features.h (__USE_BSD): Remove macro definitions.
17318         (__USE_SVID): Likewise.
17319         (_BSD_SOURCE): Likewise.
17320         (_SVID_SOURCE): Likewise.
17321         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17322         from definition of _DEFAULT_SOURCE.
17323         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17324         [_DEFAULT_SOURCE].
17325         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17326         * bits/mman.h [__USE_BSD]: Likewise.
17327         * bits/termios.h [__USE_BSD]: Likewise.
17328         * bits/waitstatus.h [__USE_BSD]: Likewise.
17329         * ctype/ctype.h [__USE_SVID]: Likewise.
17330         * dirent/dirent.h [__USE_BSD]: Likewise.
17331         * grp/grp.h [__USE_SVID]: Likewise.
17332         [__USE_BSD]: Likewise.
17333         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17334         * io/fcntl.h [__USE_BSD]: Likewise.
17335         * io/ftw.h [__USE_BSD]: Likewise.
17336         * io/sys/stat.h [__USE_BSD]: Likewise.
17337         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17338         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17339         * libio/stdio.h [__USE_SVID]: Likewise.
17340         [__USE_BSD]: Likewise.
17341         * math/math.h [__USE_SVID]: Likewise.
17342         [__USE_BSD]: Likewise.
17343         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17344         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17345         * misc/search.h [__USE_SVID]: Likewise.
17346         * misc/sys/mman.h [__USE_BSD]: Likewise.
17347         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17348         * misc/sys/uio.h [__USE_BSD]: Likewise.
17349         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17350         * posix/glob.h [__USE_BSD]: Likewise.
17351         * posix/regex.h [__USE_BSD]: Likewise.
17352         * posix/sys/types.h [__USE_BSD]: Likewise.
17353         [__USE_SVID]: Likewise.
17354         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17355         * posix/sys/wait.h [__USE_BSD]: Likewise.
17356         [__USE_SVID]: Likewise.
17357         * posix/unistd.h [__USE_BSD]: Likewise.
17358         [__USE_SVID]: Likewise.
17359         * pwd/pwd.h [__USE_SVID]: Likewise.
17360         * resolv/netdb.h [__USE_BSD]: Likewise.
17361         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17362         * signal/signal.h [__USE_BSD]: Likewise.
17363         [__USE_SVID]: Likewise.
17364         * socket/sys/socket.h [__USE_BSD]: Likewise.
17365         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17366         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17367         [__USE_SVID]: Likewise.
17368         * string/bits/string2.h [__USE_BSD]: Likewise.
17369         [__USE_SVID]: Likewise.
17370         * string/bits/string3.h [__USE_BSD]: Likewise.
17371         * string/endian.h [__USE_BSD]: Likewise.
17372         * string/string.h [__USE_SVID]: Likewise.
17373         [__USE_BSD]: Likewise.
17374         * string/strings.h [__USE_BSD]: Likewise.
17375         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17376         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17377         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17378         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17379         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17380         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17381         Likewise.
17382         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17383         Likewise.
17384         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17385         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17386         Likewise.
17387         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17388         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17389         Likewise.
17390         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17391         Likewise.
17392         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17393         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17394         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17395         Likewise.
17396         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17397         Likewise.
17398         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17399         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17400         * termios/termios.h [__USE_BSD]: Likewise.
17401         * time/sys/time.h [__USE_BSD]: Likewise.
17402         * time/time.h [__USE_BSD]: Likewise.
17403         [__USE_SVID]: Likewise.
17405         * Makefile (subdir_targets): Remove subdir_lint.out.
17407         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17408         (do-tst-printf): Likewise.
17409         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17410         $(objpfx)tst-printf.out.
17412         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17414         * Makerules (check-abi-%): Change target to
17415         $(objpfx)check-abi-%.out.
17416         (check-abi target): Update dependencies.
17417         (check-abi-pattern variable): Redirect output of diff to $@.
17418         (check-abi variable): Likewise.
17419         * elf/Makefile (check-abi): Update dependencies.
17421         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17422         unused.
17423         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17424         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17425         subnormal range.
17426         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17427         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17428         value has largest subnormal exponent.
17429         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17430         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17431         * sysdeps/aarch64/soft-fp/sfp-machine.h
17432         (_FP_TININESS_AFTER_ROUNDING): New macro.
17433         * sysdeps/alpha/soft-fp/sfp-machine.h
17434         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17435         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17436         Likewise.
17437         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17438         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17439         * sysdeps/mips/soft-fp/sfp-machine.h
17440         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17441         * sysdeps/powerpc/soft-fp/sfp-machine.h
17442         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17443         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17444         Likewise.
17445         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17446         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17447         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17448         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17449         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17450         Likewise.
17452 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17454         [BZ #16545]
17455         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17456         model 1.
17458 2014-02-12  Richard Henderson  <rth@redhat.com>
17460         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17461         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17462         * sysdeps/unix/sysv/linux/alpha: Move directory from
17463         ports/sysdeps/unix/sysv/linux/alpha.
17464         * README: Update listing for alpha-*-linux-gnu.
17466 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17468         * include/features.h: Update comment documenting feature test
17469         macros.
17470         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17471         _DEFAULT_SOURCE.
17472         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17473         (_SVID_SOURCE): Likewise.
17474         (_DEFAULT_SOURCE): Update description of default features.
17475         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17476         with _GNU_SOURCE.
17477         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17478         (S_ISVTX): Likewise.
17479         * manual/math.texi (Mathematical Constants): Likewise.
17480         * manual/signal.texi (Interrupted Primitives): Likewise.
17481         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17482         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17483         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17484         Don't refer to _SVID_SOURCE in warning text.
17486         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17488         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17489         already defined.
17490         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17491         * sysdeps/mips/dl-lookup.c: Remove.
17492         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17494 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17496         [BZ #16447]
17497         * math/auto-libm-test-in: Add testcase for expl.
17498         * math/auto-libm-test-out: Regenerate.
17499         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17500         calculation of unsafe.
17501         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17503 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17505         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17506         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17507         ports/sysdeps/unix/sysv/linux/aarch64.
17508         * README: Update listing for aarch64*-*-linux-gnu.
17510 2014-02-11  Will Newton  <will.newton@linaro.org>
17512         * manual/probes.texi (Mathematical Function Probes): Use
17513         "triggered" instead of "hit".
17515         * manual/probes.texi (Internal Probes): Add documentation
17516         of setjmp, longjmp and longjmp_target probes.
17518         * include/stap-probe.h: Add comment about probe argument
17519         format.
17521         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17522         definition.  (tr_where, tr_freehook, tr_mallochook,
17523         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17525 2014-02-11  David S. Miller  <davem@davemloft.net>
17527         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17528         processing int_tests.
17530 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17532         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17533         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17534         * sysdeps/unix/sysv/linux/mips: Move directory from
17535         ports/sysdeps/unix/sysv/linux/mips.
17536         * README: Update listing for mips-*-linux-gnu and
17537         mips64-*-linux-gnu.
17539 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17541         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17542         * sysdeps/unix/sysv/linux/m68k: Move directory from
17543         ports/sysdeps/unix/sysv/linux/m68k.
17544         * README: Update listing for m68k-*-linux-gnu.
17546 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17548         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17549         * sysdeps/unix/sysv/linux/generic: Move directory from
17550         ports/sysdeps/unix/sysv/linux/generic.
17551         * sysdeps/unix/sysv/linux/tile: Move directory from
17552         ports/sysdeps/unix/sysv/linux/tile.
17553         * README: Update listing for tile*-*-linux-gnu.
17555 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17557         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17558         __builtin_expect.
17559         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17560         * catgets/open_catalog.c (__open_catalog): Likewise.
17561         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17562         * debug/confstr_chk.c: Likewise.
17563         * debug/fread_chk.c (__fread_chk): Likewise.
17564         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17565         * debug/getgroups_chk.c: Likewise.
17566         * debug/mbsnrtowcs_chk.c: Likewise.
17567         * debug/mbsrtowcs_chk.c: Likewise.
17568         * debug/mbstowcs_chk.c: Likewise.
17569         * debug/memcpy_chk.c: Likewise.
17570         * debug/memmove_chk.c: Likewise.
17571         * debug/mempcpy_chk.c: Likewise.
17572         * debug/memset_chk.c: Likewise.
17573         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17574         * debug/strcat_chk.c (__strcat_chk): Likewise.
17575         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17576         * debug/strncat_chk.c (__strncat_chk): Likewise.
17577         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17578         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17579         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17580         * debug/wcpncpy_chk.c: Likewise.
17581         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17582         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17583         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17584         * debug/wcsncpy_chk.c: Likewise.
17585         * debug/wcsnrtombs_chk.c: Likewise.
17586         * debug/wcsrtombs_chk.c: Likewise.
17587         * debug/wcstombs_chk.c: Likewise.
17588         * debug/wmemcpy_chk.c: Likewise.
17589         * debug/wmemmove_chk.c: Likewise.
17590         * debug/wmempcpy_chk.c: Likewise.
17591         * debug/wmemset_chk.c: Likewise.
17592         * dirent/scandirat.c (SCANDIRAT): Likewise.
17593         * dlfcn/dladdr1.c (dladdr1): Likewise.
17594         * dlfcn/dladdr.c (dladdr): Likewise.
17595         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17596         * dlfcn/dlerror.c (__dlerror): Likewise.
17597         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17598         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17599         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17600         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17601         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17602         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17603         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17604         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17605         Likewise.
17606         * elf/dl-conflict.c: Likewise.
17607         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17608         * elf/dl-dst.h: Likewise.
17609         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17610         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17611         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17612         * elf/dl-init.c (call_init, _dl_init): Likewise.
17613         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17614         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17615         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17616         Likewise.
17617         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17618         Likewise.
17619         * elf/dl-minimal.c (__libc_memalign): Likewise.
17620         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17621         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17622         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17623         * elf/dl-sym.c (do_sym): Likewise.
17624         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17625         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17626         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17627         * elf/dl-writev.h (_dl_writev): Likewise.
17628         * elf/ldconfig.c (search_dir): Likewise.
17629         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17630         (dl_main): Likewise.
17631         * elf/setup-vdso.h (setup_vdso): Likewise.
17632         * grp/compat-initgroups.c (compat_call): Likewise.
17633         * grp/fgetgrent.c (fgetgrent): Likewise.
17634         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17635         * grp/putgrent.c (putgrent): Likewise.
17636         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17637         Likewise.
17638         * hurd/hurdinit.c: Likewise.
17639         * iconvdata/8bit-gap.c (struct): Likewise.
17640         * iconvdata/ansi_x3.110.c : Likewise.
17641         * iconvdata/big5.c : Likewise.
17642         * iconvdata/big5hkscs.c : Likewise.
17643         * iconvdata/cp1255.c: Likewise.
17644         * iconvdata/cp1258.c : Likewise.
17645         * iconvdata/cp932.c : Likewise.
17646         * iconvdata/euc-cn.c: Likewise.
17647         * iconvdata/euc-jisx0213.c : Likewise.
17648         * iconvdata/euc-jp.c: Likewise.
17649         * iconvdata/euc-jp-ms.c : Likewise.
17650         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17651         * iconvdata/gb18030.c : Likewise.
17652         * iconvdata/gbbig5.c (const): Likewise.
17653         * iconvdata/gbgbk.c: Likewise.
17654         * iconvdata/gbk.c : Likewise.
17655         * iconvdata/ibm1364.c : Likewise.
17656         * iconvdata/ibm930.c : Likewise.
17657         * iconvdata/ibm932.c: Likewise.
17658         * iconvdata/ibm933.c : Likewise.
17659         * iconvdata/ibm935.c : Likewise.
17660         * iconvdata/ibm937.c : Likewise.
17661         * iconvdata/ibm939.c : Likewise.
17662         * iconvdata/ibm943.c: Likewise.
17663         * iconvdata/iso_11548-1.c: Likewise.
17664         * iconvdata/iso-2022-cn.c : Likewise.
17665         * iconvdata/iso-2022-cn-ext.c : Likewise.
17666         * iconvdata/iso-2022-jp-3.c: Likewise.
17667         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17668         * iconvdata/iso-2022-kr.c : Likewise.
17669         * iconvdata/iso646.c (gconv_end): Likewise.
17670         * iconvdata/iso_6937-2.c : Likewise.
17671         * iconvdata/iso_6937.c : Likewise.
17672         * iconvdata/iso8859-1.c: Likewise.
17673         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17674         * iconvdata/shift_jisx0213.c : Likewise.
17675         * iconvdata/sjis.c : Likewise.
17676         * iconvdata/t.61.c : Likewise.
17677         * iconvdata/tcvn5712-1.c : Likewise.
17678         * iconvdata/tscii.c: Likewise.
17679         * iconvdata/uhc.c : Likewise.
17680         * iconvdata/unicode.c (gconv_end): Likewise.
17681         * iconvdata/utf-16.c (gconv_end): Likewise.
17682         * iconvdata/utf-32.c (gconv_end): Likewise.
17683         * iconvdata/utf-7.c (base64): Likewise.
17684         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17685         * iconv/gconv_close.c (__gconv_close): Likewise.
17686         * iconv/gconv_open.c (__gconv_open): Likewise.
17687         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17688         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17689         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17690         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17691         (ucs4le_internal_loop_single): Likewise.
17692         * iconv/iconv.c (iconv): Likewise.
17693         * iconv/iconv_close.c: Likewise.
17694         * iconv/loop.c (SINGLE): Likewise.
17695         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17696         * include/atomic.h: Likewise.
17697         * inet/inet6_option.c (option_alloc): Likewise.
17698         * intl/bindtextdom.c (set_binding_values): Likewise.
17699         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17700         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17701         * intl/localealias.c (read_alias_file): Likewise.
17702         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17703         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17704         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17705         * libio/fmemopen.c (fmemopen): Likewise.
17706         * libio/iofgets.c (_IO_fgets): Likewise.
17707         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17708         * libio/iofgetws.c (fgetws): Likewise.
17709         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17710         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17711         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17712         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17713         * locale/findlocale.c (_nl_find_locale): Likewise.
17714         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17715         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17716         Likewise.
17717         * locale/setlocale.c (setlocale): Likewise.
17718         * login/programs/pt_chown.c (main): Likewise.
17719         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17720         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17721         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17722         (mmap, mmap64, mremap, munmap): Likewise.
17723         * math/e_exp2l.c: Likewise.
17724         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17725         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17726         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17727         * math/s_catan.c (__catan): Likewise.
17728         * math/s_catanf.c (__catanf): Likewise.
17729         * math/s_catanh.c (__catanh): Likewise.
17730         * math/s_catanhf.c (__catanhf): Likewise.
17731         * math/s_catanhl.c (__catanhl): Likewise.
17732         * math/s_catanl.c (__catanl): Likewise.
17733         * math/s_ccosh.c (__ccosh): Likewise.
17734         * math/s_ccoshf.c (__ccoshf): Likewise.
17735         * math/s_ccoshl.c (__ccoshl): Likewise.
17736         * math/s_cexp.c (__cexp): Likewise.
17737         * math/s_cexpf.c (__cexpf): Likewise.
17738         * math/s_cexpl.c (__cexpl): Likewise.
17739         * math/s_clog10.c (__clog10): Likewise.
17740         * math/s_clog10f.c (__clog10f): Likewise.
17741         * math/s_clog10l.c (__clog10l): Likewise.
17742         * math/s_clog.c (__clog): Likewise.
17743         * math/s_clogf.c (__clogf): Likewise.
17744         * math/s_clogl.c (__clogl): Likewise.
17745         * math/s_csin.c (__csin): Likewise.
17746         * math/s_csinf.c (__csinf): Likewise.
17747         * math/s_csinh.c (__csinh): Likewise.
17748         * math/s_csinhf.c (__csinhf): Likewise.
17749         * math/s_csinhl.c (__csinhl): Likewise.
17750         * math/s_csinl.c (__csinl): Likewise.
17751         * math/s_csqrt.c (__csqrt): Likewise.
17752         * math/s_csqrtf.c (__csqrtf): Likewise.
17753         * math/s_csqrtl.c (__csqrtl): Likewise.
17754         * math/s_ctan.c (__ctan): Likewise.
17755         * math/s_ctanf.c (__ctanf): Likewise.
17756         * math/s_ctanh.c (__ctanh): Likewise.
17757         * math/s_ctanhf.c (__ctanhf): Likewise.
17758         * math/s_ctanhl.c (__ctanhl): Likewise.
17759         * math/s_ctanl.c (__ctanl): Likewise.
17760         * math/w_pow.c: Likewise.
17761         * math/w_powf.c: Likewise.
17762         * math/w_powl.c: Likewise.
17763         * math/w_scalb.c (sysv_scalb): Likewise.
17764         * math/w_scalbf.c (sysv_scalbf): Likewise.
17765         * math/w_scalbl.c (sysv_scalbl): Likewise.
17766         * misc/error.c (error_tail): Likewise.
17767         * misc/pselect.c (__pselect): Likewise.
17768         * nis/nis_callback.c (__nis_create_callback): Likewise.
17769         * nis/nis_call.c (__nisfind_server): Likewise.
17770         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17771         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17772         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17773         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17774         * nis/nis_lookup.c (nis_lookup): Likewise.
17775         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17776         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17777         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17778         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17779         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17780         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17781         * nis/nss_compat/compat-initgroups.c (add_group)
17782         (internal_getgrent_r): Likewise.
17783         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17784         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17785         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17786         (internal_getspnam_r): Likewise.
17787         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17788         (_nss_nis_getaliasbyname_r): Likewise.
17789         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17790         (_nss_nis_getntohost_r): Likewise.
17791         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17792         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17793         (_nss_nis_getgrgid_r): Likewise.
17794         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17795         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17796         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17797         (_nss_nis_gethostbyname4_r): Likewise.
17798         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17799         (initgroups_netid): Likewise.
17800         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17801         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17802         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17803         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17804         (_nss_nis_getprotobynumber_r): Likewise.
17805         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17806         (_nss_nis_getsecretkey): Likewise.
17807         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17808         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17809         (_nss_nis_getpwuid_r): Likewise.
17810         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17811         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17812         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17813         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17814         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17815         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17816         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17817         Likewise.
17818         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17819         (_nss_nisplus_getntohost_r): Likewise.
17820         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17821         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17822         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17823         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17824         Likewise.
17825         * nis/nss_nisplus/nisplus-initgroups.c
17826         (_nss_nisplus_initgroups_dyn): Likewise.
17827         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17828         (_nss_nisplus_getnetbyaddr_r): Likewise.
17829         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17830         (_nss_nisplus_getprotobynumber_r): Likewise.
17831         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17832         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17833         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17834         Likewise.
17835         * nis/nss_nisplus/nisplus-service.c
17836         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17837         (_nss_nisplus_getservbyport_r): Likewise.
17838         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17839         (_nss_nisplus_getspnam_r): Likewise.
17840         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17841         Likewise.
17842         * nscd/aicache.c (addhstaiX): Likewise.
17843         * nscd/cache.c (cache_search, prune_cache): Likewise.
17844         * nscd/connections.c (register_traced_file, send_ro_fd)
17845         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17846         (main_loop_epoll): Likewise.
17847         * nscd/grpcache.c (addgrbyX): Likewise.
17848         * nscd/hstcache.c (addhstbyX): Likewise.
17849         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17850         * nscd/mem.c (gc, mempool_alloc): Likewise.
17851         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17852         (addinnetgrX): Likewise.
17853         * nscd/nscd-client.h (__nscd_acquire_maplock)
17854         (__nscd_drop_map_ref): Likewise.
17855         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17856         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17857         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17858         Likewise.
17859         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17860         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17861         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17862         (__nscd_get_map_ref): Likewise.
17863         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17864         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17865         Likewise.
17866         * nscd/pwdcache.c (addpwbyX): Likewise.
17867         * nscd/selinux.c (preserve_capabilities): Likewise.
17868         * nscd/servicescache.c (addservbyX): Likewise.
17869         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17870         * posix/fnmatch.c (fnmatch): Likewise.
17871         * posix/getopt.c (_getopt_internal_r): Likewise.
17872         * posix/glob.c (glob, glob_in_dir): Likewise.
17873         * posix/wordexp.c (exec_comm_child): Likewise.
17874         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17875         (getanswer_r, gaih_getanswer_slice): Likewise.
17876         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17877         * resolv/res_init.c: Likewise.
17878         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17879         * resolv/res_query.c (__libc_res_nquery): Likewise.
17880         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17881         Likewise.
17882         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17883         * stdio-common/perror.c (perror): Likewise.
17884         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17885         * stdio-common/tmpnam.c (tmpnam): Likewise.
17886         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17887         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17888         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17889         Likewise.
17890         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17891         * stdlib/putenv.c (putenv): Likewise.
17892         * stdlib/setenv.c (__add_to_environ): Likewise.
17893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17894         * stdlib/strtol_l.c (INTERNAL): Likewise.
17895         * string/memmem.c (memmem): Likewise.
17896         * string/strerror.c (strerror): Likewise.
17897         * string/strnlen.c (__strnlen): Likewise.
17898         * string/test-memmem.c (simple_memmem): Likewise.
17899         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17900         * sunrpc/pm_getport.c (__get_socket): Likewise.
17901         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17902         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17903         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17904         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17905         Likewise.
17906         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17907         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17908         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17909         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17910         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17911         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17912         Likewise.
17913         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17914         Likewise.
17915         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17916         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17917         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17918         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17919         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17920         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17921         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17922         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17923         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17924         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17925         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17926         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17927         Likewise.
17928         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17929         Likewise.
17930         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17931         Likewise.
17932         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17933         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17934         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17935         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17936         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17937         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17938         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17939         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17941         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17942         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17943         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17944         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17945         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17947         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17948         Likewise.
17949         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17950         Likewise.
17951         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17952         Likewise.
17953         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17954         Likewise.
17955         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17956         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17957         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17958         Likewise.
17959         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17960         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17961         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17962         * sysdeps/posix/sleep.c: Likewise.
17963         * sysdeps/posix/tempname.c: Likewise.
17964         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17965         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17966         Likewise.
17967         * sysdeps/powerpc/powerpc32/dl-machine.h
17968         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17969         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17971         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17972         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17973         Likewise.
17974         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17975         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17976         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17977         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17978         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17979         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17980         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17981         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17982         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17983         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17984         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17985         (elf_machine_lazy_rel): Likewise.
17986         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17987         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17988         (elf_machine_lazy_rel): Likewise.
17989         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17990         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17991         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17992         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17993         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17994         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17995         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17996         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17997         Likewise.
17998         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17999         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18000         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18001         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18002         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18003         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18004         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18005         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18006         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18007         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18008         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18009         Likewise.
18010         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18011         (__posix_fallocate64_l64): Likewise.
18012         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18013         (posix_fallocate): Likewise.
18014         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18015         Likewise.
18016         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18017         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18018         (getifaddrs_internal): Likewise.
18019         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18020         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18021         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18022         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18023         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18024         (__posix_fallocate64_l64): Likewise.
18025         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18026         Likewise.
18027         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18028         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18029         (__get_clockfreq): Likewise.
18030         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18031         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18032         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18033         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18034         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18035         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18036         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18037         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18038         Likewise.
18039         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18040         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18041         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18042         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18043         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18044         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18045         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18046         Likewise.
18047         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18048         (posix_fallocate): Likewise.
18049         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18050         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18051         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18052         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18053         (elf_machine_rela, elf_machine_rela_relative)
18054         (elf_machine_lazy_rel): Likewise.
18055         * time/asctime.c (asctime_internal): Likewise.
18056         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18057         * time/tzset.c (__tzset_parse_tz): Likewise.
18058         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18059         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18060         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18061         * wcsmbs/wcsmbsload.h: Likewise.
18063         [BZ #15894]
18064         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18066         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18067         (arena_get2): Remove THREAD_STATS conditionals.
18068         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18069         (__malloc_stats, int): Likewise.
18071 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
18073         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18074         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
18076         * manual/setjmp.texi: Fix typos/grammar errors.
18078         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18079         Only return early when n is <= 0.  Delete unused return statement.
18081         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18082         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18083         * debug/tst-longjmp_chk3.c: New file.
18085         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18086         (test_main): Replace code with set_fortify_handler call.
18087         * debug/test-strcpy_chk.c: Likewise.
18088         * debug/tst-chk1.c: Likewise.
18089         * debug/tst-longjmp_chk.c: Likewise.
18090         * test-skeleton.c: Include fcntl.h & paths.h
18091         (set_fortify_handler): Define.
18093         * debug/tst-longjmp_chk.c: Add header comment and include
18094         ../test-skeleton.c.
18095         (do_test): Mark static.
18096         (TEST_FUNCTION): Define.
18098         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18099         (IP_PMTUDISC_INTERFACE): Likewise.
18100         (IP_MULTICAST_IF): Likewise.
18101         (IP_MULTICAST_TTL): Likewise.
18102         (IP_MULTICAST_LOOP): Likewise.
18103         (IP_ADD_MEMBERSHIP): Likewise.
18104         (IP_DROP_MEMBERSHIP): Likewise.
18105         (IP_UNBLOCK_SOURCE): Likewise.
18106         (IP_BLOCK_SOURCE): Likewise.
18107         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18108         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18109         (IP_MSFILTER): Likewise.
18110         (MCAST_JOIN_GROUP): Likewise.
18111         (MCAST_BLOCK_SOURCE): Likewise.
18112         (MCAST_UNBLOCK_SOURCE): Likewise.
18113         (MCAST_LEAVE_GROUP): Likewise.
18114         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18115         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18116         (MCAST_MSFILTER): Likewise.
18117         (IP_MULTICAST_ALL): Likewise.
18118         (IP_UNICAST_IF): Likewise.
18120         * timezone/Makefile: Delete $(have-ksh) check.
18121         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18122         * timezone/tzselect.ksh: Add +x mode bits.
18124         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18125         (ANON_INODE_FS_MAGIC): Likewise.
18126         (BDEVFS_MAGIC): Likewise.
18127         (BINFMTFS_MAGIC): Likewise.
18128         (BTRFS_TEST_MAGIC): Likewise.
18129         (CRAMFS_MAGIC_WEND): Likewise.
18130         (DEBUGFS_MAGIC): Likewise.
18131         (ECRYPTFS_SUPER_MAGIC): Likewise.
18132         (EXT3_SUPER_MAGIC): Likewise.
18133         (EXT4_SUPER_MAGIC): Likewise.
18134         (FUTEXFS_SUPER_MAGIC): Likewise.
18135         (HOSTFS_SUPER_MAGIC): Likewise.
18136         (HUGETLBFS_MAGIC): Likewise.
18137         (MINIX3_SUPER_MAGIC): Likewise.
18138         (MTD_INODE_FS_MAGIC): Likewise.
18139         (NILFS_SUPER_MAGIC): Likewise.
18140         (OPENPROM_SUPER_MAGIC): Likewise.
18141         (PIPEFS_MAGIC): Likewise.
18142         (PSTOREFS_MAGIC): Likewise.
18143         (QNX6_SUPER_MAGIC): Likewise.
18144         (RAMFS_MAGIC): Likewise.
18145         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18146         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18147         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18148         (SECURITYFS_MAGIC): Likewise.
18149         (SELINUX_MAGIC): Likewise.
18150         (SMACK_MAGIC): Likewise.
18151         (SOCKFS_MAGIC): Likewise.
18152         (SQUASHFS_MAGIC): Likewise.
18153         (STACK_END_MAGIC): Likewise.
18154         (TMPFS_MAGIC): Likewise.
18155         (USBDEVICE_SUPER_MAGIC): Likewise.
18156         (V9FS_MAGIC): Likewise.
18157         (XENFS_SUPER_MAGIC): Likewise.
18158         (CRAMFS_MAGIC): Fix typo in comment.
18159         (EXT2_SUPER_MAGIC): Update comment.
18160         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18162 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18164         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18165         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18166         * sysdeps/unix/sysv/linux/arm: Move directory from
18167         ports/sysdeps/unix/sysv/linux/arm.
18168         * README: Update listing for arm-*-linux-gnueabi.
18170         * README: Remove mention of am33.
18172 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18174         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18175         than the comma operator, to avoid "rhs of comma has no effect"
18176         compiler warnings.
18177         (__sigfillset, __sigandset, __sigorset): Likewise.
18178         * include/signal.h (__sigemptyset): Likewise.
18179         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18181 2014-02-07  Allan McRae  <allan@archlinux.org>
18183         * version.h (RELEASE): Set to "development".
18184         (VERSION): Set to "2.19.90"
18185         * NEWS: Add 2.20 section.
18187 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18189         [BZ #16529]
18190         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18192 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18194         * manual/contrib.texi: Update entry for Carlos O'Donell,
18195         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18197 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18199         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18201         * sysdeps/unix/sysv/linux/kernel-features.h
18202         [__LINUX_KERNEL_VERSION >= 0x020621]
18203         (__ASSUME_PROC_PID_TASK_COMM): Define.
18205 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18207         [BZ #16398]
18208         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18209         conversion when destination buffer does not have enough space.
18210         * libio/tst-ftell-partial-wide.c: New test case.
18211         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18213         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18214         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18215         Leonard and Allan McRae.
18217 2014-02-04  David S. Miller  <davem@davemloft.net>
18219         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18220         32-bit.
18222 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18225         New file
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18227         New file
18228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18229         New file.
18230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18231         New file.
18232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18233         New file.
18234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18235         New file.
18236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18237         New file.
18238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18239         New file.
18240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18241         New file.
18242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18243         New file.
18244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18245         New file.
18246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18247         New file.
18248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18249         New file.
18251 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18253         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18254         * shlib-versions: Likewise.
18256 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18257             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18259         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18260         (abilist-pattern): New variable, set to %-le.abilist.
18262         * Makerules (abilist-pattern): New variable.
18263         (vpath): Use $(abilist-pattern) in place of %.abilist.
18264         (check-abi-% pattern rule): Likewise.
18265         (check-abi, update-abi): Likewise.
18267 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18271 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18273         * manual/startup.texi: Add next, previous, and top entries for
18274         the `Program Arguments' and `Environment Variables' nodes.
18276 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18278         * manual/macros.texi: Add comments before MTASC-safety macros.
18280         * manual/users.texi: Document MTASC-safety properties.
18282         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18283         (pthread_getspecific, pthread_setspecific): Format with
18284         @deftypefun, and add @safety note.
18285         * manual/signal.texi: Move comments that analyze the above
18286         functions to their home place.
18288 2014-02-03  Allan McRae  <allan@archlinux.org>
18290         * po/sl.po: Update Slovenian translation from translation project.
18292 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18294         * manual/time.texi (timegm): Add missing blank after @c.
18295         Reported by Joseph Myers <joseph@codesourcery.com>.
18297 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18299         * manual/check-safety.sh: New.
18300         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18302         * manual/terminal.texi: Document MTASC-safety properties.
18304         * manual/filesys.texi: Document MTASC-safety properties.
18306         * manual/errno.texi: Document MTASC-safety properties.
18308         * manual/intro.texi: Document safety identifiers and
18309         conditionals.
18311         * manual/string.texi (wcstok): Fix prototype.
18312         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18314         * manual/time.texi: Document MTASC-safety properties.
18316         * manual/string.texi: Document MTASC-safety properties.
18318         * manual/threads.texi: Document MTASC-safety properties.
18320         * manual/stdio.texi: Document MTASC-safety properties.
18322         * manual/syslog.texi: Document MTASC-safety properties.
18324         * manual/sysinfo.texi: Document MTASC-safety properties.
18326         * manual/startup.texi: Document MTASC-safety properties.
18328         * manual/socket.texi: Document MTASC-safety properties.
18330         * manual/signal.texi: Document MTASC-safety properties.
18332 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18334         * manual/setjmp.texi: Document MTASC-safety properties.
18336         * manual/search.texi: Document MTASC-safety properties.
18338         * manual/resource.texi: Document MTASC-safety properties.
18340         * manual/process.texi: Document MTASC-safety properties.
18342         * manual/platform.texi: Document MTASC-safety properties.
18344         * manual/pipe.texi: Document MTASC-safety properties.
18346         * manual/pattern.texi: Document MTASC-safety properties.
18348         * manual/message.texi: Document MTASC-safety properties.
18350         [BZ #12751]
18351         * manual/memory.texi: Document MTASC-safety properties.
18353         * manual/math.texi: Document MTASC-safety properties.
18355         * manual/locale.texi: Document MTASC-safety properties.
18357         * manual/llio.texi: Document MTASC-safety properties.
18359         * manual/libdl.texi: New.
18361         * manual/lang.texi: Document MTASC-safety properties.
18363         * manual/job.texi: Document MTASC-safety properties.
18365         * manual/getopt.texi: Document MTASC-safety properties.
18367         * manual/ctype.texi: Document MTASC-safety properties.
18369 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18371         [BZ #16046]
18372         * csu/libc-tls.c (static_map): Remove variable.
18373         (__libc_setup_tls): Use main executable's link map for TLS data.
18374         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18375         casing for LM_ID_BASE and GL(dl_nns).
18376         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18377         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18378         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18379         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18380         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18381         member.
18382         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18383         l_phnum members.
18385 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18387         * manual/debug.texi: Document MTASC-safety properties.
18389 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18391         [BZ #16510]
18392         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18393         of __x86_64__ when disabling x87 inline functions.
18395 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18397         * manual/charset.texi: Document MTASC-safety properties.
18399         * manual/crypt.texi: Document MTASC-safety properties.
18401         * manual/conf.texi: Document MTASC-safety properties.
18403         * manual/arith.texi: Document MTASC-safety properties.
18405         * manual/argp.texi: Document MTASC-safety properties.
18407         * manual/macros.texi: Introduce macros to document multi
18408         thread, asynchronous signal and asynchronous cancellation
18409         safety properties.
18410         * manual/intro.texi: Introduce the properties themselves.
18412 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18414         * sysdeps/sh/sh4/Makefile: New file.
18416 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18418         * math/gen-libm-test.pl ($srcdir): New variable.
18419         ($auto_input): Use it.
18421 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18423         [BZ #16506]
18424         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18425         access beyond array bounds when parsing netgroups file.
18427         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18428         the old buffer before realloc.
18430 2014-01-27  Allan McRae  <allan@archlinux.org>
18432         * po/fr.po: Update French translation from translation project.
18434 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18436         * sysdeps/sh/libm-test-ulps: Regenerate.
18438 2014-01-24  David S. Miller  <davem@davemloft.net>
18440         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18442 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18444         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18445         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18447 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18449         [BZ #16474]
18450         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18451         string pointers after reallocation.
18453 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18455         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18456         __SH4A__ instead of __SH_FPU_ANY__.
18458 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18460         * sysdeps/sh/fpu_control.h: New file.
18461         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18462         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18463         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18464         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18465         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18466         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18467         * sysdeps/sh/sys/ucontext.h: Remove.
18468         * sysdeps/sh/sys: Remove directory.
18470 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18472         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18473         s390/sys/ucontext.h.
18474         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18475         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18477 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18479         [BZ #15605]
18480         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18482 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18484         [BZ#16431]
18485         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18486         Adjust the vDSO correctly for internal calls.
18487         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18489 2014-01-20  Allan McRae  <allan@archlinux.org>
18491         * po/ca.po: Update Catalan translation from translation project.
18493 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18495         * sysdeps/s390/sotruss-lib.c: New file.
18497 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18499         [BZ#16430]
18500         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18501         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18502         local calls issues by not having a PLT stub required for IFUNC calls.
18503         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18505 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18507         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18508         * math/test-fpucw-static.c: Likewise.
18510 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18512         [BZ #16453]
18513         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18515 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18517         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18518         implementation for powerpc.
18520 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18522         [BZ #14782]
18523         * sysdeps/posix/system.c (__libc_system): Do not enable
18524         asynchronous cancellation.
18526 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18528         [BZ #16427]
18529         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18530         handling only for numbers special also in the IEEE case.
18532 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18534         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18536 2014-01-11  Allan McRae  <allan@archlinux.org>
18538         * po/bg.po: Update Bulgarian translation from translation project.
18540         * po/de.po: Update German translation from translation project.
18542 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18544         * sysdeps/generic/gcc-compat.h: New file.
18546 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18548         * benchtests/asin-inputs: Correct slow inputs.
18549         * benchtests/acos-inputs: Likewise.
18551 2014-01-10  Allan McRae  <allan@archlinux.org>
18553         * po:sv.po: Update Swedish translation from translation project.
18555         * po/vi.po: Update Vietnamese translation from translation project.
18557         * po/eo.po: Update Esperanto translation from translation project.
18559         * po/cs.po: Update Czech translation from translation project.
18561         * po/nl.po: Update Dutch translation from translation project.
18563         * po/pl.po: Update Polish translation from translation project.
18565         * po/ru.po: Update Russian translation from translation project.
18567         * po/uk.po: Update Ukrainian translation from translation project.
18569 2014-01-08  Brooks Moses  <bmoses@google.com>
18571         * elf/dl-load.c: Fix comment typo.
18573 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18575         * po/header.pot: Rename to...
18576         * po/pot.header: ... this.
18577         * po/Makefile: Use pot.header.
18579 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18580             Maxim Kuvyrkov  <maxim@kugelworks.com>
18582         [BZ #16394]
18583         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18584         SRC and DEST against LEN.
18586 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18588         [BZ #16414]
18589         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18590         implementation.
18591         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18593 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18597 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18599         [BZ #16408]
18600         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18601         for large positive arguments.
18603 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18605         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18607         * math/auto-libm-test-in: Mark various tests with
18608         xfail-rounding:ldbl-128ibm.
18609         * math/auto-libm-test-out: Regenerated.
18611         [BZ #16407]
18612         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18613         Increase overflow threshold.
18615 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18617         [BZ #14286]
18618         * stdio-common/vfprintf.c: Check for integer overflow.
18620 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18622         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18623         the first argument and return value of __tls_get_addr_internal.
18625 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18627         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18628         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18630 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18632         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18633         * sysdeps/s390/rtld-global-offsets.sym: New file.
18634         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18635         GLIBC_2.19 symbol.
18636         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18637         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18638         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18639         ... this.
18640         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18641         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18642         ... this.
18643         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18644         Regenerate.
18645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18646         Regenerate.
18647         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18648         halfs of GPRs for high_gprs contexts.
18649         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18650         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18651         field.
18652         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18653         uc_flags field.
18654         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18655         64 bit versions:
18656         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18657         for high GPRs (uc_high_gprs) and for future extensions
18658         (__reserved).
18659         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18660         for future extensions (__reserved).
18661         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18662         64 bit versions:
18663         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18664         SC_HIGHGPRS offset definition.
18665         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18666         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18668         * Versions.def: Add GLIBC_2.19 for libpthread.
18669         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18670         siglongjmp for libpthread with GLIBC_2.19 symver.
18671         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18672         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18673         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18674         * sysdeps/s390/__longjmp.c: New file.
18675         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18676         * sysdeps/s390/longjmp.c: New file.
18677         * sysdeps/s390/setjmp.S: New file.
18678         * sysdeps/s390/sigjmp.S: New file.
18679         * sysdeps/s390/v1-longjmp.c: New file.
18680         * sysdeps/s390/v1-setjmp.h: New file.
18681         * sysdeps/s390/v1-sigjmp.c: New file.
18682         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18683         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18684         GLIBC_2.19 version.
18685         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18686         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18687         versioned symbols for ____longjmp_chk.
18688         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18689         Likewise.
18690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18691         Regenerate.
18692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18693         Regenerate.
18694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18695         Regenerate.
18696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18697         Regenerate.
18698         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18699         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18700         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18701         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18702         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18703         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18704         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18705         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18706         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18707         * sysdeps/s390/rtld-__longjmp.c: New file.
18708         * sysdeps/s390/rtld-setjmp.S: New file.
18710 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18712         [BZ #16400]
18713         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18714         Return -__logl (x) for small positive arguments without evaluating
18715         a polynomial.
18717 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18719         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18720         Rename to ...
18721         (__ptrace_peeksiginfo_args): ... this.
18722         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18724         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18726 2014-01-06  Allan McRae  <allan@archlinux.org>
18728         * inet/netinet/in.h: Fix typo in comment.
18730 2014-01-05  Andreas Jaeger  <aj@suse.de>
18732         * sysdeps/i386/fpu/libm-test-ulps: Update.
18734 2014-01-05  Allan McRae  <allan@archlinux.org>
18736         * po/libc.pot: Regenerated.
18738         * malloc/memusagestat.c: Fix gettext call formatting.
18740 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18742         * nscd/nscd.c: Improve usage() output.
18744 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18746         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18747         * sysdeps/unix/sysv/linux/configure: Regenerated.
18748         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18749         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18751 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18753         [BZ #16390]
18754         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18755         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18757 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18759         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18760         extra tokens at end of #undef directive.
18761         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18762         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18763         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18765 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18767         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18769         * math/auto-libm-test-in: Mark various tests with
18770         xfail-rounding:ldbl-128ibm.
18771         * math/auto-libm-test-out: Regenerated.
18773 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18775         [BZ #16386]
18776         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18777         numbers with subnormal high part when calculating exponent.
18779         [BZ #16385]
18780         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18781         fabs.
18783         [BZ #16384]
18784         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18785         M_LN2l.
18786         (__ieee754_acoshl): Use __log1pl not __log1p.
18788 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18790         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18791         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18792         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18793         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18794         (reused_arena, arena_get2): Convert to GNU style.
18795         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18796         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18797         (memalign_check, __malloc_set_state): Likewise.
18798         * malloc/mallocbug.c (main): Likewise.
18799         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18800         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18801         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18802         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18803         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18804         (__posix_memalign, malloc_info): Likewise.
18805         * malloc/malloc.h: Likewise.
18806         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18807         (mallochook, memalignhook, reallochook, mabort): Likewise.
18808         * malloc/mcheck.h: Likewise.
18809         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18810         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18811         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18812         * malloc/morecore.c (__default_morecore): Likewise.
18813         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18814         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18815         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18816         (print_and_abort): Likewise.
18817         * malloc/obstack.h: Likewise.
18818         * malloc/set-freeres.c (__libc_freeres): Likewise.
18819         * malloc/tst-mallocstate.c (main): Likewise.
18820         * malloc/tst-mtrace.c (main): Likewise.
18821         * malloc/tst-realloc.c (do_test): Likewise.
18823 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18825         [BZ #16366]
18826         * nscd/netgroupcache.c (do_notfound): New function.
18827         (addgetnetgrentX): Use it.
18829         [BZ # 16365]
18830         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18831         NSS_STATUS_NOTFOUND.
18833 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18835         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18838 2014-01-01  Allan McRae  <allan@archlinux.org>
18840         * scripts/update-copyrights: Update configure input file suffix.
18842         * NEWS: Update copyright year.
18843         * catgets/gencat.c: Likewise.
18844         * csu/version.c: Likewise.
18845         * debug/catchsegv.sh: Likewise.
18846         * debug/pcprofiledump.c: Likewise.
18847         * debug/xtrace.sh: Likewise.
18848         * elf/ldconfig.c: Likewise.
18849         * elf/ldd.bash.in: Likewise.
18850         * elf/pldd.c: Likewise.
18851         * elf/sotruss.ksh: Likewise.
18852         * elf/sprof.c: Likewise.
18853         * iconv/iconv_prog.c: Likewise.
18854         * iconv/iconvconfig.c: Likewise.
18855         * locale/programs/locale.c: Likewise.
18856         * locale/programs/localedef.c: Likewise.
18857         * login/programs/pt_chown.c: Likewise.
18858         * malloc/memusage.sh: Likewise.
18859         * malloc/memusagestat.c: Likewise.
18860         * malloc/mtrace.pl: Likewise.
18861         * manual/libc.texinfo: Likewise.
18862         * nscd/nscd.c: Likewise.
18863         * nss/getent.c: Likewise.
18864         * nss/makedb.c: Likewise.
18865         * posix/getconf.c: Likewise.
18866         * scripts/test-installation.pl: Likewise.
18868         * All files with FSF copyright notices: Update copyright dates
18869         using scripts/update-copyrights.
18870         * intl/plural.c: Regenerated.
18871         * locale/programs/charmap-kw.h: Likewise.
18872         * locale/programs/locfile-kw.h: Likewise.
18874 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18876         * sysdeps/unix/sysv/linux/configure: Regenerated.
18877         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18878         the linux/fanotify.h header.
18879         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18880         HAVE_LINUX_FANOTIFY_H is defined.
18882 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18884         * benchtests/cos-inputs: New inputs.
18885         * benchtests/sin-inputs: Likewise.
18887         * benchtests/atan-inputs: New inputs. Fix name of multiple
18888         precision fallback inputs.
18890         * benchtests/atanh-inputs: New inputs.
18891         * benchtests/tanh-inputs: Likewise.
18893         * benchtests/acosh-inputs: New inputs.
18894         * benchtests/asinh-inputs: Likewise.
18896         * benchtests/cosh-inputs: New inputs.
18897         * benchtests/sinh-inputs: Likewise.
18899         * benchtests/acos-inputs: Add more inputs.
18900         * benchtests/asin-inputs: Likewise.
18902 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18904         [BZ #16375]
18905         * manual/arith.texi: Fix spelling.
18906         * manual/charset.texi: Likewise.
18907         * manual/errno.texi: Likewise.
18908         * manual/filesys.texi: Likewise.
18909         * manual/lang.texi: Likewise.
18910         * manual/llio.texi: Likewise.
18911         * manual/locale.texi: Likewise.
18912         * manual/message.texi: Likewise.
18913         * manual/resource.texi: Likewise.
18914         * manual/search.texi: Likewise.
18915         * manual/setjmp.texi: Likewise.
18916         * manual/stdio.texi: Likewise.
18917         * manual/string.texi: Likewise.
18918         * manual/sysinfo.texi: Likewise.
18919         * manual/time.texi: Likewise.
18921 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18923         * po/sl.po: New file.
18925 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18927         * .gitignore: Add core/.gdbinit/.gdb_history.
18929 2013-12-27  Allan McRae  <allan@archlinux.org>
18931         [BZ #16369]
18932         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18933         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18935 2013-12-24  Brooks Moses  <bmoses@google.com>
18937         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18938         all compilers that claim C++98 compliance, not just GCC.
18939         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18940         Likewise.
18942 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18944         * NEWS: Restore accidentally deleted bug-fix entries.
18946 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18947             Ondřej Bílka  <neleai@seznam.cz>
18949         [BZ #15073]
18950         * malloc/malloc.c (_int_free): Perform sanity check only if we
18951         have_lock.
18953 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18955         [BZ #12986]
18956         * manual/stdio.texi (String Input Conversions): Clarify that character
18957         classes are not supported.
18959 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18963 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18965         [BZ #16337]
18966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18967         Calculate results for small negative arguments directly rather
18968         than using reflection formula with special underflow handling.
18970         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18971         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18972         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18973         (fchflags): Likewise.
18974         (revoke): Likewise.
18975         (setlogin): Likewise.
18976         (sigaltstack): Likewise.
18977         (wait4): Likewise.
18978         (sigblock): Remove.
18979         (sigsetmask): Likewise.
18980         (wait3): Likewise.
18981         (waitpid): Likewise.
18982         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18983         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18984         file.
18985         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18986         * sysdeps/unix/bsd/Makefile: ... here.
18987         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18988         * sysdeps/unix/bsd/Versions: ... here.
18989         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18990         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18991         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18992         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18993         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18994         * sysdeps/unix/bsd/sigblock.c: ... here.
18995         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18996         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18997         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18998         * sysdeps/unix/bsd/sigvec.c: ... here.
18999         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19000         * sysdeps/unix/bsd/tcdrain.c: ... here.
19001         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19002         * sysdeps/unix/bsd/tcgetattr.c: ... here.
19003         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19004         * sysdeps/unix/bsd/tcsetattr.c: ... here.
19005         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19006         * sysdeps/unix/bsd/wait.c: ... here.
19007         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19008         * sysdeps/unix/bsd/wait3.c: ... here.
19009         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19010         * sysdeps/unix/bsd/waitpid.c: ... here.
19012 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
19014         [BZ #16356]
19015         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19016         round-to-nearest for [!USE_AS_EXPM1L].
19017         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19018         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
19019         more tests of exp and exp10.  Expect some exp10 tests to miss
19020         exceptions or fail in directed rounding modes.
19021         * math/auto-libm-test-out: Regenerated.
19022         * math/libm-test.inc (exp10_tonearest_test_data): New array.
19023         (exp10_test_tonearest): New function.
19024         (exp10_towardzero_test_data): New array.
19025         (exp10_test_towardzero): New function.
19026         (exp10_downward_test_data): New array.
19027         (exp10_test_downward): New function.
19028         (exp10_upward_test_data): New array.
19029         (exp10_test_upward): New function.
19030         (main): Call the new functions.
19031         * sysdeps/i386/fpu/libm-test-ulps: Update.
19032         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19034 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
19036         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19037         asinh, atan, atan2, atanh, cbrt, cos and cosh.
19038         * math/auto-libm-test-out: Regenerated.
19039         * math/libm-test.inc (acosh_test_data): Add more tests.
19040         (atanh_test_data): Likewise.
19041         (ceil_test_data): Likewise.
19042         (copysign_test_data): Likewise.
19043         * sysdeps/i386/fpu/libm-test-ulps: Update.
19044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19046         * timezone/checktab.awk: Update from tzcode 2013i.
19047         * timezone/private.h: Likewise.
19048         * timezone/scheck.c: Likewise.
19049         * timezone/tzfile.h: Likewise.
19050         * timezone/tzselect.ksh: Likewise.
19051         * timezone/zdump.c: Likewise.
19052         * timezone/zic.c: Likewise.
19054         * math/auto-libm-test-in: Add tests of cpow.
19055         * math/auto-libm-test-out: Regenerated.
19056         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19057         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19058         mpc_cc_c.
19059         (func_calc_desc): Add mpc_cc_c union field.
19060         (test_functions): Add cpow.
19061         (special_fill_2pi): New function.
19062         (special_real_inputs): Add 2pi.
19063         (calc_generic_results): Handle mpc_cc_c.
19064         * sysdeps/i386/fpu/libm-test-ulps: Update.
19065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19067         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19068         csqrt, ctan and ctanh.
19069         * math/auto-libm-test-out: Regenerated.
19070         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19071         (TEST_COND_x86): Likewise.
19072         (ccos_test_data): Use AUTO_TESTS_c_c.
19073         (ccosh_test_data): Likewise.
19074         (cexp_test_data): Likewise.
19075         (clog_test_data): Likewise.
19076         (csqrt_test_data): Likewise.
19077         (ctan_test_data): Likewise.
19078         (ctan_tonearest_test_data): Likewise.
19079         (ctan_towardzero_test_data): Likewise.
19080         (ctan_downward_test_data): Likewise.
19081         (ctan_upward_test_data): Likewise.
19082         (ctanh_test_data): Likewise.
19083         (ctanh_tonearest_test_data): Likewise.
19084         (ctanh_towardzero_test_data): Likewise.
19085         (ctanh_downward_test_data): Likewise.
19086         (ctanh_upward_test_data): Likewise.
19087         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19088         mpc_c_c.
19089         (func_calc_desc): Add mpc_c_c union field.
19090         (FUNC_mpc_c_c): New macro.
19091         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19092         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19093         ctanh.
19094         (special_fill_min_subnorm_p120): New function.
19095         (special_real_inputs): Add min_subnorm_p120.
19096         (calc_generic_results): Handle mpc_c_c.
19097         * sysdeps/i386/fpu/libm-test-ulps: Update.
19098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19100 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19102         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19103         (do_sin_slow): New functions.
19104         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19105         (cslow2, csloww1, csloww2): Use the new functions.
19107         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19108         Use M to change sign of result instead of X.  Assume X is
19109         positive.
19110         (csloww1): Likewise.
19111         (__sin): Adjust.
19112         (__cos): Adjust.
19114         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19115         arguments A and DA.
19116         (__sin): Adjust.
19117         (__cos): Likewise.
19119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19120         (__cos): Likewise.
19121         (sloww1): Don't adjust sign of DX.
19122         (csloww1): Likewise.
19123         (sloww2): Use X directly and don't adjust sign of DX.
19124         (csloww2): Likewise.
19126 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19128         * math/auto-libm-test-in: Add tests of cabs and carg.
19129         * math/auto-libm-test-out: Regenerated.
19130         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19131         (carg_test_data): Likewise.
19132         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19133         mpc_c_f.
19134         (func_calc_desc): Add mpc_c_f union field.
19135         (test_functions): Add cabs and carg.
19136         (calc_generic_results): Handle mpc_c_f.
19138         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19139         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19140         as a macro and a compat symbol.
19141         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19142         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19143         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19144         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19145         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19146         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19147         not use .hidden.
19148         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19149         Likewise.
19150         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19151         Likewise.
19152         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19153         Likewise.
19154         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19155         Likewise.
19156         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19157         Likewise.
19158         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19159         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19160         from GLIBC_2.3.2.
19162 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19166 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19168         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19169         trailing whitespace removed.
19170         * scripts/config.guess: Update to version 2013-11-29.
19171         * scripts/config.sub: Update to version 2013-10-01.
19173         * math/auto-libm-test-in: Add tests of sincos.
19174         * math/auto-libm-test-out: Regenerated.
19175         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19176         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19177         mpfr_f_11.
19178         (func_calc_desc): Add mpfr_f_11 union field.
19179         (test_functions): Add sincos.
19180         (calc_generic_results): Handle mpfr_f_11.
19181         * sysdeps/i386/fpu/libm-test-ulps: Update.
19182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19184 2013-12-19  Andreas Schwab  <schwab@suse.de>
19186         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19187         CALL_MCOUNT.
19188         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19189         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19190         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19192 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19194         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19195         * sysdeps/i386/fpu/libm-test-ulps: Update.
19196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19198         [BZ #16293]
19199         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19200         round-to-nearest mode when using frndint.
19201         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19202         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19204         Likewise.
19205         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19206         sinh test to fail.
19207         * math/auto-libm-test-out: Regenerated.
19208         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19209         (TEST_COND_x86): Likewise.
19210         (expm1_tonearest_test_data): New array.
19211         (expm1_test_tonearest): New function.
19212         (expm1_towardzero_test_data): New array.
19213         (expm1_test_towardzero): New function.
19214         (expm1_downward_test_data): New array.
19215         (expm1_test_downward): New function.
19216         (expm1_upward_test_data): New array.
19217         (expm1_test_upward): New function.
19218         (main): Run the new test functions.
19219         * sysdeps/i386/fpu/libm-test-ulps: Update.
19220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19222         * include/features.h: Update comment documenting feature test
19223         macros.  Mention _DEFAULT_SOURCE in comment.
19224         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19225         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19226         _BSD_SOURCE and _SVID_SOURCE.
19227         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19228         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19229         !_SVID_SOURCE]: Likewise.
19230         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19231         (__USE_POSIX_IMPLICITLY): Define.
19232         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19233         (_POSIX_SOURCE): Undefine and redefine.
19234         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19235         (_POSIX_C_SOURCE): Likewise.
19236         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19237         (Feature Test Macros): Update documentation of default features.
19239 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19241         * benchtests/Makefile: Add bench-strtok.
19242         * benchtests/bench-strtok.c: New file: strtok benchtest.
19244 2013-12-19  Allan McRae  <allan@archlinux.org>
19246         * manual/install.texi: Suppress menu for plain text output.
19247         * INSTALL: Regenerated.
19249 2013-12-18  Brooks Moses  <bmoses@google.com>
19251         [BZ #15846]
19252         * misc/getauxval.c: Include errno.h.
19253         (__getauxval): Set errno to ENOENT if the requested type is not
19254         found.
19255         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19256         don't declare with __attribute_const__.
19257         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19258         * manual/startup.texi: Document that getauxval sets errno.
19260 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19262         * math/auto-libm-test-in: Add tests of jn and yn.
19263         * math/auto-libm-test-out: Regenerated.
19264         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19265         (yn_test_data): Likewise.
19266         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19267         mpfr_if_f.
19268         (func_calc_desc): Add mpfr_if_f union field.
19269         (FUNC_mpfr_if_f): New macro.
19270         (test_functions): Add jn and yn.
19271         (calc_generic_results): Assert type of second input for
19272         mpfr_ff_f.  Handle mpfr_if_f.
19273         (output_for_one_input_case): Disable all checking for arguments
19274         fitting floating-point types in case of an integer argument.
19275         * sysdeps/i386/fpu/libm-test-ulps: Update.
19276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19279         Don't expect fegetround reference in libm.so.
19281 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19283         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19284         $(config-cflags-nofma).
19286 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19288         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19289         * math/auto-libm-test-out: Regenerated.
19291         [BZ #16338]
19292         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19293         to determine exponent and adjust argument to have exponent of -1.
19294         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19295         log2.
19296         * math/auto-libm-test-out: Regenerated.
19297         * sysdeps/i386/fpu/libm-test-ulps: Update.
19298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19300 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19302         * manual/probes.texi: Remove cases when per-thread arenas are
19303         disabled.
19305 2013-12-18  Andreas Schwab  <schwab@suse.de>
19307         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19308         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19309         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19310         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19311         * sysdeps/i386/i686/multiarch/Makefile: Update.
19312         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19314 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19316         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19317         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19319 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19321         [BZ #15968]
19322         Support TZ transition times < 00:00:00.
19323         This is needed for version-3 tz-format files; it supports time
19324         stamps past 2037 for America/Godthab (the only entry in the tz
19325         database for which this change is relevant).
19326         * manual/time.texi (TZ Variable): Document transition times
19327         from -167:59:59 through -00:00:01.
19328         * time/tzset.c (tz_rule): Time of day is now signed.
19329         (__tzset_parse_tz): Parse negative time of day.
19331         Document TZ transition times >= 25:00:00.
19332         * manual/time.texi (TZ Variable): Document transition times from
19333         25:00:00 through 167:59:59.  These are already supported, and this
19334         support will help with version-3 tz-format files.
19336         * manual/time.texi (TZ Variable): Modernize North America example
19337         to reflect current (i.e., 2007-and-later) daylight saving rules.
19339         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19341 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19343         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19344         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19345         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19346         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19347         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19348         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19349         * sysdeps/unix/bsd/clock.c: Likewise.
19350         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19351         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19352         * sysdeps/unix/bsd/init-posix.c: Likewise.
19353         * sysdeps/unix/bsd/poll.c: Likewise.
19354         * sysdeps/unix/bsd/ptsname.c: Likewise.
19355         * sysdeps/unix/bsd/seekdir.c: Likewise.
19356         * sysdeps/unix/bsd/setegid.c: Likewise.
19357         * sysdeps/unix/bsd/seteuid.c: Likewise.
19358         * sysdeps/unix/bsd/setgid.c: Likewise.
19359         * sysdeps/unix/bsd/setrgid.c: Likewise.
19360         * sysdeps/unix/bsd/setruid.c: Likewise.
19361         * sysdeps/unix/bsd/setsid.c: Likewise.
19362         * sysdeps/unix/bsd/setuid.c: Likewise.
19363         * sysdeps/unix/bsd/sigaction.c: Likewise.
19364         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19365         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19366         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19367         * sysdeps/unix/bsd/telldir.c: Likewise.
19368         * sysdeps/unix/bsd/times.c: Likewise.
19369         * sysdeps/unix/bsd/usleep.c: Likewise.
19371         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19372         ($(objpfx)libbsd-compat.a): Remove rule.
19374         * include/features.h (__FAVOR_BSD): Do not define.
19375         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19376         features conflicting with POSIX.
19377         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19378         (_BSD_SOURCE): Remove description of not being a subset of other
19379         feature test macros.
19380         * manual/job.texi (getpgrp): Do not document BSD version.
19381         (getpgid): Do not document by reference to BSD getpgrp.
19382         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19383         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19384         * signal/signal.h [__FAVOR_BSD]: Likewise.
19385         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19386         instead of making contents conditional on [__FAVOR_BSD].
19387         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19389 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19393 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19395         [BZ #16314]
19396         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19397         values below 2**-450, not 2**-500.
19398         * math/auto-libm-test-in: Don't allow spurious underflow from
19399         hypot.
19400         * math/auto-libm-test-out: Regenerated.
19402         [BZ #16316]
19403         [BZ #16330]
19404         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19405         values of ha and hb and sort them after adjusting subnormal
19406         arguments.
19407         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19408         Likewise.
19409         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19410         values of ea and eb and sort them after adjusting subnormal
19411         arguments.
19412         * math/auto-libm-test-in: Do not expect some hypot tests of
19413         subnormals to fail.  Add more hypot tests.
19414         * math/auto-libm-test-out: Regenerated.
19416 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19418         [BZ #13304]
19419         * sysdeps/sh/s_fma.c: New file.
19420         * sysdeps/sh/s_fmaf.c: New file.
19421         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19422         version.
19423         * sysdeps/sh/Implies: Add sh/soft-fp.
19425 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19427         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19428         level of indirection to members `objname', `errstring', `malloced'.
19429         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19430         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19431         it as the __longjmp argument (just pass 1 instead).
19432         (_dl_catch_error): Initialize C with argument pointers and address of
19433         volatile local ERRCODE rather than copying values out of C at return.
19435 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19437         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19438         * math/auto-libm-test-out: Regenerated.
19439         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19440         (hypot_test_data): Likewise.
19441         (pow_test_data): Likewise.
19442         (pow_tonearest_test_data): Likewise.
19443         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19444         mpfr_ff_f.
19445         (func_calc_desc): Add mpfr_ff_f union field.
19446         (FUNC_mpfr_ff_f): New macro.
19447         (test_functions): Add atan2, hypot and pow.
19448         (special_fill_min): New function.
19449         (special_fill_minus_min): Likewise.
19450         (special_fill_min_subnorm): Likewise.
19451         (special_fill_minus_min_subnorm): Likewise.
19452         (special_real_inputs): Add min, -min, min_subnorm and
19453         -min_subnorm.
19454         (calc_generic_results): Handle mpfr_ff_f.
19455         * sysdeps/i386/fpu/libm-test-ulps: Update.
19456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19458 2013-12-16  Will Newton  <will.newton@linaro.org>
19460         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19461         (Aligned Memory Blocks): Add documentation for aligned_alloc
19462         and suggest it as an alternative to posix_memalign.
19463         (Hooks for Malloc): Document __memalign_hook is also called
19464         for aligned_alloc.  (Summary of Malloc): Add summary for
19465         aligned alloc.  Document __memalign_hook is also called
19466         for aligned_alloc.
19468 2013-12-16  Will Newton  <will.newton@linaro.org>
19470         * manual/memory.texi (Malloc Examples): Clarify default
19471         alignment documentation.  Suggest posix_memalign rather
19472         than memalign or valloc.
19473         (Aligned Memory Blocks): Remove suggestion to use memalign
19474         or valloc.  Remove obsolete comment about BSD.
19475         Document memalign errno values and mark the function obsolete.
19476         Document posix_memalign returned error codes.  Mark valloc
19477         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19478         called for posix_memalign and valloc.
19479         (Summary of Malloc): Add posix_memalign to function summary.
19480         __memalign_hook is also called for posix_memalign and valloc.
19482 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19484         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19485         TAYLOR_SIN.
19486         (__sin): Adjust.
19487         (__cos): Likewise.
19488         (sloww): Use mynumber union.  Expand ternary operator into
19489         if-else statements.
19490         (cslow): use mynumber union.
19492 2013-12-16  Allan McRae  <allan@archlinux.org>
19494         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19495         * configure: Regenerated.
19497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19499         [BZ #14120]
19500         * configure.ac: Added --enable-maintainer-mode. Check for
19501         autoconf when enabled.
19502         * configure: Regenerated.
19504         * nscd/nscd.service: New file.
19505         * nscd/nscd.tmpfiles: New file.
19507 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19509         [BZ #12100]
19510         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19511         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19512         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19513         (strstr): Add __strstr_sse2_unaligned ifunc.
19514         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19515         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19516         (strcasestr): Remove __strcasestr_sse42 ifunc.
19517         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19518         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19519         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19521 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19523         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19524         * sysdeps/sh/bits/fenv.h: ... here.
19525         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19527 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19529         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19532         hypotf multiarch implementations.
19533         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19534         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19535         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19536         multiarch hypot for PPC64.
19537         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19538         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19539         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19540         multiarch hypotf for PPC64.
19542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19543         modff multiarch implementations.
19544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19547         multiarch modf for PPC64.
19548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19551         multiarch modff for PPC64.
19553         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19554         and logl multiarch implementations.
19555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19558         multiarch logb for PPC64.
19559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19562         multiarch logb for PPC64.
19563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19566         multiarch logb for PPC64.
19568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19569         isinff multiarch implementation.
19570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19571         file.
19572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19574         multiarch isinf for PPC64.
19575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19576         file.
19577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19578         multiarch isinff for PPC64.
19580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19581         finitef multiarch implementation.
19582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19583         file.
19584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19586         multiarch finite for PPC64.
19587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19588         file.
19589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19590         multiarch finitef for PPC64.
19592         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19593         lrint multiarch implementation.
19594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19595         file.
19596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19598         multiarch llrint for PPC64.
19599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19600         multiarch lrint for PPC64.
19602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19603         copysignf multiarch implementation.
19604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19605         file.
19606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19607         file.
19608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19609         multiarch copysign for PPC64.
19610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19611         multiarch copysignf for PPC64.
19613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19614         multiarch implementation.
19615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19616         file.
19617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19618         file.
19619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19620         file.
19621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19622         file.
19623         multiarch llround for PPC64.
19624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19625         multiarch trunc for PPC64.
19626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19627         multiarch truncf for PPC64.
19629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19630         multiarch implementation.
19631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19632         file.
19633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19634         file.
19635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19636         file.
19637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19638         file.
19639         multiarch llround for PPC64.
19640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19641         multiarch round for PPC64.
19642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19643         multiarch roundf for PPC64.
19645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19646         multiarch implementation.
19647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19648         file.
19649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19650         file.
19651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19652         file.
19653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19654         file.
19655         multiarch llround for PPC64.
19656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19657         multiarch floor for PPC64.
19658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19659         multiarch floorf for PPC64.
19661         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19662         multiarch implementation.
19663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19664         file.
19665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19666         file.
19667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19668         file.
19669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19670         file.
19671         multiarch llround for PPC64.
19672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19673         multiarch ceil for PPC64.
19674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19675         multiarch ceilf for PPC64.
19677         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19678         multiarch implementation.
19679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19680         file.
19681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19682         file.
19683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19684         file.
19685         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19686         multiarch llround for PPC64.
19687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19688         multiarch lround for PPC64.
19690         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19691         multiarch implementation.
19692         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19695         file.
19696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19699         multiarch isnan for PPC64.
19700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19701         multiarch isnanf for PPC64.
19703         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19704         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19705         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19706         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19707         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19710         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19711         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19712         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19713         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19715         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19716         multiarch implementations.
19717         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19718         (__libc_ifunc_impl_list): Likewise.
19719         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19720         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19721         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19722         multiarch stpcpy for PPC64.
19724         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19725         multiarch implementations.
19726         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19727         (__libc_ifunc_impl_list): Likewise.
19728         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19729         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19730         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19731         multiarch strcpy for PPC64.
19733         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19734         redefine function name.
19735         (_wordcopy_fwd_dest_aligned): Likewise.
19736         (_wordcopy_bwd_aligned): Likewise.
19737         (_wordcopy_bwd_dest_aligned): Likewise.
19738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19739         multiarch implementations.
19740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19741         (__libc_ifunc_impl_list): Likewise.
19742         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19743         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19744         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19745         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19746         multiarch wcscpy for PPC64.
19748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19749         multiarch implementations.
19750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19751         (__libc_ifunc_impl_list): Likewise.
19752         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19753         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19754         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19755         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19756         multiarch wcscpy for PPC64.
19758         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19759         multiarch implementations.
19760         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19761         (__libc_ifunc_impl_list): Likewise.
19762         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19763         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19764         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19765         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19766         multiarch wcsrchr for PPC64.
19768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19769         multiarch implementations.
19770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19771         (__libc_ifunc_impl_list): Likewise.
19772         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19773         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19774         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19775         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19776         multiarch wcschr for PPC64.
19778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19779         multiarch implementations.
19780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19781         (__libc_ifunc_impl_list): Likewise.
19782         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19783         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19784         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19785         multiarch strchrnul for PPC64.
19787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19788         implementations.
19789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19790         (__libc_ifunc_impl_list): Likewise.
19791         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19792         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19793         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19794         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19795         strchr for PPC64.
19797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19798         implementations.
19799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19800         (__libc_ifunc_impl_list): Likewise.
19801         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19802         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19803         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19804         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19805         strncmp for PPC64.
19807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19808         multiarch implementations.
19809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19810         (__libc_ifunc_impl_list): Likewise.
19811         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19812         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19813         strncasecmp for PPC64.
19814         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19815         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19816         multiarch strncasecmp_l for PPC64.
19818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19819         multiarch implementations.
19820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19821         (__libc_ifunc_impl_list): Likewise.
19822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19823         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19824         multiarch strcasecmp for PPC64.
19825         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19826         file.
19827         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19828         multiarch strcasecmp_l for PPC64.
19830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19831         implementations.
19832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19833         (__libc_ifunc_impl_list): Likewise.
19834         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19835         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19836         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19837         strnlen for PPC64.
19839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19840         implementations.
19841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19842         (__libc_ifunc_impl_list): Likewise.
19843         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19844         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19845         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19846         strlen for PPC64.
19848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19849         implementations.
19850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19851         (__libc_ifunc_impl_list): Likewise.
19852         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19853         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19854         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19855         rawmemrchr for PPC64.
19857         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19858         implementation.
19859         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19860         (__libc_ifunc_impl_list): Likewise.
19861         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19862         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19863         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19864         memrchr for PPC64.
19866         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19867         implementation.
19868         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19869         (__libc_ifunc_impl_list): Likewise.
19870         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19871         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19872         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19873         memchr for PPC64.
19875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19876         implementation.
19877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19878         (__libc_ifunc_impl_list): Likewise.
19879         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19880         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19881         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19882         mempcpy for PPC64.
19884         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19885         avoid cretion of __bzero symbol.
19886         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19887         Likewise.
19888         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19889         Likewise.
19890         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19891         Likewise.
19892         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19893         multiarch implementations.
19894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19895         (__libc_ifunc_impl_list): Likewise.
19896         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19897         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19898         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19899         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19900         bzero for PPC32.
19901         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19902         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19903         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19904         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19905         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19906         memset for PPC64.
19907         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19909         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19910         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19911         implementations.
19912         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19913         (__libc_ifunc_impl_list): Likewise.
19914         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19915         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19916         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19917         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19918         memcmp for PPC64.
19920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19921         multiarch for POWER/PPC64.
19922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19923         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19924         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19925         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19926         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19927         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19928         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19929         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19930         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19931         memcpy for PPC64.
19933         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19934         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19935         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19936         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19937         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19938         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19939         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19940         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19941         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19942         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19943         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19944         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19945         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19946         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19947         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19956 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19958         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19960 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19962         * benchtests/Makefile (bench): Add exp2 and log2.
19963         (LDLIBS-bench-exp2): Add -lm.
19964         (LDLIBS-bench-log2): Likewise.
19965         * benchtests/exp2-inputs: New inputs file.
19966         * benchtests/log2-inputs: New inputs file.
19967         * benchtests/log-inputs: Add new inputs.
19968         * benchtests/tan-inputs: Likewise.
19970 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19972         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19973         definition...
19974         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19975         (csloww2): ... from here.
19977         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19978         instead of structures.
19979         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19980         (POLYNOMIAL): Likewise.
19981         (TAYLOR_SLOW): Likewise.
19982         (__sin): Likewise.
19983         (__cos): Likewise.
19984         (slow1): Likewise.
19985         (slow2): Likewise.
19986         (sloww): Likewise.
19987         (sloww1); Likewise.
19988         (sloww2): Likewise.
19989         (bsloww1): Likewise.
19990         (bsloww2): Likewise.
19991         (cslow2): Likewise.
19992         (csloww): Likewise.
19993         (csloww1): Likewise.
19994         (csloww2): Likewise.
19996 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19998         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19999         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20000         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20001         * malloc/hooks.c (realloc_check): Likewise.
20003         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20004         * malloc/arena.c: Remove PER_THREAD conditional.
20005         [!PER_THREAD]: Remove code.
20006         (ptmalloc_unlock_all2): Likewise.
20007         (ptmalloc_init): Likewise.
20008         (_int_new_arena): Likewise.
20009         (arena_get2): Likewise.
20010         * malloc/hooks.c (__malloc_get_state): Likewise.
20011         (__malloc_set_state): Likewise.
20012         * malloc/malloc.c: Likewise.
20013         (struct malloc_state): Likewise.
20014         (struct malloc_par): Likewise.
20015         (__libc_realloc): Likewise.
20016         (__libc_mallopt): Likewise.
20018 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20020         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20022 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
20024         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20025         macro to a function.  Check for zero perturb_byte.
20026         (_int_malloc, _int_free): Remove zero perturb_byte checks.
20028         * malloc/malloc.c: (force_reg): Remove.
20029         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20030         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20031         force_reg by atomic_forced_read.
20032         * malloc/arena.c (ptmalloc_init): Likewise.
20033         * malloc/hooks.c (top_check): Likewise.
20035 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20039 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
20041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20043 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
20045         * math/auto-libm-test-in: Add tests of lgamma.
20046         * math/auto-libm-test-out: Regenerated.
20047         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20048         (M_LOG_2_SQRT_PIl): Likewise.
20049         (lgamma_test_data): Use AUTO_TESTS_f_f1.
20050         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20051         mpfr_f_f1.
20052         (func_calc_desc): Add mpfr_f_f1 union field.
20053         (ARGS1): New macro.
20054         (ARGS2): Likewise.
20055         (ARGS3): Likewise.
20056         (ARGS4): Likewise.
20057         (RET1): Likewise.
20058         (RET2): Likewise.
20059         (CALC): Likewise.
20060         (FUNC): Likewise.
20061         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20062         (test_functions): Add lgamma.
20063         (calc_generic_results): Handle mpfr_f_f1.
20064         * sysdeps/i386/fpu/libm-test-ulps: Update.
20065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20067 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20069         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20070         __mpn_add_n for PowerPC64/POWER7.
20071         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20072         __mpn_sub_n for PowerPC64/POWER7.
20074         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20075         __mpn_addmul_1 for PowerPC64.
20076         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20077         __mpn_submul_1 for PowerPC64.
20078         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20079         for PowerPC64.
20080         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20081         for PowerPC64.
20083 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
20085         [BZ #15089]
20086         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20088 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20090         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20092         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20093         add multiarch folders.
20094         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20095         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20096         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20097         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20098         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20099         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20100         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20101         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20102         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20103         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20104         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20113         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20115         New file.
20116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20117         New file.
20118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20119         multiarch __ieee754_hypot for PowerPC32.
20120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20121         New file.
20122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20123         New file.
20124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20125         multiarch __ieee754_hypotf for PowerPC32.
20127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20128         long_double_symbol only if __logbl is defined.
20129         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20130         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20132         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20134         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20135         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20136         path for implementation.
20137         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20138         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20140         logb, and logbl multiarch implementations for PowerPC32.
20141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20142         file.
20143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20144         file.
20145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20146         multiarch logb for PowerPC32.
20147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20148         file.
20149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20150         file.
20151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20152         multiarch logbf for PowerPC32.
20153         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20155         file.
20156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20157         multiarch logbl implementation for PowerPC32.
20159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20160         and modff multiarch implementations.
20161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20162         New file.
20163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20164         New file.
20165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20166         multiarch modf for PowerPC32.
20167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20168         New file.
20169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20170         New file.
20171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20172         multiarch modff for PowerPC32.
20174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20175         and lrintf multiarch implementations.
20176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20177         New file.
20178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20179         New file.
20180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20181         multiarch lrint for PowerPC32.
20182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20183         file: multiarch lrintf for PowerPC32.
20185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20186         and lroundf multiarch implementations.
20187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20188         New file.
20189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20190         New file.
20191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20192         New file.
20193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20194         multiarch lround for PowerPC32.
20195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20196         file: multiarch lroundf for PowerPC32.
20198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20199         copysign and copysignf multiarch implementations.
20200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20201         New file.
20202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20203         New file.
20204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20205         file: multiarch copysign for PowerPC32.
20206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20207         file: multiarch copysignf for PowerPC32.
20209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20210         and truncf multiarch implementations.
20211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20212         New file.
20213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20214         file.
20215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20216         multiarch trunc for PowerPC32.
20217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20218         New file.
20219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20220         New file.
20221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20222         multiarch truncf for PowerPC32.
20224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20225         and roundf multiarch implementations.
20226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20227         New file.
20228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20229         file.
20230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20231         multiarch round for PowerPC32.
20232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20233         New file.
20234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20235         New file.
20236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20237         multiarch roundf for PowerPC32.
20239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20240         and floorf multiarch implementations.
20241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20242         New file.
20243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20244         file.
20245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20246         multiarch floor for PowerPC32.
20247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20248         New file.
20249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20250         New file.
20251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20252         multiarch floorf for PowerPC32.
20254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20255         and ceilf multiarch implementations.
20256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20257         New file.
20258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20259         file.
20260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20261         multiarch ceil for PowerPC32.
20262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20263         New file.
20264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20265         file.
20266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20267         multiarch ceilf for PowerPC32.
20269         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20270         is defined.
20271         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20272         FINITEF is defined.
20273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20274         and finitef multiarch implementations.
20275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20276         New file.
20277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20278         file.
20279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20280         multiarch finite for PowerPC32.
20281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20282         New file.
20283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20284         file: multiarch finitef for PowerPC32.
20286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20287         and isinff multiarch implementations.
20288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20289         file.
20290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20291         file.
20292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20293         multiarch isinf for PowerPC32.
20294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20295         New file.
20296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20297         multiarch isinff for PowerPC32.
20299         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20300         alias when __isnan is defined.
20301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20302         and isnanf multiarch implementations.
20303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20304         file.
20305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20306         file.
20307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20308         file.
20309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20310         file.
20311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20312         multiarch isnan for PowerPC32.
20313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20314         New file.
20315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20316         New file.
20317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20318         multiarch isnanf for PowerPC32.
20320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20321         and sqrtf multiarch implementations.
20322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20323         file.
20324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20325         file.
20326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20327         multiarch sqrt for PowerPC32.
20328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20329         file.
20330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20331         file.
20332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20333         multiarch sqrtf for PowerPC32.
20335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20336         and llroundf multiarch implementations.
20337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20338         New file.
20339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20340         New file.
20341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20342         New file.
20343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20344         file: multiarch llround for PowerPC32.
20345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20346         file: multiarch llroundf for PowerPC32.
20348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20349         multiarch PowerPC32 fpu implementations.
20350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20351         New file.
20352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20353         New file.
20354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20355         multiarch llrint for PowerPC32.
20356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20357         New file.
20358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20359         New file.
20360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20361         file.
20363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20365         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20366         file.
20367         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20368         file.
20369         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20370         file.
20371         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20372         multiarch wordcopy for PPC32.
20373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20374         wordcopy objects.
20375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20376         (__libc_ifunc_impl_list): Likewise.
20377         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20378         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20379         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20380         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20381         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20382         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20384         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20386         file.
20387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20388         file.
20389         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20390         file.
20391         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20392         multiarch wcscpy for PPC32.
20393         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20394         multiarch objects.
20395         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20396         (__libc_ifunc_impl_list): Likewise.
20397         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20398         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20399         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20400         sysdeps/powerpc/power6/wcscpy.c.
20402         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20403         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20404         file.
20405         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20406         file.
20407         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20408         file.
20409         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20410         multiarch wcsrchr for PPC32.
20411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20412         multiarch objects.
20413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20414         (__libc_ifunc_impl_list): Likewise.
20415         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20416         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20417         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20418         sysdeps/powerpc/power6/wcsrchr.c.
20420         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20421         file.
20422         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20423         file.
20424         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20425         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20426         multiarch wcschr for PPc32.
20427         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20428         multiarch objects.
20429         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20430         (__libc_ifunc_impl_list): Likewise.
20431         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20432         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20433         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20434         sysdeps/powerpc/power6/wcschr.c.
20436         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20437         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20438         file.
20439         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20440         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20441         file: multiarch strchr for PPC32.
20442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20443         multiarch objects.
20444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20445         (__libc_ifunc_impl_list): Likewise.
20447         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20448         name.
20449         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20450         file.
20451         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20452         file.
20453         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20454         multiarch strchrnul for PPC32.
20455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20456         multiarch objects.
20457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20458         (__libc_ifunc_impl_list): Likewise.
20460         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20461         file.
20462         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20463         multiarch strncasecmp for PPC32.
20464         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20465         file.
20466         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20467         multiarch strncasecmp_l for PPC32.
20468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20469         strncasecmp multiarch objects.
20470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20471         (__libc_ifunc_impl_list): Likewise.
20473         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20474         file.
20475         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20476         multiarch strncasecmp for PPC32.
20477         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20478         New file.
20479         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20480         multiarch strcasecmp_l for PPC32.
20481         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20482         multiarch objects.
20483         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20484         (__libc_ifunc_impl_list): Likewise.
20486         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20487         file.
20488         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20489         file.
20490         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20491         multiarch strncmp for PPC32.
20492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20493         multiarch objects.
20494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20495         (__libc_ifunc_impl_list): Likewise.
20497         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20498         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20499         file.
20500         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20501         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20502         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20503         multiarch objects.
20504         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20505         (__libc_ifunc_impl_list): Likewise.
20507         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20508         file.
20509         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20510         file.
20511         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20512         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20513         multiarch objects.
20514         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20515         (__libc_ifunc_impl_list): Likewise.
20517         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20518         file.
20519         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20520         file.
20521         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20522         multiarch rawmemchr for PPC32.
20523         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20524         multiarch objects.
20525         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20526         (__libc_ifunc_impl_list): Likewise.
20528         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20529         file.
20530         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20531         file.
20532         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20533         file: memrchr multiarch for PPC32.
20534         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20535         multiarch objects.
20536         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20537         (__libc_ifunc_impl_list): Likewise.
20539         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20540         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20541         file.
20542         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20543         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20544         multiarch memchr for PPC32.
20545         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20546         multiarch objects.
20547         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20548         (__libc_ifunc_impl_list): Likewise.
20550         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20551         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20552         file.
20553         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20554         file.
20555         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20556         file: multiarch mempcpy for PPC32.
20557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20558         multiarch objects.
20559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20560         (__libc_ifunc_impl_list): Likewise.
20562         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20563         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20564         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20565         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20566         multiarch bzero for PPC32.
20567         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20568         file.
20569         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20570         file.
20571         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20572         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20573         file: multiarch memset for PPC32.
20574         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20576         memset multiarch objects.
20577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20578         (__libc_ifunc_impl_list): Likewise.
20580         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20581         file.
20582         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20583         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20584         memcmp for PPC32.
20585         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20587         multiarch objects.
20588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20589         (__libc_ifunc_impl_list): Likewise.
20591         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20592         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20593         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20594         file.
20595         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20596         file.
20597         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20598         file.
20599         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20600         multiarch memcpy for PPC32.
20601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
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/Makefile: New file to
20607         support multiarch for POWER/PPC32.
20608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20609         Likewise.
20610         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20612         Implies file to make multiarch folder appers before the fpu and
20613         default folder for power4 configuration.
20615 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20617         * scripts/bench.pl: Append volatile keyword to type.
20619 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20621         * sysdeps/sh/sotruss-lib.c: New file.
20622         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20624 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20626         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20628 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20630         [BZ #6810]
20631         * math/w_tgamma.c: Include <errno.h>.
20632         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20633         * math/w_tgammaf.c: Include <errno.h>.
20634         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20635         * math/w_tgammal.c: Include <errno.h>.
20636         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20637         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20638         underflow.  Add more tgamma tests.
20639         * math/auto-libm-test-out: Regenerated.
20640         * sysdeps/i386/fpu/libm-test-ulps: Update.
20641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20643         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20644         sin, sinh, tan, tanh, tgamma, y0 and y1.
20645         * math/auto-libm-test-out: Regenerated.
20646         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20647         (TEST_COND_x86): Likewise.
20648         (M_E2l): Remove macro.
20649         (M_E3l): Likewise.
20650         (M_2_SQRT_PIl): Likewise.
20651         (M_SQRT_PIl): Likewise.
20652         (M_1_DIV_El): Likewise.
20653         (log_test_data): Use AUTO_TESTS_f_f.
20654         (log10_test_data): Likewise.
20655         (log1p_test_data): Likewise.
20656         (log2_test_data): Likewise.
20657         (sin_test_data): Likewise.
20658         (sin_tonearest_test_data): Likewise.
20659         (sin_towardzero_test_data): Likewise.
20660         (sin_downward_test_data): Likewise.
20661         (sin_upward_test_data): Likewise.
20662         (sinh_test_data): Likewise.
20663         (sinh_tonearest_test_data): Likewise.
20664         (sinh_towardzero_test_data): Likewise.
20665         (sinh_downward_test_data): Likewise.
20666         (sinh_upward_test_data): Likewise.
20667         (tan_test_data): Likewise.
20668         (tan_tonearest_test_data): Likewise.
20669         (tan_towardzero_test_data): Likewise.
20670         (tan_downward_test_data): Likewise.
20671         (tan_upward_test_data): Likewise.
20672         (tanh_test_data): Likewise.
20673         (tgamma_test_data): Likewise.
20674         (y0_test_data): Likewise.
20675         (y1_test_data): Likewise.
20676         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20677         (special_real_inputs): Add pi/4.
20678         * sysdeps/i386/fpu/libm-test-ulps: Update.
20679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20681 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20683         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20684         "longjmp_target" static probes.
20685         (__longjmp): Rename to __longjmp_symbol.
20686         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20687         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20688         on which longjmp to generate.
20689         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20690         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20691         probe.
20692         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20693         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20694         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20695         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20696         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20697         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20699         __longjmp_symbol based on which __longjmp to generate.
20700         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20701         probe.
20702         (setjmp): Rename to setjmp_symbol.
20703         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20704         (_setjmp): Rename to _setjmp_symbol.
20705         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20706         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20707         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20708         which setjmp to generate.
20709         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20710         "longjmp_target" static probes.
20712 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20714         * benchtests/README: Add note about output arguments.
20715         * benchtests/bench-sincos.c: Remove file.
20716         * benchtests/sincos-inputs: New file.
20717         * scripts/bench.pl: Identify output arguments and define
20718         static variables for them.
20720         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20722         [BZ #15941]
20723         * Makefile (INSTALL): Add install-plain.texi as the primary
20724         dependency.
20725         * manual/install-plain.texi: New file.
20726         * manual/install.texi: Include node directive only for
20727         non-plaintext output.
20729 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20731         * stdlib/longlong.h: Update from GCC.
20733         [BZ #6807]
20734         [BZ #15901]
20735         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20736         * math/w_j0f.c (y0f): Likewise.
20737         * math/w_j0l.c (__y0l): Likewise.
20738         * math/w_j1.c (y1): Likewise.
20739         * math/w_j1f.c (y1f): Likewise.
20740         * math/w_j1l.c (__y1l): Likewise
20741         * math/w_jn.c (yn): Likewise.
20742         * math/w_jnf.c (ynf): Likewise.
20743         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20744         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20745         value for Bessel function domain errors outside _SVID_ mode.
20746         Adjust sign of return value for yn (negative integer, 0).
20747         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20748         by zero in return for negative x and set sign appropriately for
20749         negative n.
20750         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20751         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20752         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20753         expectations in error cases.
20754         (y1_test_data): Likewise.
20755         (yn_test_data): Likewise.
20756         * sysdeps/i386/fpu/libm-test-ulps: Update.
20757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20759 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20761         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20762         "64" to "64-v1".  Add "64-v2".
20763         (abi-64-options): Rename to ...
20764         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20765         (abi-64-condition): Rename to ...
20766         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20767         (abi-64-ld-soname): Rename to ...
20768         (abi-64-v1-ld-soname): ... this.
20769         (abi-64-v2-options): Define.
20770         (abi-64-v2-condition): Likewise.
20771         (abi-64-v2-ld-soname): Likewise.
20772         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20773         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20778 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20779             Alan Modra  <amodra@gmail.com>
20781         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20782         New versions for use with the ELFv2 ABI.
20783         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20784         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20785         declaration.
20786         (struct La_ppc64v2_retval): Likewise.
20787         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20788         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20789         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20790         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20791         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20792         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20793         Do not save or restore CR.
20794         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20795         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20796         return values for ELFv2 ABI.  Fix location of FPR return registers.
20797         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20798         updated values for _CALL_ELF == 2.
20799         (La_regs, La_retval, int_retval): Likewise.
20801 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20803         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20804         (FRAME_MIN_SIZE_PARM): Likewise.
20805         (FRAME_BACKCHAIN): Likewise.
20806         (FRAME_CR_SAVE): Likewise.
20807         (FRAME_LR_SAVE): Likewise.
20808         (FRAME_TOC_SAVE): Likewise.
20809         (FRAME_PARM_SAVE): Likewise.
20810         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20811         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20812         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20813         (call_mcount_parm_offset): New macro.
20814         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20815         (PROF): Use symbolic stack frame offsets.
20816         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20817         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20818         Redefine in terms of FRAME_MIN_SIZE.
20819         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20820         (_dl_profile_resolve): Likewise.  Update comment.
20821         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20822         symbols stack frame offsets.
20823         (__sigsetjmp): Likewise.
20824         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20825         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20826         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20827         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20830         (FRAME_BACKCHAIN): Remove.
20831         (FRAME_CR_SAVE): Likewise.
20832         (FRAME_LR_SAVE): Likewise.
20833         (FRAME_COMPILER_DW): Likewise.
20834         (FRAME_LINKER_DW): Likewise.
20835         (FRAME_TOC_SAVE): Likewise.
20836         (FRAME_PARM_SAVE): Likewise.
20837         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20838         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20839         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20841         (CHECK_SP): Use symbolic stack frame offsets.
20842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20843         zone" instead of caller's parameter save area for temp storage.
20844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20845         Likewise.  Also, use symbolic stack frame offsets.
20846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20847         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20848         our own stack frame instead of the caller's.
20849         (__socket): Use symbolic stack frame offsets.
20851 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20852             Alan Modra  <amodra@gmail.com>
20854         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20855         Define.
20856         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20857         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20858         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20859         New function.
20860         (elf_machine_fixup_plt): Call it.
20861         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20862         reloc arguments.
20863         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20864         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20865         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20866         r2 before calling target.
20868 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20869             Alan Modra  <amodra@gmail.com>
20871         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20872         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20873         versions of macros to support ELFv2 ABI.
20874         (LOCALENTRY): New macro.
20875         (ENTRY, EALIGN): Use it.
20876         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20877         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20878         fall through into ENTRY entry point.
20879         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20880         Only define if _CALL_ELF != 2.
20882         (elf_machine_matches_host): Verify ABI version matches.
20883         (RTLD_START): Use LOCALENTRY.
20884         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20885         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20886         (PLT_ENTRY_WORDS): New macro.
20887         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20888         (elf_machine_runtime_setup): Support ELFv2 ABI.
20889         (elf_machine_fixup_plt): Likewise.
20890         (elf_machine_plt_conflict): Likewise.
20891         (resolve_ifunc): Likewise.
20892         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20893         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20894         Likewise.
20895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20896         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20898         (makecontext): Support ELFv2 ABI.
20899         * elf/elf.h (EF_PPC64_ABI): Define.
20901 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20903         * sysdeps/powerpc/powerpc64/sysdep.h
20904         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20905         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20906         (ENTRY) [ASSEMBLER]: ... but instead here ...
20907         (EALIGN) [ASSEMBLER]: ... and here.
20908         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20909         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20910         (ENTRY_2) [!ASSEMBLER]: Use it.
20911         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20912         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20913         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20914         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20915         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20917         Use PPC64_LOAD_FUNCPTR.
20919         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20921 2013-12-04  Alan Modra  <amodra@gmail.com>
20923         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20924         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20925         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20926         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20928         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20929         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20930         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20931         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20932         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20933         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20935 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20938         (__makecontext): Fix incorrect CFI when backtracing out of
20939         context created via makecontext.
20940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20941         (__setcontext): Fix incorrect CFI during switch to new context.
20942         (__novec_setcontext): Likewise.
20944 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20946         [BZ #4772]
20947         * time/strptime_l.c (__strptime_internal): Allow modifiers
20948         in strptime.
20949         * time/tst-strptime.c (day_tests): Add testcase.
20951 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20953         * scripts/bench.pl: Skip over blank lines.
20955 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20957         [BZ #926]
20958         * manual/time.texi (Calendar Time): Clarify what timezone functions
20959         use.
20961 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20965 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20967         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20968         implementation.
20969         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20970         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20971         * debug/memset_chk.c (__memset_chk): Likewise.
20972         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20973         * debug/strncpy_chk.c: Likewise.
20975 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20977         [BZ #15268]
20978         [BZ #15425]
20979         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20980         (__ieee754_exp): For possibly underflowing results, check size of
20981         result and force underflow exception if required.
20982         * math/auto-libm-test-in: Add more tests of exp.
20983         * math/auto-libm-test-out: Regenerated.
20984         * sysdeps/i386/fpu/libm-test-ulps: Update.
20985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20987         [BZ #16283]
20988         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20989         * math/w_exp2f.c (__exp2f): Likewise.
20990         * math/w_exp2l.c (__exp2l): Likewise.
20991         * math/auto-libm-test-in: Do not allow missing errno on exp2
20992         underflow.
20993         * math/auto-libm-test-out: Regenerated.
20995 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20997         [BZ #16274]
20998         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20999         handle filename validation.
21000         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21001         (do_open): Delete.
21003 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21005         [BZ #6786]
21006         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21007         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21008         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21009         <float.h>.
21010         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21011         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21012         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21013         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21014         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21015         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21016         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21017         * math/auto-libm-test-in: Don't allow missing errno from erfc.
21018         Add more erfc tests.
21019         * math/auto-libm-test-out: Regenerated.
21020         * sysdeps/i386/fpu/libm-test-ulps: Update.
21021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21023         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21024         exp2, expm1, j0 and j1.
21025         * math/auto-libm-test-out: Regenerated.
21026         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21027         (erfc_test_data): Likewise.
21028         (exp_test_data): Likewise.
21029         (exp_tonearest_test_data): Likewise.
21030         (exp_towardzero_test_data): Likewise.
21031         (exp_downward_test_data): Likewise.
21032         (exp_upward_test_data): Likewise.
21033         (exp10_test_data): Likewise.
21034         (exp2_test_data): Likewise.
21035         (expm1_test_data): Likewise.
21036         (j0_test_data): Likewise.
21037         (j1_test_data): Likewise.
21038         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21039         (input_flag_type): Add flag_xfail_rounding.
21040         (input_flags): Add xfail-rounding.
21041         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21042         (output_for_one_input_case): Handle flag_xfail_rounding.
21043         * sysdeps/i386/fpu/libm-test-ulps: Update.
21044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21046 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
21048         [BZ #16289]
21049         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21050         division by 0.
21052 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21054         [BZ #16195]
21055         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21056         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21057         (STAP_PROBE0): New macro.
21058         (STAP_PROBE1): Likewise.
21059         (STAP_PROBE2): Likewise.
21060         (STAP_PROBE3): Likewise.
21061         (STAP_PROBE4): Likewise.
21063 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
21065         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21067 2013-12-02  Steve Ellcey  <sellcey@mips.com>
21069         * benchtests/Makefile (bench): Add sqrt.
21070         (LDLIBS-bench-sqrt): New.
21071         * benchtests/sqrt-input: New.
21073 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
21075         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21076         (GAIH_EAI): Likewise.
21077         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21078         (gaih_inet): Likewise.
21079         (getaddrinfo): Don't use GAIH_EAI.
21081         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21082         (struct gaih): Remove definition.
21084 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21086         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21087         Use HERRNOP directly.
21089 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21093 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
21095         * math/gen-auto-libm-tests.c (test_functions): Add more
21096         single-argument functions.
21097         (special_fill_pi_2): New function.
21098         (special_fill_minus_pi_2): Likewise.
21099         (special_fill_pi_6): Likewise.
21100         (special_fill_minus_pi_6): Likewise.
21101         (special_fill_pi_3): Likewise.
21102         (special_fill_2pi_3): Likewise.
21103         (special_fill_e): Likewise.
21104         (special_fill_1_e): Likewise.
21105         (special_fill_e_minus_1): Likewise.
21106         (special_real_inputs): Add more special inputs.
21107         (output_for_one_input_case): Do not require ERANGE on underflow to
21108         zero if round-to-nearest result does not underflow to zero, unless
21109         exact results required.
21110         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21111         atan, atanh, cbrt, cos and cosh.
21112         * math/auto-libm-test-out: Regenerated.
21113         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21114         (acos_tonearest_test_data): Likewise.
21115         (acos_towardzero_test_data): Likewise.
21116         (acos_downward_test_data): Likewise.
21117         (acos_upward_test_data): Likewise.
21118         (acosh_test_data): Likewise.
21119         (asin_test_data): Likewise.
21120         (asin_tonearest_test_data): Likewise.
21121         (asin_towardzero_test_data): Likewise.
21122         (asin_upward_test_data): Likewise.
21123         (asinh_test_data): Likewise.
21124         (atan_test_data): Likewise.
21125         (atanh_test_data): Likewise.
21126         (cbrt_test_data): Likewise.
21127         (cos_test_data): Likewise.
21128         (cos_tonearest_test_data): Likewise.
21129         (cos_towardzero_test_data): Likewise.
21130         (cos_downward_test_data): Likewise.
21131         (cos_upward_test_data): Likewise.
21132         (cosh_test_data): Likewise.
21133         (cosh_tonearest_test_data): Likewise.
21134         (cosh_towardzero_test_data): Likewise.
21135         (cosh_downward_test_data): Likewise.
21136         (cosh_upward_test_data): Likewise.
21137         * sysdeps/i386/fpu/libm-test-ulps: Update.
21138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21140 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21142         [BZ #6787]
21143         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21144         * math/w_exp10f.c (__exp10f): Likewise.
21145         * math/w_exp10l.c (__exp10l): Likewise.
21146         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21147         errno settings in existing tests.
21149         [BZ #14032]
21150         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21151         precision control set to double precision.
21152         * sysdeps/i386/fpu/w_sqrt.c: New file.
21153         * math/auto-libm-test-in: Add more tests.
21154         * math/auto-libm-test-out: Update.
21156         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21157         (sqrt_test_tonearest): New function.
21158         (sqrt_towardzero_test_data): New variable.
21159         (sqrt_test_towardzero): New function.
21160         (sqrt_downward_test_data): New variable.
21161         (sqrt_test_downward): New function.
21162         (sqrt_upward_test_data): New variable.
21163         (sqrt_test_upward): New function.
21164         (main): Call the new functions.
21166         * math/gen-auto-libm-tests.c: New file.
21167         * math/auto-libm-test-in: Likewise.
21168         * math/auto-libm-test-out: New generated file.
21169         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21170         variables.
21171         (%beautify): Add generated representations of zero.
21172         (top level): Set $auto_input and call parse_auto_input.
21173         (beautify): Remove trailing "f" from hex float constants.
21174         (parse_args): Handle XFAIL_TEST.
21175         (convert_condition): New function.
21176         (or_value): Likewise.
21177         (or_cond_value): Likewise.
21178         (generate_testfile): Handle AUTO_TESTS_* lines.
21179         (parse_auto_input): New function.
21180         * math/libm-test.inc (XFAIL_TEST): New macro.
21181         (ERRNO_UNCHANGED): Update value.
21182         (ERRNO_EDOM): Likewise.
21183         (ERRNO_ERANGE): Likewise.
21184         (IGNORE_RESULT): Likewise.
21185         (TEST_COND_flt_32): New macro.
21186         (TEST_COND_dbl_64): Likewise.
21187         (TEST_COND_ldbl_96_intel): Likewise.
21188         (TEST_COND_ldbl_96_m68k): Likewise.
21189         (TEST_COND_ldbl_128): Likewise.
21190         (TEST_COND_ldbl_128ibm): Likewise.
21191         (TEST_COND_long32): Likewise.
21192         (TEST_COND_long64): Likewise.
21193         (TEST_COND_before_rounding): Likewise.
21194         (TEST_COND_after_rounding): Likewise.
21195         (enable_test): Handle XFAIL_TEST flag.
21196         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21197         with finite results.
21198         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21199         auto-libm-test-out.
21201 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21202             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21204         [BZ #16214]
21205         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21206         __tls_get_addr_internal instead of __tls_get_offset in order to
21207         avoid GOT pointer dependency.  Make rtld export
21208         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21209         __tls_get_addr since we are a __tls_get_offset platform.
21210         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21211         GOT pointer being set up before.
21212         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21214 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21216         * manual/math.texi (Errors in Math Functions): Document accuracy
21217         goals.
21219         [BZ #15004]
21220         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21221         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21222         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21223         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21224         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21225         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21226         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21227         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21228         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21229         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21230         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21231         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21232         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21233         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21234         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21235         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21237         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21238         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21239         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21240         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21241         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21242         Likewise.
21243         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21244         Likewise.
21245         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21246         Likewise.
21247         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21248         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21249         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21250         atomic-feupdateenv and flt-rounds.
21251         * sysdeps/powerpc/nofpu/Versions (libc): Add
21252         __atomic_feholdexcept, __atomic_feclearexcept,
21253         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21254         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21255         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21256         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21257         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21258         here.
21259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21260         Update.
21262         * manual/arith.texi (FP Exceptions): Document that exceptions may
21263         not be raised when matherr is used.
21264         (Math Error Reporting): Document overflow in directed rounding
21265         modes.  Document that errno may not be set when finite values are
21266         returned on overflow.  Document intent to set errno on underflow
21267         only for underflow to zero.
21269         [BZ #16271]
21270         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21271         round-to-nearest then adjust result for other rounding modes.
21272         * include/fenv.h (fegetround): Use libm_hidden_proto.
21273         * math/fegetround.c (fegetround): Use libm_hidden_def.
21274         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21275         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21276         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21277         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21278         Likewise.
21279         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21280         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21281         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21282         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21284 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21286         [BZ #16077]
21287         * nss/Versions (libnss_files): Add
21288         _nss_files_gethostbyname3_r.
21289         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21290         New function.
21291         (HOST_DB_LOOKUP): Remove macro.
21292         (_nss_files_gethostbyname_r): Implement function without the
21293         HOST_DB_LOOKUP macro.
21294         (_nss_files_gethostbyname2_r): Likewise.
21296 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21298         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21300 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21302         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21303         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21304         warning.
21306 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21308         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21309         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21310         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21311         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21312         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21313         __fe_nomask_env_priv and attribute_hidden.
21314         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21315         (libc_feupdateenv_test_ppc): Likewise.
21316         (libc_feresetround_ppc): Likewise.
21317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21318         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21319         compat_symbol macro.
21320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21321         (__fe_nomask_env): Likewise.
21322         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21326         * string/Makefile: Remove ifunc tests.
21327         * string/test-string.h: Define TEST_IFUNC.
21328         * string/test-bcopy-ifunc.c: Remove.
21329         * string/test-bzero-ifunc.c: Likewise.
21330         * string/test-memccpy-ifunc.c: Likewise.
21331         * string/test-memchr-ifunc.c: Likewise.
21332         * string/test-memcmp-ifunc.c: Likewise.
21333         * string/test-memcpy-ifunc.c: Likewise.
21334         * string/test-memmem-ifunc.c: Likewise.
21335         * string/test-memmove-ifunc.c: Likewise.
21336         * string/test-mempcpy-ifunc.c: Likewise.
21337         * string/test-memrchr-ifunc.c: Likewise.
21338         * string/test-memset-ifunc.c: Likewise.
21339         * string/test-rawmemchr-ifunc.c: Likewise.
21340         * string/test-stpcpy-ifunc.c: Likewise.
21341         * string/test-stpncpy-ifunc.c: Likewise.
21342         * string/test-strcasecmp-ifunc.c: Likewise.
21343         * string/test-strcasestr-ifunc.c: Likewise.
21344         * string/test-strcat-ifunc.c: Likewise.
21345         * string/test-strchr-ifunc.c: Likewise.
21346         * string/test-strchrnul-ifunc.c: Likewise.
21347         * string/test-strcmp-ifunc.c: Likewise.
21348         * string/test-strcpy-ifunc.c: Likewise.
21349         * string/test-strcspn-ifunc.c: Likewise.
21350         * string/test-strlen-ifunc.c: Likewise.
21351         * string/test-strncasecmp-ifunc.c: Likewise.
21352         * string/test-strncat-ifunc.c: Likewise.
21353         * string/test-strncmp-ifunc.c: Likewise.
21354         * string/test-strncpy-ifunc.c: Likewise.
21355         * string/test-strnlen-ifunc.c: Likewise.
21356         * string/test-strpbrk-ifunc.c: Likewise.
21357         * string/test-strrchr-ifunc.c: Likewise.
21358         * string/test-strspn-ifunc.c: Likewise.
21359         * string/test-strstr-ifunc.c: Likewise.
21361 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21363         * benchtests/Makefile: Remove ifunc tests.
21364         * benchtests/bench-string.h: Define TEST_IFUNC.
21365         * benchtests/bench-bcopy-ifunc.c: Remove.
21366         * benchtests/bench-bzero-ifunc.c: Likewise.
21367         * benchtests/bench-memccpy-ifunc.c: Likewise.
21368         * benchtests/bench-memchr-ifunc.c: Likewise.
21369         * benchtests/bench-memcmp-ifunc.c: Likewise.
21370         * benchtests/bench-memcpy-ifunc.c: Likewise.
21371         * benchtests/bench-memmem-ifunc.c: Likewise.
21372         * benchtests/bench-memmove-ifunc.c: Likewise.
21373         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21374         * benchtests/bench-memrchr-ifunc.c: Likewise.
21375         * benchtests/bench-memset-ifunc.c: Likewise.
21376         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21377         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21378         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21379         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21380         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21381         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21382         * benchtests/bench-strcat-ifunc.c: Likewise.
21383         * benchtests/bench-strchr-ifunc.c: Likewise.
21384         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21385         * benchtests/bench-strcmp-ifunc.c: Likewise.
21386         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21387         * benchtests/bench-strcpy-ifunc.c: Likewise.
21388         * benchtests/bench-strcspn-ifunc.c: Likewise.
21389         * benchtests/bench-strlen-ifunc.c: Likewise.
21390         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21391         * benchtests/bench-strncat-ifunc.c: Likewise.
21392         * benchtests/bench-strncmp-ifunc.c: Likewise.
21393         * benchtests/bench-strncpy-ifunc.c: Likewise.
21394         * benchtests/bench-strnlen-ifunc.c: Likewise.
21395         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21396         * benchtests/bench-strrchr-ifunc.c: Likewise.
21397         * benchtests/bench-strsep-ifunc.c: Likewise.
21398         * benchtests/bench-strspn-ifunc.c: Likewise.
21399         * benchtests/bench-strstr-ifunc.c: Likewise.
21401 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21403         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21405 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21407         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21408         * rt/aio.h: Likewise.
21409         * sysdeps/gnu/bits/utmp.h: Likewise.
21410         * sysdeps/gnu/bits/utmpx.h: Likewise.
21411         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21412         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21413         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21414         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21415         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21416         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21417         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21418         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21419         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21420         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21421         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21422         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21423         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21425         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21426         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21427         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21428         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21429         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21430         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21431         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21432         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21433         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21434         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21435         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21436         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21437         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21438         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21439         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21440         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21441         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21442         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21443         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21444         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21445         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21446         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21447         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21448         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21449         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21450         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21451         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21452         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21454 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21456         [BZ #16245]
21457         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21458         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21460 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21462         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21463         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21464         Likewise.
21466 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21468         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21469         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21470         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21471         (__fesetround): Remove define.
21472         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21473         rounding and exceptions handling.
21474         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21475         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21476         (__fe_nomask_env): Likewise.
21477         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21478         __fegetround instead of fegetround.
21479         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21480         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21482 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21484         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21485         it's there.
21487         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21489 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21491         [BZ #11157]
21492         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21493         (encrypt_r): Likewise.
21494         * malloc/obstack.h (obstack_free): Likewise.
21495         * posix/unistd.h (encrypt): Likewise.
21497 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21499         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21500         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21501         DL_CALL_DT_FINI() that call the functions directly.
21502         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21503         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21504         * elf/dl-fini.c: Likewise.
21506 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21508         * malloc/hooks.c (memalign_check): Add alignment rounding.
21509         * malloc/malloc.c (_mid_memalign): New function.
21510         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21511         Implement by calling _mid_memalign.
21512         * manual/probes.texi (Memory Allocation Probes): Remove
21513         memory_valloc_retry and memory_pvalloc_retry.
21515 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21517         * locale/programs/locarchive.c (open_archive): Add const
21518         qualifier to ARCHIVEFNAME and copy default fname to
21519         DEFAULT_FNAME.
21521         [BZ #15601]
21522         * libio/tst-widetext.input: Rename Oriya to Odia.
21523         * locale/iso-639.def: Likewise.
21525         * manual/probes.texi (Mathematical Function Probes): Add
21526         documentation for sin, cos, asin and acos probes.
21527         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21528         (__sin32): Add slowasin probe.
21529         (__cos32): Add slowacos probe.
21530         (__mpsin): Add slowsin probe.
21531         (__mpcos): Add slowcos probe.
21533 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21535         [BZ #15483]
21536         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21537         thread-local __sim_exceptions_thread and global
21538         __sim_exceptions_global.
21539         (__sim_disabled_exceptions): Change to thread-local
21540         __sim_disabled_exceptions_thread and global
21541         __sim_disabled_exceptions_global.
21542         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21543         and global __sim_round_mode_global.
21544         (__simulate_exceptions): Use thread-local floating-point state and
21545         set global state from it as needed.
21546         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21547         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21548         __sim_round_mode_thread.
21549         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21550         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21551         and global __sim_exceptions_global.
21552         (__sim_disabled_exceptions): Change to thread-local
21553         __sim_disabled_exceptions_thread and global
21554         __sim_disabled_exceptions_global.
21555         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21556         and global __sim_round_mode_global.
21557         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21558         (SIM_SET_GLOBAL): Likewise.
21559         * sysdeps/powerpc/soft-fp/sfp-machine.h
21560         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21561         __sim_round_mode_thread.
21562         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21563         __sim_disabled_exceptions_thread.
21564         (__sim_exceptions): Change to __sim_exceptions_thread.
21565         (__sim_disabled_exceptions): Change to
21566         __sim_disabled_exceptions_thread.
21567         (__sim_round_mode): Change to __sim_round_mode_thread.
21568         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21569         thread-local floating-point state and set global state from it as
21570         needed.
21571         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21572         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21573         (__sim_disabled_exceptions): Remove extern declaration.
21574         (feenableexcept): Use thread-local floating-point state and set
21575         global state from it as needed.
21576         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21577         extern declaration.
21578         (__sim_disabled_exceptions): Likewise.
21579         (__sim_round_mode): Likewise.
21580         (__fegetenv): Use thread-local floating-point state.
21581         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21582         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21583         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21584         floating-point state and set global state from it as needed.
21585         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21586         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21587         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21588         Likewise.
21589         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21590         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21591         Likewise.
21592         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21593         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21594         Use __sim_round_mode_thread.
21595         * math/test-fenv-tls.c: New file.
21596         * math/Makefile (tests): Add test-fenv-tls.
21597         ($(objpfx)test-fenv-tls): Depend on
21598         $(common-objpfx)nptl/libpthread.so.
21600 2013-11-19  Andreas Schwab  <schwab@suse.de>
21602         * locale/programs/locale.c (show_info): Decode wordarray elements.
21603         * locale/categories.def (LC_MONETARY): Add element for
21604         _NL_MONETARY_CRNCYSTR.
21605         * locale/C-monetary.c (conversion_rate): New variable.
21606         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21607         element.
21609 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21611         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21612         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21614 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21616         * elf/Makefile (tst-auxv): New test.
21617         * elf/tst-auxv.c: New
21618         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21620 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21622         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21623         (hidden_proto): Caller changed.
21624         (hidden_tls_proto): New macro.
21625         (libc_hidden_tls_proto): Likewise.
21626         (rtld_hidden_tls_proto): Likewise.
21627         (libm_hidden_tls_proto): Likewise.
21628         (libresolv_hidden_tls_proto): Likewise.
21629         (librt_hidden_tls_proto): Likewise.
21630         (libdl_hidden_tls_proto): Likewise.
21631         (libnss_files_hidden_tls_proto): Likewise.
21632         (libnsl_hidden_tls_proto): Likewise.
21633         (libnss_nisplus_hidden_tls_proto): Likewise.
21634         (libutil_hidden_tls_proto): Likewise.
21636 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21638         [BZ #10253]
21639         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21640         (decompose_rpath): Defer expansion to fillin_rpath.
21641         (_dl_init_paths): Pass linkmap to fillin_rpath.
21643 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21645         * benchtests/Makefile: Add strsep.
21646         * benchtests/bench-strsep.c: New file: strsep benchtest.
21647         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21649 2013-11-18  Andreas Schwab  <schwab@suse.de>
21651         * locale/programs/locale.c (show_info) [case byte]: Check for
21652         '\377' instead of '\177'.
21653         * locale/C-monetary.c (not_available): Always use "\377".
21654         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21655         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21656         detect unavailable sign_posn locale elements.
21657         * locale/localeconv.c (__localeconv): For grouping and
21658         mon_grouping handle "\177" and "\377" like no grouping.
21659         (INT_ELEM): New macro.  Use it to set all numeric members.
21660         * locale/programs/ld-monetary.c (monetary_read)
21661         <tok_mon_grouping>: Normalize single -1 to the empty string.
21662         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21663         Likewise.
21665 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21667         [BZ #16055]
21668         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21669         when we match (nil).
21670         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21672 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21674         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21675         (NO_TEST_INLINE): Update value.
21676         (ERRNO_UNCHANGED): Likewise.
21677         (ERRNO_EDOM): Likewise.
21678         (ERRNO_ERANGE): Likewise.
21679         (IGNORE_RESULT): Likewise.
21680         (check_float_internal): Check signs of NaN results if
21681         TEST_NAN_SIGN used.
21682         (check_complex): Pass TEST_NAN_SIGN flag through to second
21683         check_float_internal call.
21684         (copysign_test_data): Add tests with quiet NaNs as second
21685         argument.  Use TEST_NAN_SIGN.
21686         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21687         TEST_NAN_SIGN.
21688         (signbit_test_data): Add tests of quiet NaN argument.
21689         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21691         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21692         $ignore_result.
21693         (parse_args): Handle function results specified as IGNORE.
21694         * math/libm-test.inc (IGNORE_RESULT): New macro.
21695         (check_float_internal): Do not check numerical result if flag
21696         IGNORE_RESULT set.
21697         (check_complex): Pass through IGNORE_RESULT to second
21698         check_float_internal call.
21699         (check_int): Do not check numerical result if flag IGNORE_RESULT
21700         set.
21701         (check_long): Likewise.
21702         (check_bool): Likewise.
21703         (check_longlong): Likewise.
21704         (lrint_test_data): Add tests of infinite and NaN arguments.
21705         (lrint_tonearest_test_data): Likewise.
21706         (lrint_towardzero_test_data): Likewise.
21707         (lrint_downward_test_data): Likewise.
21708         (lrint_upward_test_data): Likewise.
21709         (llrint_test_data): Likewise.
21710         (llrint_tonearest_test_data): Likewise.
21711         (llrint_towardzero_test_data): Likewise.
21712         (llrint_downward_test_data): Likewise.
21713         (llrint_upward_test_data): Likewise.
21714         (lround_test_data): Likewise.
21715         (llround_test_data): Likewise.
21717         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21718         (ERRNO_UNCHANGED): Update value.
21719         (ERRNO_EDOM): Likewise.
21720         (ERRNO_ERANGE): Likewise.
21721         (NO_TEST_INLINE_FLOAT): New macro.
21722         (NO_TEST_INLINE_DOUBLE): Likewise.
21723         (enable_test): New function.
21724         (RUN_TEST_f_f): Check enable_test before running test.
21725         (RUN_TEST_2_f): Likewise.
21726         (RUN_TEST_fff_f): Likewise.
21727         (RUN_TEST_c_f): Likewise.
21728         (RUN_TEST_f_f1): Likewise.
21729         (RUN_TEST_fF_f1): Likewise.
21730         (RUN_TEST_fI_f1): Likewise.
21731         (RUN_TEST_ffI_f1): Likewise.
21732         (RUN_TEST_c_c): Likewise.
21733         (RUN_TEST_cc_c): Likewise.
21734         (RUN_TEST_f_i): Likewise.
21735         (RUN_TEST_f_i_tg): Likewise.
21736         (RUN_TEST_ff_i_tg): Likewise.
21737         (RUN_TEST_f_b): Likewise.
21738         (RUN_TEST_f_b_tg): Likewise.
21739         (RUN_TEST_f_l): Likewise.
21740         (RUN_TEST_f_L): Likewise.
21741         (RUN_TEST_fFF_11): Likewise.
21742         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21743         conditionals.
21744         (cosh_test_data): Likewise.
21745         (exp_test_data): Likewise.
21746         (expm1_test_data): Likewise.
21747         (hypot_test_data): Likewise.
21748         (pow_test_data): Likewise.
21749         (sinh_test_data): Likewise.
21750         (tanh_test_data): Likewise.
21751         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21752         flags argument.
21754         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21755         tests with quiet NaN input and output.
21756         (acosh_test_data): Likewise.
21757         (asin_test_data): Likewise.
21758         (asinh_test_data): Likewise.
21759         (atan_test_data): Likewise.
21760         (atanh_test_data): Likewise.
21761         (atan2_test_data): Likewise.
21762         (cbrt_test_data): Likewise.
21763         (cos_test_data): Likewise.
21764         (cosh_test_data): Likewise.
21765         (erf_test_data): Likewise.
21766         (erfc_test_data): Likewise.
21767         (exp_test_data): Likewise.
21768         (exp10_test_data): Likewise.
21769         (exp2_test_data): Likewise.
21770         (expm1_test_data): Likewise.
21771         (hypot_test_data): Likewise.
21772         (j0_test_data): Likewise.
21773         (j1_test_data): Likewise.
21774         (jn_test_data): Likewise.
21775         (lgamma_test_data): Likewise.
21776         (log_test_data): Likewise.
21777         (log10_test_data): Likewise.
21778         (log1p_test_data): Likewise.
21779         (log2_test_data): Likewise.
21780         (pow_test_data): Likewise.
21781         (scalb_test_data): Likewise.
21782         (sin_test_data): Likewise.
21783         (sincos_test_data): Likewise.
21784         (sinh_test_data): Likewise.
21785         (tan_test_data): Likewise.
21786         (tanh_test_data): Likewise.
21787         (tgamma_test_data): Likewise.
21788         (y0_test_data): Likewise.
21789         (y1_test_data): Likewise.
21790         (yn_test_data): Likewise.
21792         [BZ #16167]
21793         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21794         argument being NaN and avoid computations with second argument in
21795         that case.
21796         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21797         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21798         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21800 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21802         * locale/iso-639.def: Add Chitwani Tharu (the).
21804 2013-11-14  Andreas Schwab  <schwab@suse.de>
21806         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21807         word instead of empty string.
21809 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21812         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21814         (__fe_nomask_env): Likewise.
21816 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21818         * benchtests/bench-timing.h: Include time.h.
21820 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21822         [BZ #15997]
21823         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21824         to 3.4.0 for x32.
21825         * sysdeps/unix/sysv/linux/configure: Regenerated.
21827 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21829         [BZ #16151]
21830         * stdlib/strtod_l.c (round_and_return): Do not consider
21831         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21832         exponent one less than half the least subnormal exponent.
21833         * stdlib/test-strtod-round-data: Add more tests.
21834         * stdlib/tst-strtod-round.c (tests): Regenerated.
21836 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21838         [BZ #14143]
21839         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21840         (__fe_mask_env): Likewise.
21841         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21842         libm_hidden_proto and add function prototype.
21843         (__fe_mask_env): Add function prototype.
21844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21845         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21847         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21849         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21851 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21853         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21854         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21856 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21858         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21859         of htab_find_slot().
21861 2013-11-11  David S. Miller  <davem@davemloft.net>
21863         [BZ #16150]
21864         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21865         symbol in the non-vis3 case in static builds.
21866         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21867         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21868         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21869         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21871 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21873         [BZ #387]
21874         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21875         it is empty.
21877 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21879         * benchtests/Makefile: Add bench-strtod.
21880         * benchtests/bench-strtod.c: New file: strtod benchtest
21882 2013-11-11  Andreas Schwab  <schwab@suse.de>
21884         [BZ #16153]
21885         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21886         terminating NUL in key length.
21888 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21890         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21891         Add artificial ODP entry for vDSO symbol for PPC64.
21892         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21893         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21895 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21897         [BZ #15374]
21898         * nss/getent.c (services_keys): Recognize services starting with digit.
21900 2013-11-06  David S. Miller  <davem@davemloft.net>
21902         [BZ #15985]
21903         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21904         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21906 2013-11-06  Will Newton  <will.newton@linaro.org>
21908         * manual/memory.texi (Malloc Examples): Remove register
21909         keyword from examples.
21911 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21913         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21915 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21917         [BZ #6981]
21918         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21919         depending on [__GCC_IEC_559 > 0].
21920         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21921         depending on [__GCC_IEC_559_COMPLEX > 0].
21923 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21925         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21926         to iso-639.def.
21928 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21930         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21932 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21934         [BZ #16112]
21935         * malloc/malloc (malloc_info): Do not handle first bin as
21936         special case.
21938 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21940         * locale/iso-639.def: Add Central Nahuatl (nhn).
21942 2013-11-01  Bruno Haible  <bruno@clisp.org>
21944         [BZ #7003]
21945         * manual/math.texi (BSD Random): Specify range upper bound as
21946         in POSIX.
21948 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21950         * locale/iso-639.def: Add Meadow Mari (mhr).
21952 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21954         [BZ #14752], [BZ #15763]
21955         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21956         Validate name.
21957         * rt/tst_shm.c: Add test for escaping directory.
21959 2013-10-31  Andreas Schwab  <schwab@suse.de>
21961         [BZ #15917]
21962         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21963         followed by 'x' as part of digit sequence.
21964         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21966 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21968         [BZ #16037]
21969         * configure.ac: allow GNU Make 4.0 and greater.
21970         * configure: Regenerated.
21972 2013-10-30  Will Newton  <will.newton@linaro.org>
21974         [BZ #16038]
21975         * malloc/hooks.c (memalign_check): Limit alignment to the
21976         maximum representable power of two.
21977         * malloc/malloc.c (__libc_memalign): Likewise.
21978         * malloc/tst-memalign.c (do_test): Add test for very
21979         large alignment values.
21980         * malloc/tst-posix_memalign.c (do_test): Likewise.
21982 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21984         [BZ #11087]
21985         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21986         (munmap_chunk): Likewise.
21987         (mremap_chunk): Likewise.
21989 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21991         [BZ #15799]
21992         * stdlib/div.c (div): Remove obsolete code.
21993         * stdlib/ldiv.c (ldiv): Likewise.
21994         * stdlib/lldiv.c (lldiv): Likewise.
21996 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21998         [BZ #16071]
21999         * nss/nss_files/files-XXX.c (get_contents_ret): New
22000         enumerator.
22001         (get_contents): New function.
22002         (internal_getent): Use it.  Expand size of LINEBUFLEN.
22004 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
22006         * configure.in: Moved to ...
22007         * configure.ac: ... here. Change reference to configure.in
22008         to configure.ac.
22009         * sysdeps/arm/preconfigure.ac: ... here.
22010         configure.in to configure.ac.
22011         * sysdeps/gnu/configure.in: Moved to ...
22012         * sysdeps/gnu/configure.ac: ... here.
22013         * sysdeps/i386/configure.in: Moved to ...
22014         * sysdeps/i386/configure.ac: ... here.
22015         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22016         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22017         * sysdeps/mach/configure.in: Moved to ...
22018         * sysdeps/mach/configure.ac: ... here.
22019         * sysdeps/mach/hurd/configure.in: Moved to ...
22020         * sysdeps/mach/hurd/configure.ac: ... here.
22021         * sysdeps/powerpc/configure.in: Moved to ...
22022         * sysdeps/powerpc/configure.ac: ... here.
22023         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22024         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22025         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22026         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22027         * sysdeps/s390/s390-32/configure.in: Moved to ...
22028         * sysdeps/s390/s390-32/configure.ac: ... here.
22029         * sysdeps/s390/s390-64/configure.in: Moved to ...
22030         * sysdeps/s390/s390-64/configure.ac: ... here.
22031         * sysdeps/sh/configure.in: Moved to ...
22032         * sysdeps/sh/configure.ac: ... here.
22033         * sysdeps/sparc/configure.in: Moved to ...
22034         * sysdeps/sparc/configure.ac: ... here.
22035         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22036         * sysdeps/unix/sysv/linux/configure.ac: ... here.
22037         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22038         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22039         * sysdeps/x86_64/configure.in: Moved to ...
22040         * sysdeps/x86_64/configure.ac: ... here.
22041         * sysdeps/x86_64/preconfigure.in: Moved to ...
22042         * sysdeps/x86_64/preconfigure.ac: ... here.
22043         * aclocal.m4: Change reference to configure.in to configure.ac.
22044         * config.h.in: Likewise.
22045         * manual/install.texi: Likewise.
22046         * manual/maint.texi: Likewise.
22047         * Makefile: Likewise.
22048         * malloc/Makefile: Likewise.
22049         * nscd/Makefile: Likewise.
22050         * Makeconfig: Change reference to configure.in and
22051         preconfigure.in to configure.ac and preconfigure.ac
22052         respectively.
22053         * INSTALL: Regenerated.
22054         * configure: Likewise.
22055         * sysdeps/gnu/configure: Likewise.
22056         * sysdeps/i386/configure: Likewise.
22057         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22058         * sysdeps/mach/configure: Likewise.
22059         * sysdeps/mach/hurd/configure: Likewise.
22060         * sysdeps/powerpc/configure: Likewise.
22061         * sysdeps/powerpc/powerpc32/configure: Likewise.
22062         * sysdeps/powerpc/powerpc64/configure: Likewise.
22063         * sysdeps/s390/s390-32/configure: Likewise.
22064         * sysdeps/s390/s390-64/configure: Likewise.
22065         * sysdeps/sh/configure: Likewise.
22066         * sysdeps/sparc/configure: Likewise.
22067         * sysdeps/unix/sysv/linux/configure: Likewise.
22068         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22069         * sysdeps/x86_64/configure: Likewise.
22070         * sysdeps/x86_64/preconfigure: Likewise.
22072 2013-10-29  Andreas Schwab  <schwab@suse.de>
22074         * stdio-common/Makefile (tst-swscanf-ENV): Define.
22076 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22078         * benchtests/pow-inputs: Add new inputs.
22080         * benchtests/exp-inputs: Add new inputs.
22082         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22083         conditional check for return value.
22084         (__cos32): Likewise.
22086 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22088         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22089         to provide a boost for large inputs with word alignment.
22090         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22091         implementation based on optimized PPC64 strcpy.
22092         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22093         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22094         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22095         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22097 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22099         [BZ #2801]
22100         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22102 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22104         [BZ #14876]
22105         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22106         * time/tst-strptime.c (day_tests): Add testcase.
22108 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22110         [BZ #14029]
22111         * manual/pattern.texi: Acknowledge that fnmatch can fail.
22113 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
22115         [BZ #16074]
22116         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22117         MAP_FAILED on error.
22119 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22121         [BZ #16072]
22122         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22123         heap for large requests.
22125 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22127         [BZ #9954]
22128         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22129         result if the result has no associated interface.
22130         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22131         interface for all 127.X.Y.Z addresses.
22133 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22135         * locale/iso-639.def: Add Ligurian (lij)
22137 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22139         [BZ #15825]
22140         * sunrpc/rpc_main.c: Document rpcgen -5.
22142 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22144         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22146 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22148         [BZ #10278]
22149         * posix/glob.c: Match only directories when trailing slash is present.
22150         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22151         (main): Add testcase.
22153 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22155         [BZ #15670]
22156         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22158 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22160         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22161         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22162         AUTH_DES and cindex for FIPS 140-2.
22163         (DES Encryption): Add cindex FIPS 46-3.
22165         * locale/locarchive.h (struct locarhandle): Add fname.
22166         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22167         if an optional argument was specified to --list-archive,
22168         otherwise NULL.
22169         * locale/programs/locarchive.c (show_archive_content): Take new
22170         argument fname and pass it via ah.fname to open_archive.
22171         * locale/programs/localedef.h: Update decl.
22172         (open_archive): If AH->fname is non-null, open that file
22173         rather than the default file name, and don't ignore ENOENT.
22174         (create_archive): Set AH.fname to NULL.
22175         (delete_locales_from_archive): Likewise.
22176         (add_locales_to_archive): Likewise.
22177         * locale/programs/locfile.c (write_all_categories): Likewise.
22179 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22180             Aldy Hernandez  <aldyh@redhat.com>
22182         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22183         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22184         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22185         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22186         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22187         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22188         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22189         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22190         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22191         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22192         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22193         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22194         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22195         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22196         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22197         Likewise.
22198         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22199         Likewise.
22200         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22201         Likewise.
22202         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22203         Likewise.
22204         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22205         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22206         Likewise.
22207         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22208         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22209         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22210         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22211         Likewise.
22212         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22213         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22214         * sysdeps/powerpc/preconfigure: Likewise.
22215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22216         Likewise.
22217         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22218         Replace contents of file by #include of <fenv_libc.h>.
22219         * sysdeps/powerpc/soft-fp/sfp-machine.h
22220         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22221         and <sys/prctl.h>.
22222         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22223         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22224         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22225         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22226         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22227         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22229         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22230         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22231         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22232         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22233         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22235         Allow copysignl PLT reference to be missing.
22237 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22238             Joseph Myers  <joseph@codesourcery.com
22240         [BZ #15948]
22241         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22242         single character.
22243         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22245 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22247         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22248         * elf/tst-tls1.c: Likewise.
22249         * elf/tst-tls10.h: Likewise.
22250         * elf/tst-tls14.c: Likewise.
22251         * elf/tst-tls2.c: Likewise.
22252         * elf/tst-tls3.c: Likewise.
22253         * elf/tst-tls4.c: Likewise.
22254         * elf/tst-tls5.c: Likewise.
22255         * elf/tst-tls6.c: Likewise.
22256         * elf/tst-tls7.c: Likewise.
22257         * elf/tst-tls8.c: Likewise.
22258         * elf/tst-tls9.c: Likewise.
22259         * elf/tst-tlsmod1.c: Likewise.
22260         * elf/tst-tlsmod13.c: Likewise.
22261         * elf/tst-tlsmod13a.c: Likewise.
22262         * elf/tst-tlsmod14a.c: Likewise.
22263         * elf/tst-tlsmod16a.c: Likewise.
22264         * elf/tst-tlsmod16b.c: Likewise.
22265         * elf/tst-tlsmod2.c: Likewise.
22266         * elf/tst-tlsmod3.c: Likewise.
22267         * elf/tst-tlsmod4.c: Likewise.
22268         * elf/tst-tlsmod5.c: Likewise.
22269         * elf/tst-tlsmod6.c: Likewise.
22271 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22273         [BZ #12486]
22274         * malloc/malloc.c: remove checks for statistics.
22276 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22278         [BZ #15277]
22279         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22280         * inet/tst-network.c: Add testcase.
22282 2013-10-17  Andreas Schwab  <schwab@suse.de>
22284         [BZ #15218]
22285         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22286         to determine canonical name.
22288 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22290         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22291         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22292         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22293         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22294         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22295         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22296         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22297         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22298         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22299         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22300         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22301         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22302         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22303         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22304         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22305         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22306         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22307         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22308         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22309         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22310         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22311         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22312         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22313         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22314         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22315         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22316         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22317         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22318         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22319         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22320         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22321         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22322         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22323         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22324         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22325         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22326         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22327         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22328         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22329         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22330         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22331         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22332         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22333         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22334         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22335         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22336         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22337         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22338         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22339         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22340         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22341         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22342         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22343         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22344         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22345         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22346         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22347         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22349 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22351         [BZ #16041]
22352         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22353         make result into a quiet NaN.
22355 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22357         * soft-fp/adddf3.c: Fix horizontal whitespace.
22358         * soft-fp/addsf3.c: Likewise.
22359         * soft-fp/addtf3.c: Likewise.
22360         * soft-fp/divdf3.c: Likewise.
22361         * soft-fp/divsf3.c: Likewise.
22362         * soft-fp/divtf3.c: Likewise.
22363         * soft-fp/double.h: Likewise.
22364         * soft-fp/eqdf2.c: Likewise.
22365         * soft-fp/eqsf2.c: Likewise.
22366         * soft-fp/eqtf2.c: Likewise.
22367         * soft-fp/extenddftf2.c: Likewise.
22368         * soft-fp/extended.h: Likewise.
22369         * soft-fp/extendsfdf2.c: Likewise.
22370         * soft-fp/extendsftf2.c: Likewise.
22371         * soft-fp/extendxftf2.c: Likewise.
22372         * soft-fp/fixdfdi.c: Likewise.
22373         * soft-fp/fixdfsi.c: Likewise.
22374         * soft-fp/fixdfti.c: Likewise.
22375         * soft-fp/fixsfdi.c: Likewise.
22376         * soft-fp/fixsfsi.c: Likewise.
22377         * soft-fp/fixsfti.c: Likewise.
22378         * soft-fp/fixtfdi.c: Likewise.
22379         * soft-fp/fixtfsi.c: Likewise.
22380         * soft-fp/fixtfti.c: Likewise.
22381         * soft-fp/fixunsdfdi.c: Likewise.
22382         * soft-fp/fixunsdfsi.c: Likewise.
22383         * soft-fp/fixunsdfti.c: Likewise.
22384         * soft-fp/fixunssfdi.c: Likewise.
22385         * soft-fp/fixunssfsi.c: Likewise.
22386         * soft-fp/fixunssfti.c: Likewise.
22387         * soft-fp/fixunstfdi.c: Likewise.
22388         * soft-fp/fixunstfsi.c: Likewise.
22389         * soft-fp/fixunstfti.c: Likewise.
22390         * soft-fp/floatdidf.c: Likewise.
22391         * soft-fp/floatdisf.c: Likewise.
22392         * soft-fp/floatditf.c: Likewise.
22393         * soft-fp/floatsidf.c: Likewise.
22394         * soft-fp/floatsisf.c: Likewise.
22395         * soft-fp/floatsitf.c: Likewise.
22396         * soft-fp/floattidf.c: Likewise.
22397         * soft-fp/floattisf.c: Likewise.
22398         * soft-fp/floattitf.c: Likewise.
22399         * soft-fp/floatundidf.c: Likewise.
22400         * soft-fp/floatundisf.c: Likewise.
22401         * soft-fp/floatunditf.c: Likewise.
22402         * soft-fp/floatunsidf.c: Likewise.
22403         * soft-fp/floatunsisf.c: Likewise.
22404         * soft-fp/floatunsitf.c: Likewise.
22405         * soft-fp/floatuntidf.c: Likewise.
22406         * soft-fp/floatuntisf.c: Likewise.
22407         * soft-fp/floatuntitf.c: Likewise.
22408         * soft-fp/fmadf4.c: Likewise.
22409         * soft-fp/fmasf4.c: Likewise.
22410         * soft-fp/fmatf4.c: Likewise.
22411         * soft-fp/gedf2.c: Likewise.
22412         * soft-fp/gesf2.c: Likewise.
22413         * soft-fp/getf2.c: Likewise.
22414         * soft-fp/ledf2.c: Likewise.
22415         * soft-fp/lesf2.c: Likewise.
22416         * soft-fp/letf2.c: Likewise.
22417         * soft-fp/muldf3.c: Likewise.
22418         * soft-fp/mulsf3.c: Likewise.
22419         * soft-fp/multf3.c: Likewise.
22420         * soft-fp/negdf2.c: Likewise.
22421         * soft-fp/negsf2.c: Likewise.
22422         * soft-fp/negtf2.c: Likewise.
22423         * soft-fp/op-1.h: Likewise.
22424         * soft-fp/op-2.h: Likewise.
22425         * soft-fp/op-4.h: Likewise.
22426         * soft-fp/op-8.h: Likewise.
22427         * soft-fp/op-common.h: Likewise.
22428         * soft-fp/quad.h: Likewise.
22429         * soft-fp/single.h: Likewise.
22430         * soft-fp/soft-fp.h: Likewise.
22431         * soft-fp/sqrtdf2.c: Likewise.
22432         * soft-fp/sqrtsf2.c: Likewise.
22433         * soft-fp/sqrttf2.c: Likewise.
22434         * soft-fp/subdf3.c: Likewise.
22435         * soft-fp/subsf3.c: Likewise.
22436         * soft-fp/subtf3.c: Likewise.
22437         * soft-fp/truncdfsf2.c: Likewise.
22438         * soft-fp/trunctfdf2.c: Likewise.
22439         * soft-fp/trunctfsf2.c: Likewise.
22440         * soft-fp/trunctfxf2.c: Likewise.
22441         * soft-fp/unorddf2.c: Likewise.
22442         * soft-fp/unordsf2.c: Likewise.
22443         * soft-fp/unordtf2.c: Likewise.
22445 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22447         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22448         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22450 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22452         * elf/dl-libc.c: Clear initfini list after freeing.
22454 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22456         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22457         * soft-fp/addsf3.c: Likewise.
22458         * soft-fp/addtf3.c: Likewise.
22459         * soft-fp/divdf3.c: Likewise.
22460         * soft-fp/divsf3.c: Likewise.
22461         * soft-fp/divtf3.c: Likewise.
22462         * soft-fp/double.h: Likewise.
22463         * soft-fp/eqdf2.c: Likewise.
22464         * soft-fp/eqsf2.c: Likewise.
22465         * soft-fp/eqtf2.c: Likewise.
22466         * soft-fp/extenddftf2.c: Likewise.
22467         * soft-fp/extended.h: Likewise.
22468         * soft-fp/extendsfdf2.c: Likewise.
22469         * soft-fp/extendsftf2.c: Likewise.
22470         * soft-fp/extendxftf2.c: Likewise.
22471         * soft-fp/fixdfdi.c: Likewise.
22472         * soft-fp/fixdfsi.c: Likewise.
22473         * soft-fp/fixdfti.c: Likewise.
22474         * soft-fp/fixsfdi.c: Likewise.
22475         * soft-fp/fixsfsi.c: Likewise.
22476         * soft-fp/fixsfti.c: Likewise.
22477         * soft-fp/fixtfdi.c: Likewise.
22478         * soft-fp/fixtfsi.c: Likewise.
22479         * soft-fp/fixtfti.c: Likewise.
22480         * soft-fp/fixunsdfdi.c: Likewise.
22481         * soft-fp/fixunsdfsi.c: Likewise.
22482         * soft-fp/fixunsdfti.c: Likewise.
22483         * soft-fp/fixunssfdi.c: Likewise.
22484         * soft-fp/fixunssfsi.c: Likewise.
22485         * soft-fp/fixunssfti.c: Likewise.
22486         * soft-fp/fixunstfdi.c: Likewise.
22487         * soft-fp/fixunstfsi.c: Likewise.
22488         * soft-fp/fixunstfti.c: Likewise.
22489         * soft-fp/floatdidf.c: Likewise.
22490         * soft-fp/floatdisf.c: Likewise.
22491         * soft-fp/floatditf.c: Likewise.
22492         * soft-fp/floatsidf.c: Likewise.
22493         * soft-fp/floatsisf.c: Likewise.
22494         * soft-fp/floatsitf.c: Likewise.
22495         * soft-fp/floattidf.c: Likewise.
22496         * soft-fp/floattisf.c: Likewise.
22497         * soft-fp/floattitf.c: Likewise.
22498         * soft-fp/floatundidf.c: Likewise.
22499         * soft-fp/floatundisf.c: Likewise.
22500         * soft-fp/floatunsidf.c: Likewise.
22501         * soft-fp/floatunsisf.c: Likewise.
22502         * soft-fp/floatuntidf.c: Likewise.
22503         * soft-fp/floatuntisf.c: Likewise.
22504         * soft-fp/floatuntitf.c: Likewise.
22505         * soft-fp/fmadf4.c: Likewise.
22506         * soft-fp/fmasf4.c: Likewise.
22507         * soft-fp/fmatf4.c: Likewise.
22508         * soft-fp/gedf2.c: Likewise.
22509         * soft-fp/gesf2.c: Likewise.
22510         * soft-fp/getf2.c: Likewise.
22511         * soft-fp/ledf2.c: Likewise.
22512         * soft-fp/lesf2.c: Likewise.
22513         * soft-fp/letf2.c: Likewise.
22514         * soft-fp/muldf3.c: Likewise.
22515         * soft-fp/mulsf3.c: Likewise.
22516         * soft-fp/multf3.c: Likewise.
22517         * soft-fp/negdf2.c: Likewise.
22518         * soft-fp/negsf2.c: Likewise.
22519         * soft-fp/negtf2.c: Likewise.
22520         * soft-fp/op-1.h: Likewise.
22521         * soft-fp/op-2.h: Likewise.
22522         * soft-fp/op-4.h: Likewise.
22523         * soft-fp/op-8.h: Likewise.
22524         * soft-fp/op-common.h: Likewise.
22525         * soft-fp/quad.h: Likewise.
22526         * soft-fp/single.h: Likewise.
22527         * soft-fp/soft-fp.h: Likewise.
22528         * soft-fp/sqrtdf2.c: Likewise.
22529         * soft-fp/sqrtsf2.c: Likewise.
22530         * soft-fp/sqrttf2.c: Likewise.
22531         * soft-fp/subdf3.c: Likewise.
22532         * soft-fp/subsf3.c: Likewise.
22533         * soft-fp/subtf3.c: Likewise.
22534         * soft-fp/truncdfsf2.c: Likewise.
22535         * soft-fp/trunctfdf2.c: Likewise.
22536         * soft-fp/trunctfsf2.c: Likewise.
22537         * soft-fp/trunctfxf2.c: Likewise.
22538         * soft-fp/unorddf2.c: Likewise.
22539         * soft-fp/unordsf2.c: Likewise.
22540         * soft-fp/unordtf2.c: Likewise.
22542 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22544         [BZ #15672]
22545         * misc/error.c (error_tail): Fix possible buffer overflow.
22547 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22549         [BZ #13028]
22550         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22551         address.
22553 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22555         [BZ #832]
22556         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22557         testing pipefail option.
22559 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22561         * soft-fp/double.h: Indent preprocessor directives inside #if.
22562         * soft-fp/extended.h: Likewise.
22563         * soft-fp/op-2.h: Likewise.
22564         * soft-fp/op-4.h: Likewise.
22565         * soft-fp/op-common.h: Likewise.
22566         * soft-fp/quad.h: Likewise.
22567         * soft-fp/single.h: Likewise.
22568         * soft-fp/soft-fp.h: Likewise.
22570 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22572         * iconv/iconv_prog.c: Fix typos.
22573         * stdio-common/psiginfo-data.h: Likewise.
22575 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22577         [BZ #15764]
22578         * locale/setlocale.c: Fix typo.
22580 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22582         [BZ #16036]
22583         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22584         signaling NaN arguments.
22585         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22586         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22588         [BZ #14910]
22589         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22590         unordered operands.
22591         * soft-fp/gesf2.c (__gesf2): Likewise.
22592         * soft-fp/getf2.c (__getf2): Likewise.
22593         * soft-fp/ledf2.c (__ledf2): Likewise.
22594         * soft-fp/lesf2.c (__lesf2): Likewise.
22595         * soft-fp/letf2.c (__letf2): Likewise.
22597         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22598         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22599         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22600         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22601         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22602         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22603         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22604         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22605         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22606         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22607         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22608         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22609         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22610         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22611         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22612         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22613         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22614         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22615         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22616         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22617         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22618         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22619         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22620         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22621         * soft-fp/floattidf.c (__floattidf): Likewise.
22622         * soft-fp/floattisf.c (__floattisf): Likewise.
22623         * soft-fp/floattitf.c (__floattitf): Likewise.
22624         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22625         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22626         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22627         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22628         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22629         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22630         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22631         * soft-fp/gesf2.c (__gesf2): Likewise.
22632         * soft-fp/getf2.c (__getf2): Likewise.
22633         * soft-fp/ledf2.c (__ledf2): Likewise.
22634         * soft-fp/lesf2.c (__lesf2): Likewise.
22635         * soft-fp/letf2.c (__letf2): Likewise.
22637         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22638         Undefine and redefine.
22639         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22640         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22641         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22642         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22643         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22644         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22645         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22646         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22647         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22648         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22649         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22650         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22651         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22652         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22653         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22655         [BZ #16032]
22656         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22657         without decrementing exponent if mantissa >= that for the
22658         denominator, not >.
22659         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22660         denominator, not >.  Decrement exponent in < case instead of
22661         incrementing in >= case.
22662         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22663         without decrementing exponent if mantissa >= that for the
22664         denominator, not >.
22666         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22667         computing saturated result for unsigned overflow.
22669 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22670             Jeff Law  <law@redhat.com>
22672         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22673         (atan2Mp): Add systemtap probe marker.
22674         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22675         (__ieee754_log): Add systemtap probe marker.
22676         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22677         (atanMp): Add systemtap probe marker.
22678         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22679         (tanMp): Add systemtap probe marker.
22680         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22681         (__slowexp): Add systemtap probe marker.
22682         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22683         (__slowpow): Add systemtap probe marker.
22684         * manual/probes.texi: Document probes.
22686 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22688         [BZ #15362]
22689         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22690         written.
22691         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22692         written.
22693         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22694         written to buffer but not flushed.
22695         * libio/iofwrite_u.c:  Likewise.
22696         * libio/iopadn.c:  Return bytes returned even if EOF was
22697         encountered.
22698         * libio/iowpadn.c:  Likewise.
22699         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22700         if _IO_padn does not write the whole buffer.
22701         [!COMPILE_WPRINTF] (PAD): Likewise.
22703 2013-10-10  David S. Miller  <davem@davemloft.net>
22705         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22706         directory block.
22708 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22710         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22711         instead of FSF address.
22712         * soft-fp/fixdfti.c: Likewise.
22713         * soft-fp/fixsfti.c: Likewise.
22714         * soft-fp/fixtfti.c: Likewise.
22715         * soft-fp/fixunsdfti.c: Likewise.
22716         * soft-fp/fixunssfti.c: Likewise.
22717         * soft-fp/fixunstfti.c: Likewise.
22718         * soft-fp/floattidf.c: Likewise.
22719         * soft-fp/floattisf.c: Likewise.
22720         * soft-fp/floattitf.c: Likewise.
22721         * soft-fp/floatuntidf.c: Likewise.
22722         * soft-fp/floatuntisf.c: Likewise.
22723         * soft-fp/floatuntitf.c: Likewise.
22724         * soft-fp/trunctfxf2.c: Likewise.
22726         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22727         * soft-fp/fixdfti.c: Likewise.
22728         * soft-fp/fixsfti.c: Likewise.
22729         * soft-fp/fixtfti.c: Likewise.
22730         * soft-fp/fixunsdfti.c: Likewise.
22731         * soft-fp/fixunssfti.c: Likewise.
22732         * soft-fp/fixunstfti.c: Likewise.
22733         * soft-fp/floattidf.c: Likewise.
22734         * soft-fp/floattisf.c: Likewise.
22735         * soft-fp/floattitf.c: Likewise.
22736         * soft-fp/floatuntidf.c: Likewise.
22737         * soft-fp/floatuntisf.c: Likewise.
22738         * soft-fp/floatuntitf.c: Likewise.
22739         * soft-fp/trunctfxf2.c: Likewise.
22741 2013-10-10  David S. Miller  <davem@davemloft.net>
22743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22745 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22747         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22748         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22749         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22750         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22751         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22752         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22753         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22755         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22756         for NaNs before doing comparisons on argument.
22757         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22758         Likewise.
22760 2013-10-10  Will Newton  <will.newton@linaro.org>
22762         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22763         passed to _int_memalign does not overflow.
22765 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22767         * scripts/bench.pl: Add include-sources directive.
22768         * benchtests/README: Update documentation.
22770 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22772         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22773         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22774         instead of FP_INIT_ROUNDMODE.
22775         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22776         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22778         [BZ #16034]
22779         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22780         copy class of input value.
22781         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22782         not handle exceptions.
22783         * soft-fp/negsf2.c (__negsf2): Likewise.
22784         * soft-fp/negtf2.c (__negtf2): Likewise.
22785         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22787 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22789         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22790         semicolon.  From Linux kernel.
22792 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22794         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22796 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22798         [BZ #156]
22799         * manual/socket.texi: Added statement about buffer
22800         for gethostbyname2_r.
22802 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22804         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22805         Use .p2align directive instead, throughout.
22806         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22807         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22808         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22809         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22810         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22811         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22812         * sysdeps/x86_64/strchr.S: Likewise.
22813         * sysdeps/x86_64/strrchr.S: Likewise.
22815 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22817         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22819         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22821         * sysdeps/generic/math_private.h (__mpsin1): Remove
22822         declaration.
22823         (__mpcos1): Likewise.
22824         (__mpsin): New argument __range_reduce.
22825         (__mpcos): Likewise.
22826         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22827         (slow): Use __mpsin and __mpcos.
22828         (slow1): Likewise.
22829         (slow2): Likewise.
22830         (sloww): Likewise.
22831         (sloww1): Likewise.
22832         (sloww2): Likewise.
22833         (bsloww): Likewise.
22834         (bsloww1): Likewise.
22835         (bsloww2): Likewise.
22836         (cslow2): Likewise.
22837         (csloww): Likewise.
22838         (csloww1): Likewise.
22839         (csloww2): Likewise.
22840         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22841         range_reduce.  Merge in __mpsin1.
22842         (__mpcos): Likewise.
22843         (__mpsin1): Remove.
22844         (__mpcos1): Likewise.
22846 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22848         * locale/loadlocale.c (_nl_intern_locale_data): Use
22849         LOCFILE_ALIGNED_P.
22850         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22851         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22852         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22853         obstack data is appropriately aligned.
22854         (obstack_int32_grow_fast): Likewise.
22855         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22856         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22857         (add_locale_uint32_array): Likewise.
22859 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22861         * benchtests/Makefile: Remove ARGLIST and RET variables.
22862         ($(objpfx)bench-%.c): Pass only function name to the script.
22863         * benchtests/README: Update documentation.
22864         * benchtests/acos-inputs: Add new directives.
22865         * benchtests/acosh-inputs: Likewise.
22866         * benchtests/asin-inputs: Likewise.
22867         * benchtests/asinh-inputs: Likewise.
22868         * benchtests/atan-inputs: Likewise.
22869         * benchtests/atanh-inputs: Likewise.
22870         * benchtests/cos-inputs: Likewise.
22871         * benchtests/cosh-inputs: Likewise.
22872         * benchtests/exp-inputs: Likewise.
22873         * benchtests/log-inputs: Likewise.
22874         * benchtests/pow-inputs: Likewise.
22875         * benchtests/rint-inputs: Likewise.
22876         * benchtests/sin-inputs: Likewise.
22877         * benchtests/sinh-inputs: Likewise.
22878         * benchtests/tan-inputs: Likewise.
22879         * benchtests/tanh-inputs: Likewise.
22880         * scripts/bench.pl: Add support for new directives.
22882 2013-10-07  Alan Modra  <amodra@gmail.com>
22884         * README: Fix careless merge.
22886 2013-10-05  Alan Modra  <amodra@gmail.com>
22888         * NEWS: Mention powerpc64le support and bugs fixed.
22889         * README: Both big-endian and little-endian powerpc64 supported.
22891 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22893         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22894         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22895         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22896         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22898 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22900         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22901         match prototype.
22903 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22905         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22906         Move -mhard-float appending from
22907         ports/sysdeps/powerpc/powerpc32/Makefile.
22908         [$(with-fp) = yes] (ASFLAGS): Likewise.
22909         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22910         * sysdeps/powerpc/nofpu: Move directory from
22911         ports/sysdeps/powerpc/nofpu.
22912         * sysdeps/powerpc/soft-fp: Move directory from
22913         ports/sysdeps/powerpc/soft-fp.
22914         * sysdeps/powerpc/powerpc32/405: Move directory from
22915         ports/sysdeps/powerpc/powerpc32/405.
22916         * sysdeps/powerpc/powerpc32/440: Move directory from
22917         ports/sysdeps/powerpc/powerpc32/440.
22918         * sysdeps/powerpc/powerpc32/464: Move directory from
22919         ports/sysdeps/powerpc/powerpc32/464.
22920         * sysdeps/powerpc/powerpc32/476: Move directory from
22921         ports/sysdeps/powerpc/powerpc32/476.
22922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22923         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22925         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22927         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22929         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22931         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22932         * README: Update for powerpc-*-linux-gnu software floating point
22933         support in libc.
22935         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22936         case to powerpc/powerpc32*.
22937         * sysdeps/unix/sysv/linux/configure: Regenerated.
22939         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22940         (_FPU_MASK_OM): Define as 0x04.
22941         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22942         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22943         0x00c10080.
22944         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22945         0x0000003c.
22946         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22949         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22950         getcontext_e500.
22951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22952         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22953         setcontext_e500.
22954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22955         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22956         and setcontext_e500.
22958 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22960         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22962 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22964         * manual/threads.texi (Default Thread Attributes): Fix typo.
22966 2013-10-04  Will Newton  <will.newton@linaro.org>
22968         * malloc/Makefile: Add tst-memalign.
22969         * malloc/tst-memalign.c: New file.
22971         * malloc/tst-posix_memalign.c: Add comments.
22972         (do_test): Add comments and call free on all potentially
22973         allocated pointers. Add space after cast.
22975         * malloc/tst-pvalloc.c: Add comments.
22976         (do_test): Add comments and call free on all potentially
22977         allocated pointers. Remove duplicate check for NULL pointer.
22978         Add space after cast.
22980         * malloc/tst-valloc.c: Add comments.
22981         (do_test): Add comments and call free on all potentially
22982         allocated pointers. Remove duplicate check for NULL pointer.
22983         Add space after cast.
22985 2013-10-04  Alan Modra  <amodra@gmail.com>
22987         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22988         Use stdint types in rather than __attribute__((mode())).
22989         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22991 2013-10-04  Alan Modra  <amodra@gmail.com>
22993         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22994         Correct handling of unaligned relocs for little-endian.
22995         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22997 2013-10-04  Alan Modra  <amodra@gmail.com>
22999         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23000         * configure: Regenerate.
23001         * nptl/shlib-versions: Powerpc*le starts at 2.18.
23002         * shlib-versions: Likewise.
23004 2013-10-04  Alan Modra  <amodra@gmail.com>
23006         * string/tester.c (test_memrchr): Increment reported test cycle.
23008 2013-10-04  Alan Modra  <amodra@gmail.com>
23010         * string/test-memcpy.c (do_one_test): When reporting errors, print
23011         string address and don't overrun end of string.
23013 2013-10-04  Alan Modra  <amodra@gmail.com>
23015         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23016         insrdi.  Make better use of reg selection to speed exit slightly.
23017         Schedule entry path a little better.  Remove useless "are we done"
23018         checks on entry to main loop.  Handle wrapping around zero address.
23019         Correct main loop count.  Handle single left-over word from main
23020         loop inline rather than by using loop_small.  Remove extra word
23021         case in loop_small caused by wrong loop count.  Add little-endian
23022         support.
23023         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23024         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
23025         cache hint.
23026         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23027         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23028         support.  Avoid rlwimi.
23029         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23031 2013-10-04  Alan Modra  <amodra@gmail.com>
23033         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23034         insrdi.  Formatting.
23035         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23036         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23037         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23038         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23039         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23040         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23042 2013-10-04  Alan Modra  <amodra@gmail.com>
23044         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23045         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23046         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23047         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23048         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23049         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23050         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23051         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23052         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23053         use of regs.  Use power7 mtocrf.  Tidy function tails.
23055 2013-10-04  Alan Modra  <amodra@gmail.com>
23057         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23058         Formatting.  Consistently use rXXX register defines or rN defines.
23059         Use early exit labels that avoid restoring unused non-volatile regs.
23060         Make cr field use more consistent with rWORDn compares.  Rename
23061         regs used as shift registers for unaligned loop, using rN defines
23062         for short lifetime/multiple use regs.
23063         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23064         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
23065         addi 1,1,64 to pop stack frame.  Simplify return value code.
23066         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23068 2013-10-04  Alan Modra  <amodra@gmail.com>
23070         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23071         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
23072         rather than rlwimi.
23073         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23074         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23075         little-endian support.  Correct typos.
23076         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
23077         rather than rlwimi.
23078         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
23079         in loop and entry code to keep "and." results.
23080         (strchr): Add little-endian support.  Comment.  Move cntlzd
23081         earlier in tail.
23082         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23084 2013-10-04  Alan Modra  <amodra@gmail.com>
23086         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23087         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23088         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23089         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23091 2013-10-04  Alan Modra  <amodra@gmail.com>
23093         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23094         (rTMP): Define as r11.
23095         (strcmp): Add little-endian support.  Optimise tail.
23096         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23097         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23098         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23099         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23100         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23101         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23102         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23104 2013-10-04  Alan Modra  <amodra@gmail.com>
23106         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23107         little-endian support.  Remove unnecessary "are we done" tests.
23108         Handle "s" wrapping around zero and extremely large "size".
23109         Correct main loop count.  Handle single left-over word from main
23110         loop inline rather than by using small_loop.  Correct comments.
23111         Delete "zero" tail, use "end_max" instead.
23112         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23114 2013-10-04  Alan Modra  <amodra@gmail.com>
23116         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23117         support.  Don't branch over align.
23118         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23119         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23120         support.  Rearrange tmp reg use to suit.  Comment.
23121         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23123 2013-10-04  Alan Modra  <amodra@gmail.com>
23125         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23127 2013-10-04  Alan Modra  <amodra@gmail.com>
23129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23130         conditional form of branch and link when obtaining pc.
23131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23133 2013-10-04  Alan Modra  <amodra@gmail.com>
23135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23136         HIWORD/LOWORD.
23137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23140 2013-10-04  Alan Modra  <amodra@gmail.com>
23142         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23143         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23144         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23145         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23146         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23147         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23148         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23149         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23150         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23151         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23153 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23154             Alistair Popple <alistair@ozlabs.au.ibm.com>
23155             Alan Modra <amodra@gmail.com>
23157         [BZ #15723]
23158         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23159         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23160         _dl_hwcap access for little-endian.
23161         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23162         destroy vmx regs when saving unaligned.
23163         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23164         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23165         destroy vmx regs when saving unaligned.
23167 2013-10-04  Alan Modra  <amodra@gmail.com>
23169         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23170         Don't use a union to pack hi/low value.
23172 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23174         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23175         for little-endian.
23176         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23177         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23178         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23179         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23180         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23182 2013-10-04  Alan Modra  <amodra@gmail.com>
23184         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23185         constants to usual value for .cst8 section, and remove redundant
23186         high address load.
23187         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23188         constant for 0x1p52.  Load little-endian words of double from
23189         correct stack offsets.
23191 2013-10-04  Alan Modra  <amodra@gmail.com>
23193         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23194         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23195         words of double from correct stack offsets.
23196         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23197         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23198         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23199         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23200         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23201         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23202         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23203         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23204         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23205         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23206         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23207         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23208         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23209         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23210         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23211         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23212         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23214 2013-10-04  Alan Modra  <amodra@gmail.com>
23216         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23217         64-bit int/double union.
23218         (_FPU_SETCW): Likewise.
23219         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23220         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23222 2013-10-04  Alan Modra  <amodra@gmail.com>
23224         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23225         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23227 2013-10-04  Alan Modra  <amodra@gmail.com>
23229         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23230         use vector int constants.
23231         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23233 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23235         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23236         array with long long.
23237         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23238         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23239         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23240         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23241         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23242         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23243         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23244         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23245         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23246         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23247         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23248         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23249         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23251 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23253         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23254         (__signbit): Likewise.  Correct for little-endian.
23255         (__signbitl): Call __signbit.
23256         (lrint): Correct for little-endian.
23257         (lrintf): Call lrint.
23259 2013-10-04  Alan Modra  <amodra@gmail.com>
23261         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23262         union 32-bit int array member with 64-bit int array.
23263         (t515, tm256): Double rather than long double.
23264         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23266 2013-10-04  Alan Modra  <amodra@gmail.com>
23268         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23269         Delete.
23270         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23271         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23272         version of math_ldbl.h.
23274 2013-10-04  Alan Modra  <amodra@gmail.com>
23276         [BZ #15734], [BZ #15735]
23277         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23278         all uses of ieee875 long double macros and unions.  Simplify test
23279         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23280         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23281         normalize after ldbl_extract_mantissa, and don't add hidden bit
23282         already handled.  Don't treat low word of ieee854 mantissa like
23283         low word of IBM long double and mask off bit when testing for
23284         zero.
23285         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23286         all uses of ieee875 long double macros and unions.  Simplify tests
23287         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23288         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23289         two1022, instead use their values.  Recognise that tests for large
23290         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23291         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23292         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23293         test for 0.0L and nan.  Correct negation.
23294         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23295         ieee875 long double macros and unions.  Correct output for large
23296         magnitude x.  Correct absolute value calculation.
23297         (__erfcl): Likewise.
23298         * math/libm-test.inc: Add tests for errors discovered in IBM long
23299         double versions of fmodl, remainderl, erfl and erfcl.
23301 2013-10-04  Alan Modra  <amodra@gmail.com>
23303         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23304         all uses of ieee854 long double macros and unions.  Simplify tests
23305         for long doubles that are fully specified by the high double.
23306         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23307         Likewise.
23308         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23309         Remove dead code too.
23310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23311         (__ieee754_ynl): Likewise.
23312         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23313         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23314         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23315         Remove dead code too.
23316         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23317         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23318         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23319         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23320         Simplify.
23321         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23322         Simplify.
23323         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23324         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23325         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23326         Comment on variable precision.
23327         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23328         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23329         Likewise.
23330         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23331         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23332         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23333         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23334         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23336 2013-10-04  Alan Modra  <amodra@gmail.com>
23338         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23339         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23340         all uses of ieee854 long double macros and unions.
23341         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23342         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23343         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23344         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23345         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23346         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23347         Likewise.
23348         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23349         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23350         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23351         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23352         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23353         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23354         Simplify sign and nan test too.
23355         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23356         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23357         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23358         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23359         Likewise.
23360         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23361         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23362         Likewise.
23363         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23364         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23365         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23366         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23367         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23368         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23370 2013-10-04  Alan Modra  <amodra@gmail.com>
23372         * stdio-common/printf_size.c (__printf_size): Don't use
23373         union ieee854_long_double in fpnum union.
23374         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23375         signbit macro to retrieve sign from long double.
23376         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23377         retrieve sign from long double.
23378         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23379         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23380         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23381         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23382         * math/test-misc.c (main): Don't use union ieee854_long_double.
23384 2013-10-04  Alan Modra  <amodra@gmail.com>
23386         [BZ #15680]
23387         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23388         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23389         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23390         calculation.  Remove unnecessary test for denormal exponent.
23391         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23392         Correct handling of denormals.  Avoid undefined shift behaviour.
23393         Correct normalisation of low mantissa when low double is denormal.
23394         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23395         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23396         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23397         Correct normalisation of low mantissa.  Test for overflow of high
23398         mantissa and normalise.
23399         (ldbl_nearbyint): Use more readable constant for two52.
23400         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23401         (__mpn_construct_long_double): Fix test for overflow of high
23402         mantissa and correct normalisation.  Avoid undefined shift.
23404 2013-10-04  Alan Modra  <amodra@gmail.com>
23406         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23407         (union ibm_extended_long_double): Define as an array of ieee754_double.
23408         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23409         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23410         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23411         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23413         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23414         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23415         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23416         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23417         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23418         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23420 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23422         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23423         page size instead of calling getpagesize.
23425         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23426         (LOCFILE_ALIGN_MASK): Likewise.
23427         (LOCFILE_ALIGN_UP): Likewise.
23428         (LOCFILE_ALIGNED_P): Likewise.
23429         * locale/programs/ld-collate.c (collate_output): Use the new
23430         macros instead of __alignof__ (int32_t).
23431         * locale/weight.h (findidx): Likewise.
23433 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23435         [BZ #431]
23436         * manual/string.texi: Fix strncat and wcsncat.
23438 2013-10-03  Brooks Moses  <bmoses@google.com>
23440         [BZ #15915]
23441         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23442         * Makerules: ...here, and adjust associated comments.
23444 2013-10-02  Will Newton  <will.newton@linaro.org>
23446         * malloc/Makefile: Add tst-pvalloc.
23447         * malloc/tst-pvalloc.c: New file.
23449 2013-10-02  Will Newton  <will.newton@linaro.org>
23451         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23452         improve test coverage.
23454 2013-10-02  Will Newton  <will.newton@linaro.org>
23456         * malloc/Makefile: Add tst-posix_memalign.
23457         * malloc/tst-posix_memalign.c: New file.
23459 2013-10-01  Eric Blake  <eblake@redhat.com>
23461         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23462         Use __THROWNL rather than __THROW on static functions.
23464 2013-09-30  Petr Machata  <pmachata@redhat.com>
23466         * elf/elf.h (R_AARCH64_ABS16): New macro.
23467         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23468         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23469         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23470         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23471         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23472         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23473         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23474         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23475         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23476         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23477         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23478         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23479         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23480         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23481         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23482         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23483         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23484         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23485         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23486         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23487         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23488         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23489         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23490         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23491         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23492         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23493         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23494         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23495         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23496         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23497         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23498         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23499         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23500         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23501         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23502         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23503         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23504         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23505         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23506         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23507         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23508         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23509         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23510         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23511         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23512         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23513         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23514         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23515         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23516         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23517         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23518         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23519         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23520         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23521         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23522         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23523         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23524         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23525         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23526         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23527         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23528         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23529         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23530         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23531         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23532         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23533         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23534         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23535         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23536         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23537         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23538         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23539         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23540         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23541         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23542         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23543         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23544         (R_AARCH64_TLSDESC_LDR): Likewise.
23545         (R_AARCH64_TLSDESC_ADD): Likewise.
23546         (R_AARCH64_TLSDESC_CALL): Likewise.
23548 2013-09-30  Andreas Schwab  <schwab@suse.de>
23550         [BZ #15048]
23551         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23552         the nss database lookup.
23553         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23556 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23558         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23560 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23562         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23563         ${Bash-specific parameter/pattern/string} parameter expansion.
23564         * sysdeps/unix/make-syscalls.sh: Likewise.
23566 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23568         * sysdeps/sh/stackguard-macros.h: New file.
23570 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23574         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23575         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23576         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23577         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23579 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23581         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23582         Fix thread ID register.
23584 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23586         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23587         [POSIX || UNIX98]: Require rather than permitting all symbols from
23588         <time.h>.
23589         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23590         element of struct sched_param.
23591         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23592         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23593         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23594         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23595         constant.
23597 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23599         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23600         argument calculation.
23602 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23604         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23605         Expect macro.
23606         [POSIX] (pthread_attr_t): Do not require type.
23607         [POSIX] (pthread_cond_t): Likewise.
23608         [POSIX] (pthread_condattr_t): Likewise.
23609         [POSIX] (pthread_key_t): Likewise.
23610         [POSIX] (pthread_mutex_t): Likewise.
23611         [POSIX] (pthread_mutexattr_t): Likewise.
23612         [POSIX] (pthread_once_t): Likewise.
23613         [POSIX] (pthread_t): Likewise.
23614         [POSIX-based standards] (pthread_atfork): Expect function.
23616 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23617             Richard Sandiford  <richard@codesourcery.com>
23619         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23620         (swap_endianness_p): New extern variable.
23621         (set_big_endian): New inline function.
23622         (maybe_swap_uint32): Likewise.
23623         (maybe_swap_uint32_array): Likewise.
23624         (maybe_swap_uint32_obstack): Likewise.
23625         * locale/programs/locfile.c: Include <stdbool.h>.
23626         (swap_endianness_p): New variable.
23627         (add_locale_uint32): Call maybe_swap_uint32.
23628         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23629         (write_locale_data): Call maybe_swap_uint32_array.
23630         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23631         maybe_swap_uint32.
23632         (obstack_int32_grow_fast): Likewise.
23633         (output_weightwc): Call maybe_swap_uint32_obstack.
23634         (collate_output): Likewise.
23635         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23636         (OPT_LITTLE_ENDIAN): Likewise.
23637         (options): Add --little-endian and --big-endian options.
23638         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23639         * locale/programs/locarchive.c: Include "locfile.h".
23640         (GET): New macro.
23641         (SET): Likewise.
23642         (INC): Likewise.
23643         (create_archive): Use the new macros to access fields of
23644         structures directly mapped from or written to locale archives.
23645         (oldlocrecentcmp): Likewise.
23646         (enlarge_archive): Likewise.
23647         (insert_name): Likewise.
23648         (add_alias): Likewise.
23649         (add_locale): Likewise.
23650         (delete_locales_from_archive): Likewise.
23651         (show_archive_content): Likewise.
23652         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23653         locale data.
23655 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23657         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23658         http://www.gnu.org/doc/freemanuals.texi.
23659         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23661 2013-09-24  Will Newton  <will.newton@linaro.org>
23663         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23664         macro.
23666 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23668         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23669         unsigned char.
23671 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23673         * manual/threads.texi (POSIX Threads): Fix a typo.
23675 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23677         [BZ #14547]
23678         * string/tst-strcoll-overflow.c: New test case.
23679         * string/Makefile (xtests): Add tst-strcoll-overflow.
23680         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23681         cache if string sizes may cause integer overflow.
23683         [BZ #14547]
23684         * string/strcoll_l.c (coll_seq): New members rule, idx,
23685         save_idx and back_us.
23686         (get_next_seq_nocache): New function.
23687         (do_compare_nocache): New function.
23688         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23689         when malloc fails.
23691 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23693         [BZ #15754]
23694         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23695         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23696         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23698         [BZ #15754]
23699         * elf/Makefile (tests): Add tst-ptrguard1.
23700         (tests-static): Add tst-ptrguard1-static.
23701         (tst-ptrguard1-ARGS): Define.
23702         (tst-ptrguard1-static-ARGS): Define.
23703         * elf/tst-ptrguard1.c: New file.
23704         * elf/tst-ptrguard1-static.c: New file.
23705         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23706         * sysdeps/i386/stackguard-macros.h: Likewise.
23707         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23708         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23709         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23710         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23711         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23712         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23714 2013-09-23  Hector Marco  <hecmargi@upv.es>
23715             Ismael Ripoll  <iripoll@disca.upv.es>
23716             Carlos O'Donell  <carlos@redhat.com>
23718         [BZ #15754]
23719         * sysdeps/generic/stackguard-macros.h: Define
23720         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23721         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23722         Define __pointer_chk_guard_local.
23723         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23724         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23726 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23728         [BZ #15859]
23729         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23731 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23733         * include/string.h (__ffs): Declare as hidden.
23734         * string/ffs.c (__ffs): Define as hidden.
23735         * sysdeps/i386/ffs.c (__ffs): Likewise.
23736         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23737         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23738         * sysdeps/s390/ffs.c (__ffs): Likewise.
23739         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23741 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23743         * NEWS: Mention malloc probes.
23745         * malloc/arena.c (new_heap): New memory_heap_new probe.
23746         (grow_heap): New memory_heap_more probe.
23747         (shrink_heap): New memory_heap_less probe.
23748         (heap_trim): New memory_heap_free probe.
23749         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23750         (systrim): New memory_sbrk_less probe.
23751         * manual/probes.texi: Document them.
23753         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23754         * manual/probes.texi: Document it.
23756         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23757         (__libc_realloc): Add memory_realloc_retry probe.
23758         (__libc_memalign): Add memory_memalign_retry probe.
23759         (__libc_valloc): Add memory_valloc_retry probe.
23760         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23761         (__libc_calloc): Add memory_calloc_retry probe.
23762         * manual/probes.texi: Document them.
23764         * malloc/arena.c (get_free_list): Add probe
23765         memory_arena_reuse_free_list.
23766         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23767         and memory_arena_reuse.
23768         (arena_get2) [!PER_THREAD]: Likewise.
23769         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23770         memory_arena_reuse_realloc.
23771         * manual/probes.texi: Document them.
23773         * malloc/malloc.c (__libc_free): Add
23774         memory_mallopt_free_dyn_thresholds probe.
23775         (__libc_mallopt): Add multiple memory_mallopt probes.
23776         * manual/probes.texi: Document them.
23778         * malloc/malloc.c: Include stap-probe.h.
23779         (__libc_mallopt): Add memory_mallopt probe.
23780         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23781         * manual/probes.texi: New.
23782         * manual/Makefile (chapters): Add probes.
23783         * manual/threads.texi: Set next node.
23785 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23787         [BZ #15963, #13985]
23788         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23789         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23790         Add `Chinese' to `nan' entry name.
23792 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23794         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23795         (POLYNOMIAL): Likewise.
23796         (TAYLOR_SINCOS): Likewise.
23797         (TAYLOR_SLOW): Likewise.
23798         (__sin): Use TAYLOR_SINCOS.
23799         (__cos): Likewise.
23800         (slow): Use TAYLOR_SLOW.
23801         (sloww): Likewise.
23802         (bsloww): Likewise.
23803         (csloww): Likewise.
23805 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23807         * stdlib/strtod_l.c: Fix buffer overrun.
23809 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23811         * benchtests/Makefile (bench): Add sincos.
23812         * benchtests/bench-sincos.c: New file.
23814         * math/libm-test.inc (cos_test_data): New test inputs.
23815         (sin_test_data): Likewise.
23817         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23818         macro.
23819         (__sin): Use it.
23820         (__cos): Likewise.
23821         (slow1): Likewise.
23822         (slow2): Likewise.
23823         (sloww1): Likewise.
23824         (sloww2): Likewise.
23825         (bsloww1): Likewise.
23826         (bsloww2): Likewise.
23827         (cslow2): Likewise.
23828         (csloww1): Likewise.
23829         (csloww2): Likewise.
23831         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23832         function.
23833         (__sin): Use it.
23834         (__cos): Likewise.
23836         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23837         gotos.
23838         (__cos): Likewise.
23840 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23842         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23843         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23844         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23845         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23846         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23847         * elf/cache.c (print_entry): Handle the new cache flags.
23849 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23850             Aldy Hernandez  <aldyh@redhat.com>
23852         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23853         Change condition to [_SOFT_FLOAT].
23854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23855         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23856         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23857         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23858         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23860         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23866         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23868         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23869         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23870         declaration.
23872 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23874         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23875         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23876         (__longjmp): Use LOAD_GP to load saved GPRs.
23877         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23878         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23879         (__sigsetjmp): Use SAVE_GP to save GPRs.
23881         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23882         Do not append -msoft-float.
23883         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23885 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23887         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23889 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23891         [BZ #15966]
23892         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23893         (_FPU_GETCW): Use initial "__" on variable and field names but not
23894         on macro parameter name.
23895         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23896         parentheses around reference to macro parameter.
23898 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23900         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23901         prototype.
23902         (ctype_startup): Use uint32_t in cast and sizeof for
23903         ctype->charnames.
23905 2013-09-11  Jia Liu  <proljc@gmail.com>
23907         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23908         __daddr_t_defined.
23909         [__FreeBSD__]: Likewise.
23911 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23913         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23914         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23915         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23916         (strchr): Remove __strchr_sse42 ifunc selection.
23917         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23918         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23920 2013-09-11  Will Newton  <will.newton@linaro.org>
23922         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23923         parameter to RES. Remove hardcoded 1000 value.
23924         * benchtests/bench-skeleton.c (main): Pass RES parameter
23925         to TIMING_INIT and multiply result by 1000.
23927 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23931 2013-09-11  Andreas Schwab  <schwab@suse.de>
23933         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23934         if not defined.
23935         (O_TMPFILE) [__USE_GNU]: Define.
23936         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23937         Define.
23939 2013-09-11  Will Newton  <will.newton@linaro.org>
23941         [BZ #15857]
23942         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23943         does not overflow.
23945 2013-09-11  Will Newton  <will.newton@linaro.org>
23947         [BZ #15856]
23948         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23949         does not overflow.
23951 2013-09-11  Will Newton  <will.newton@linaro.org>
23953         [BZ #15855]
23954         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23955         does not overflow.
23957 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23959         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23960         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23961         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23962         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23963         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23965 2013-09-10  Allan McRae  <allan@archlinux.org>
23967         [BZ #15748]
23968         * manual/arith.texi (Parsing of Floats): Clarify
23969         cross-reference.
23971         [BZ #15849]
23972         * manual/install.texi (Running make install): Mention
23973         --enable-pt-chown.
23974         * INSTALL: Regenerated.
23976 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23978         * csu/init-first.c (_init): Remove the !SHARED condition around
23979         FPU control word initialization.
23980         * elf/dl-support.c (_dl_fpu_control): New variable.
23981         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23982         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23983         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23984         * math/test-fpucw-static.c: New file.
23985         * math/test-fpucw-ieee.c: New file.
23986         * math/test-fpucw-ieee-static.c: New file.
23987         * math/Makefile (tests): Add `test-fpucw-ieee' and
23988         `$(tests-static)'.
23989         (tests-static): New variable.
23990         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23991         dependency to...
23992         [($(build-shared),yes)]
23993         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23994         ... this.
23995         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23996         New dependency.
23998 2013-09-09  Allan McRae  <allan@archlinux.org>
24000         [BZ #15939]
24001         * manual/string.texi (Collation Functions): Fix typo in
24002         strcoll example.
24003         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24005         [BZ #15893]
24006         * stdlib/isomac.c (get_null_defines): Fix memory leak.
24008         [BZ #15892]
24009         * libio/memstream.c (open_memstream): Fix memory leak.
24010         * libio/wmemstream.c (open_wmemstream): Likewise.
24012         [BZ #15895]
24013         * nscd/netgroupcache.c: Fix nesting of ifdefs.
24015 2013-09-09  Will Newton  <will.newton@linaro.org>
24017         * malloc/Makefile: Add tst-realloc to tests.
24018         * malloc/tst-realloc.c: New file.
24020 2013-09-09  Allan McRae  <allan@archlinux.org>
24022         [BZ #15844]
24023         * COPYING: Update from GNU website to fix FSF address.
24024         * COPYING.LIB: Likewise.
24026 2013-09-06  David S. Miller  <davem@davemloft.net>
24028         * po/zh_TW.po: Update Chinese (traditional) translation from
24029         translation project.
24031 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
24032             Joseph Myers  <joseph@codesourcery.com>
24034         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24035         "localeinfo.h".
24036         (obstack_chunk_alloc): New macro.
24037         (obstack_chunk_free): Likewise.
24038         (record_offset): New function.
24039         (init_locale_data): Likewise.
24040         (align_locale_data): Likewise.
24041         (add_locale_empty): Likewise.
24042         (add_locale_raw_data): Likewise.
24043         (add_locale_raw_obstack): Likewise.
24044         (add_locale_string): Likewise.
24045         (add_locale_wstring): Likewise.
24046         (add_locale_uint32): Likewise.
24047         (add_locale_uint32_array): Likewise.
24048         (add_locale_char): Likewise.
24049         (start_locale_structure): Likewise.
24050         (end_locale_structure): Likewise.
24051         (start_locale_prelude): Likewise.
24052         (end_locale_prelude): Likewise.
24053         (write_locale_data): Take locale_file structure rather than an
24054         iovec.
24055         * locale/programs/locfile.h: Include "obstack.h".
24056         (struct locale_file): Change to store locale file contents instead
24057         of header.
24058         (init_locale_data): New prototype.
24059         (align_locale_data): Likewise.
24060         (add_locale_empty): Likewise.
24061         (add_locale_raw_data): Likewise.
24062         (add_locale_raw_obstack): Likewise.
24063         (add_locale_string): Likewise.
24064         (add_locale_wstring): Likewise.
24065         (add_locale_uint32): Likewise.
24066         (add_locale_uint32_array): Likewise.
24067         (add_locale_char): Likewise.
24068         (start_locale_structure): Likewise.
24069         (end_locale_structure): Likewise.
24070         (start_locale_prelude): Likewise.
24071         (end_locale_prelude): Likewise.
24072         (write_locale_data): Update prototype.
24073         * locale/programs/3level.h (struct TABLE): Remove result field.
24074         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24075         Use new locale_file interface.
24076         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24077         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24078         * locale/programs/ld-address.c (address_output): Use new
24079         locale_file interface.
24080         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24081         NO_ADD_LOCALE.
24082         (collate_finish): Don't call collseq_table_finalize.
24083         (collate_output): Use new locale_file interface.
24084         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24085         in file.
24086         (NO_FINALIZE): Change to NO_ADD_LOCALE.
24087         (TABLE): Move defines earlier in file.
24088         (ELEMENT): Likewise.
24089         (DEFAULT): Likewise.
24090         (wctrans_table_add): Move macro and inline function earlier in
24091         file.
24092         (struct wctype_table): Move type earlier in file.
24093         (add_locale_wctype_table): New static prototype.
24094         (struct locale_ctype_t): Use logical types instead of struct iovec
24095         pointers for members.
24096         (ctype_output): Use new locale_file interface.
24097         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
24098         new locale_file interface.
24099         (allocate_arrays): Update for use of new locale_file interface.
24100         * locale/programs/ld-identification.c (identification_output): Use
24101         new locale_file interface.
24102         * locale/programs/ld-measurement.c (measurement_output): Likewise.
24103         * locale/programs/ld-messages.c (messages_output): Likewise.
24104         * locale/programs/ld-monetary.c (monetary_output): Likewise.
24105         * locale/programs/ld-name.c (name_output): Likewise.
24106         * locale/programs/ld-numeric.c (numeric_output): Likewise.
24107         * locale/programs/ld-paper.c (paper_output): Likewise.
24108         * locale/programs/ld-telephone.c (telephone_output): Likewise.
24109         * locale/programs/ld-time.c (time_output): Likewise.
24111 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24113         * benchtests/Makefile: Add memrchr benchmark.
24114         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24115         benchmark as memrchr.
24116         * benchtests/bench-memrchr-ifunc.c: New file.
24117         * benchtests/bench-memrchr.c: New file.
24119 2013-09-06   Will Newton  <will.newton@linaro.org>
24121         * benchtests/Makefile (string-bench): Add memcpy.
24123 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24124             Cong Wang  <amwang@redhat.com>
24126         [BZ #15850]
24127         * sysdeps/unix/sysv/linux/bits/in.h
24128         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24129         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24130         before __USE_KERNEL_IPV6_DEFS uses.
24131         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24132         IPPROTO_BEETPH.
24133         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24134         sockaddr_in6, or ipv6_mreq.
24136 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24138         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24139         memory access for final bytes in some large inputs.
24140         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24142 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24144         * string/test-memrchr.c: New file.
24145         * string/test-memrchr-ifunc.c: New file.
24146         * string/Makefile: Add new memrchr testcase.
24148 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24150         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24151         fanotify_init returns EPERM.
24153 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24155         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24156         errors.
24157         (top level): Treat second token from macro or constant entries for
24158         allowed headers as allowed.
24159         * include/complex.h: Condition internal declarations on
24160         [!_ISOMAC].
24161         * include/fenv.h: Condition include of <stdbool.h> and internal
24162         declarations on [!_ISOMAC].
24164 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24166         [BZ #15923]
24167         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24169 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24171         * configure.in (--enable-versioning): Remove configure option.
24172         (libc_cv_asm_symver_directive): Remove configure test.
24173         (libc_cv_ld_version_script_option): Likewise.
24174         (VERSIONING): Remove variable and AC_SUBST.
24175         (DO_VERSIONING): Remove AC_DEFINE.
24176         * configure: Regenerated.
24177         * config.h.in (DO_VERSIONING): Remove macro.
24178         * Makerules [$(versioning) = yes]: Change conditionals to
24179         [$(build-shared) = yes].
24180         * config.make.in (versioning): Remove variable.
24181         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24182         [$(build-shared) = yes].
24183         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24184         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24185         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24186         [$(build-shared) = yes].
24187         * extra-lib.mk [$(versioning) = yes]: Likewise.
24188         * hurd/Makefile [$(versioning) = yes]: Likewise.
24189         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24190         [SHARED].
24191         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24192         [SHARED].
24193         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24194         [SHARED && !NO_HIDDEN].
24195         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24196         [SHARED].
24197         [SHARED && DO_VERSIONING]: Likewise..
24198         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24199         [$(build-shared) = yes].
24200         * manual/install.texi (--disable-versioning): Remove
24201         documentation.
24202         * INSTALL: Regenerated.
24203         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24204         to [SHARED].
24205         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24206         [$(build-shared) = yes].
24207         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24208         * sysdeps/i386/i686/multiarch/strstr-c.c
24209         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24210         [SHARED && !NO_HIDDEN].
24211         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24212         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24213         * sysdeps/powerpc/powerpc32/dl-machine.c
24214         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24215         * sysdeps/powerpc/powerpc32/sysdep.h
24216         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24217         to [SHARED && PIC && !NO_HIDDEN].
24218         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24219         conditional to [SHARED].
24221 2013-09-04   Will Newton  <will.newton@linaro.org>
24223         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24224         * benchtests/bench-string.h: Include bench-timing.h instead
24225         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24226         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24227         call to HP_TIMING_DIFF_INIT.
24228         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24229         instead of hp-timing.h macros.
24230         * benchtests/bench-memchr.c: Likewise.
24231         * benchtests/bench-memcmp.c: Likewise.
24232         * benchtests/bench-memcpy.c: Likewise.
24233         * benchtests/bench-memmem.c: Likewise.
24234         * benchtests/bench-memmove.c: Likewise.
24235         * benchtests/bench-memset.c: Likewise.
24236         * benchtests/bench-rawmemchr.c: Likewise.
24237         * benchtests/bench-strcasecmp.c: Likewise.
24238         * benchtests/bench-strcasestr.c: Likewise.
24239         * benchtests/bench-strcat.c: Likewise.
24240         * benchtests/bench-strchr.c: Likewise.
24241         * benchtests/bench-strcmp.c: Likewise.
24242         * benchtests/bench-strcpy.c: Likewise.
24243         * benchtests/bench-strcpy_chk.c: Likewise.
24244         * benchtests/bench-strlen.c: Likewise.
24245         * benchtests/bench-strncasecmp.c: Likewise.
24246         * benchtests/bench-strncat.c: Likewise.
24247         * benchtests/bench-strncmp.c: Likewise.
24248         * benchtests/bench-strncpy.c: Likewise.
24249         * benchtests/bench-strnlen.c: Likewise.
24250         * benchtests/bench-strpbrk.c: Likewise.
24251         * benchtests/bench-strrchr.c: Likewise.
24252         * benchtests/bench-strspn.c: Likewise.
24253         * benchtests/bench-strstr.c: Likewise.
24255 2013-09-04  Will Newton  <will.newton@linaro.org>
24257         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24259 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24261         [BZ #15427]
24262         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24263         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24264         * math/libm-test.inc (lgamma_test_data): Add more tests.
24265         * sysdeps/i386/fpu/libm-test-ulps: Update.
24266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24268 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24270         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24271         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24272         Add ifunc.
24273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24274         Add strcmp-sse2-unaligned
24275         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24277 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24279         * Versions.def (libc): Add GLIBC_2.19.
24281 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24283         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24284         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24286 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24288         [BZ #14155]
24289         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24290         intermediate calculations in recurrence.
24291         (__ieee754_ynf): Likewise.
24292         * math/libm-test.inc (jn_test_data): Do not allow spurious
24293         underflow exception.  Add more tests.
24294         (yn_test_data): Add more tests.
24295         * sysdeps/i386/fpu/libm-test-ulps: Update.
24296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24298 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24300         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24302 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24304         * csu/init-first.c: Fix then/than typos.
24305         * locale/programs/ld-collate.c: Likewise.
24306         * locale/programs/linereader.h: Likewise.
24307         * manual/charset.texi: Likewise.
24308         * manual/filesys.texi: Likewise.
24309         * manual/stdio.texi: Likewise.
24310         * manual/string.texi: Likewise.
24311         * stdlib/fmtmsg.c: Likewise.
24312         * sysdeps/i386/stpncpy.S: Likewise.
24313         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24314         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24315         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24316         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24318 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24320         * elf/dl-open.c: Fix typos.
24321         * iconvdata/gbbig5.c: Likewise.
24322         * iconvdata/iso-2022-jp.c: Likewise.
24323         * iconv/gconv_int.h: Likewise.
24324         * iconv/loop.c: Likewise.
24325         * nis/rpcsvc/nis.h: Likewise.
24326         * resolv/ns_name.c: Likewise.
24327         * stdio-common/vfscanf.c: Likewise.
24328         * streams/stropts.h: Likewise.
24329         * sunrpc/rpc_thread.c: Likewise.
24330         * sysdeps/i386/strpbrk.S: Likewise.
24331         * sysdeps/ieee754/k_standard.c: Likewise.
24332         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24333         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24334         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24335         * sysdeps/mach/hurd/profil.c: Likewise.
24336         * sysdeps/s390/dl-procinfo.h: Likewise.
24337         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24338         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24339         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24340         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24341         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24343 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24345         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24346         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24348 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24350         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24351         aix specific files.
24352         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24353         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24354         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24355         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24356         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24357         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24358         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24359         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24361 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24362             Roland McGrath  <roland@hack.frob.com>
24364         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24365         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24367 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24369         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24370         __executable_start symbol instead of _start.
24372 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24374         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24375         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24376         Move macros to...
24377         * sysdeps/gnu/ldsodefs.h: ... this new file.
24379         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24380         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24381         instead of ELFOSABI_LINUX.
24383         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24384         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24385         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24386         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24387         Likewise.
24388         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24389         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24390         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24391         Likewise.
24392         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24393         (ibm_extended_long_double): Add ieee_nan member.
24394         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24395         (do_test): New function.
24397         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24398         TEST_TRUNC.
24399         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24400         functions, renamed from truncdfsf_test, trunctfsf_test,
24401         trunctfdf_test.
24402         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24403         functions.
24404         (do_test): Run all these.
24406 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24408         * argp/argp-help.c: Fix typos.
24409         * argp/argp-parse.c: Likewise.
24410         * debug/backtracesyms.c: Likewise.
24411         * elf/elf.h: Likewise.
24412         * malloc/malloc.c: Likewise.
24413         * nis/nis_print.c: Likewise.
24414         * resolv/res_comp.c: Likewise.
24415         * stdlib/stdlib.h: Likewise.
24416         * sunrpc/clnt_tcp.c: Likewise.
24417         * sunrpc/clnt_udp.c: Likewise.
24418         * sunrpc/clnt_unix.c: Likewise.
24419         * sysdeps/unix/bsd/ptsname.c: Likewise.
24420         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24421         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24423         Likewise.
24424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24425         Likewise.
24426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24427         Likewise.
24428         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24430 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24432         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24435 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24437         [BZ #15897]
24438         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24439         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24440         ($(objpfx)bug-dl-leaf): New rule.
24441         ($(objpfx)bug-dl-leaf.so): Likewise.
24442         ($(objpfx)bug-dl-leaf.out): Likewise.
24443         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24444         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24445         * dlfcn/bug-dl-leaf.c: New test.
24446         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24447         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24448         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24449         (dlclose): Likewise.
24450         (dlmopen): Likewise.
24452 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24454         * include/netdb.h [!_ISOMAC]:
24455         Don't include <tls.h>.
24456         (h_errno, __libc_h_errno): Move declaration and macros out of
24457         [_LIBC_REENTRANT].
24459         * include/resolv.h [_RESOLV_H_]:
24460         Don't include <tls.h>.
24461         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24462         * resolv/res_libc.c: Don't include <tls.h>.
24463         (_res): Use __attribute__ ((nocommon)) in place of
24464         __attribute__ ((section (".bss"))).
24466         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24467         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24469         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24471         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24472         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24474         * resolv/res_mkquery.c: Include <sys/time.h>.
24476         * inet/ifreq.c: Moved to ...
24477         * sysdeps/unix/ifreq.c: ... here.
24478         * inet/ifreq.c: New file, true stub version.
24480         * socket/sa_len.c: New file.
24481         * socket/Makefile (aux): Add it.
24482         * sysdeps/unix/sysv/linux/Makefile
24483         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24484         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24485         and #include <socket/sa_len.c>.
24486         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24487         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24489         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24490         * bits/socket.h: ... here.
24492         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24493         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24494         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24496 2013-08-27  Andreas Schwab  <schwab@suse.de>
24498         [BZ #15736]
24499         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24500         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24501         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24502         * string/test-strcasecmp.c (test_main): Run tests in several
24503         locales.
24504         * string/test-strncasecmp.c (test_main): Likewise.
24506         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24507         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24508         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24509         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24510         (__strncasecmp_ssse3) [PIC]: Likewise.
24512 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24514         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24516         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24517         instead of explicitly declaring xdecrypt.
24518         * nis/nss_nis/nis-publickey.c: Likewise.
24520 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24522         [BZ #15890]
24523         * nscd/aicache.c: Include res_hconf.h.
24524         (addhstaiX): Initialize res_hconf.
24526 2013-08-26  Andreas Schwab  <schwab@suse.de>
24528         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24529         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24531 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24533         * nscd/aicache.c (addhstaiX): Fix indentation.
24535 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24537         * configure.ac: Quote $build_pt_chown test.
24538         * configure: Regenerated.
24540 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24542         [BZ #15532]
24543         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24544         * math/s_cexpf.c (__cexpf): Likewise.
24545         * math/s_cexpl.c (__cexpl): Likewise.
24546         * math/libm-test.inc (cexp_test_data): Correct expected return
24547         value for NaN + i0.  Add another test.
24549 2013-08-22  David S. Miller  <davem@davemloft.net>
24551         * po/ca.po: Update Catalan translation from translation project.
24552         * po/uk.po: Add Ukrainian translations from translation project.
24554 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24556         [BZ #15797]
24557         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24558         is infinite, not alongside NaN test.
24559         * math/s_fdimf.c (__fdimf): Likewise.
24560         * math/s_fdiml.c (__fdiml): Likewise.
24561         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24562         errno is unchanged.
24564 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24566         * argp/argp-help.c: Fix typos.
24567         * crypt/speeds.c: Likewise.
24568         * csu/check_fds.c: Likewise.
24569         * elf/dl-load.c: Likewise.
24570         * elf/dl-open.c: Likewise.
24571         * elf/reldep3.c: Likewise.
24572         * elf/reldep.c: Likewise.
24573         * elf/sprof.c: Likewise.
24574         * iconv/iconv_charmap.c: Likewise.
24575         * iconv/skeleton.c: Likewise.
24576         * iconv/strtab.c: Likewise.
24577         * io/lockf64.c: Likewise.
24578         * libio/libioP.h: Likewise.
24579         * resolv/gai_notify.c: Likewise.
24580         * resolv/ns_name.c: Likewise.
24581         * resolv/ns_samedomain.c: Likewise.
24582         * resolv/res_send.c: Likewise.
24583         * stdlib/random.c: Likewise.
24584         * sunrpc/rpc/xdr.h: Likewise.
24585         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24586         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24587         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24588         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24589         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24590         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24591         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24592         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24593         * sysdeps/mach/hurd/check_fds.c: Likewise.
24594         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24595         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24596         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24597         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24598         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24599         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24600         * sysdeps/pthread/aio_notify.c: Likewise.
24601         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24602         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24603         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24604         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24605         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24607 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24609         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24610         version if bit_Slow_SSE4_2 is set.
24611         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24612         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24614 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24616         [BZ #15867]
24617         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24618         trampoline stack frame information.
24619         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24620         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24621         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24622         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24623         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24624         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24625         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24626         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24627         sa_flags value.
24628         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24629         interrupting a syscall and set with option SA_SIGINFO.
24631 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24633         [BZ #15531]
24634         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24635         argument is infinite.
24636         * math/s_cprojf.c (__cprojf): Likewise.
24637         * math/s_cprojl.c (__cprojl): Likewise.
24638         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24639         * math/libm-test.inc (cproj_test_data): Add more tests.
24641         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24643         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24644         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24645         size.  Use __ffs to determine corresponding shift.
24647 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24648             Roland McGrath  <roland@hack.frob.com>
24650         * Makefile (INSTALL): Remove trailing blank lines from output of
24651         makeinfo.
24653 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24655         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24656         Align 32 bit compat elf_greg to 8 bytes.
24658 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24660         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24662 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24664         * string/strcoll_l.c (coll_seq): New structure.
24665         (get_next_seq_cached): New function.
24666         (get_next_seq): New function.
24667         (do_compare): New function.
24668         (STRCOLL): Use GNU style definition.  Simplify implementation
24669         by using get_next_seq, get_next_seq_cached and do_compare.
24671 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24673         [BZ #14699]
24674         CVE-2013-4237
24675         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24676         member.
24677         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24678         member.
24679         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24680         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24681         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24682         conditional.
24683         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24684         GETDENTS_64BIT_ALIGNED.
24685         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24686         * manual/filesys.texi (Reading/Closing Directory): Document
24687         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24688         strongly.
24689         * manual/conf.texi (Limits for Files): Add portability note to
24690         NAME_MAX, PATH_MAX.
24691         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24693 2013-08-13  Andreas Schwab  <schwab@suse.de>
24695         [BZ #15749]
24696         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24697         of fabs.
24698         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24699         LDBL_MAX_EXP >= 16384]: Add tests for it.
24701 2013-08-12  David S. Miller  <davem@davemloft.net>
24703         * version.h (RELEASE): Set to "development".
24704         (VERSION): Set to "2.18.90".
24705         * NEWS: Add 2.19 section.
24707 2013-08-03  David S. Miller  <davem@davemloft.net>
24709         * po/ko.po: Update Korean translation from translation project.
24711 2013-08-01  David S. Miller  <davem@davemloft.net>
24713         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24714         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24715         Bilka.
24717 2013-07-30  David S. Miller  <davem@davemloft.net>
24719         * po/fr.po: Update French translation from translation project.
24721 2013-07-28  David S. Miller  <davem@davemloft.net>
24723         * po/cs.po: Update Czech translation from translation project.
24725         * po/sv.po: Update Swedish translation from translation project.
24727 2013-07-27  David S. Miller  <davem@davemloft.net>
24729         * po/eo.po: Update Esperanto translation from translation project.
24731         * po/vi.po: Update Vietnamese translation from translation project.
24733         * po/de.po: Update German translation from translation project.
24735 2013-07-26  David S. Miller  <davem@davemloft.net>
24737         * po/bg.po: Update Bulgarian translation from translation project.
24739         * po/nl.po: Update Dutch translation from translation project.
24740         * po/pl.po: Update Polish translation from translation project.
24741         * po/ru.po: Update Russian translation from translation project.
24743 2013-07-24  David S. Miller  <davem@davemloft.net>
24745         * po/libc.pot: Update.
24747 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24749         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24750         variable page size.
24751         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24752         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24753         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24755 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24757         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24759 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24760             Andreas Schwab  <schwab@suse.de>
24761             Roland McGrath  <roland@hack.frob.com>
24762             Joseph Myers  <joseph@codesourcery.com>
24763             Carlos O'Donell  <carlos@redhat.com>
24765         [BZ #15755]
24766         * config.h.in: Define HAVE_PT_CHOWN.
24767         * config.make.in (build-pt-chown): New variable.
24768         * configure.in (--enable-pt_chown): New configure option.
24769         * configure: Regenerate.
24770         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24771         build-pt-chown is enabled.
24772         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24773         pt_chown to fix pty ownership.
24774         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24775         CLOSE_ALL_FDS.
24776         * manual/install.texi (Configuring and compiling): Mention
24777         --enable-pt_chown. Add @findex for grantpt.
24778         * INSTALL: Regenerate.
24780 2013-07-20  David S. Miller  <davem@davemloft.net>
24782         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24783         difference between 32-bit and 64-bit.
24785 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24787         [BZ #15711]
24788         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24789         Avoid system header dependency with -ffreestanding.
24790         ($(objpfx)bits/syscall%d): Likewise.
24792 2013-07-13  David S. Miller  <davem@davemloft.net>
24794         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24795         underflows from atanl/atan2l due to bug 15319.
24796         (casinh_test_data): Likewise.
24798 2013-07-07  David S. Miller  <davem@davemloft.net>
24800         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24802 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24804         * sysdeps/i386/fpu/libm-test-ulps: Update.
24805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24807 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24809         * configure.in (--enable-lock-elision): Fix message text.
24810         * INSTALL: Regenerate.
24811         * configure: Regenerate.
24813 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24817 2013-07-03  Andreas Jaeger  <aj@suse.de>
24819         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24820         define.
24821         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24822         (ptrace_peeksiginfo_args): Add.
24823         (__ptrace_peeksiginfo_flags): Add.
24824         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24825         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24828 2013-07-03  Allan McRae  <allan@archlinux.org>
24830         * sysdeps/i386/fpu/libm-test-ulps: Update.
24832 2013-07-02  David S. Miller  <davem@davemloft.net>
24834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24836 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24838         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24840 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24842         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24845 2013-07-02  Andi Kleen <ak@linux.intel.com>
24847         * config.h.in (ENABLE_LOCK_ELISION): Add.
24848         * configure.in (--enable-lock-elision): Add option.
24849         * manual/install.texi: Document --enable lock elision.
24850         * configure: Regenerate
24851         * INSTALL: Regenerate.
24853 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24855         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24856         SSE4.2 strcasecmp for libc.a.
24857         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24859 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24861         [BZ #13304]
24862         * soft-fp/op-common.h (_FP_FMA): New macro.
24863         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24864         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24865         (_FP_MUL_MEAT_1_imm): ... here.
24866         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24867         (_FP_MUL_MEAT_1_wide): ... here.
24868         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24869         (_FP_MUL_MEAT_1_hard): ... here.
24870         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24871         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24872         (_FP_MUL_MEAT_2_wide): ... here.
24873         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24874         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24875         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24876         (_FP_MUL_MEAT_2_gmp): ... here.
24877         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24878         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24879         (_FP_MUL_MEAT_4_wide): ... here.
24880         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24881         (_FP_MUL_MEAT_4_gmp): ... here.
24882         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24883         (_FP_WFRACBITS_DW_S): Likewise.
24884         (_FP_WFRACXBITS_DW_S): Likewise.
24885         (_FP_HIGHBIT_DW_S): Likewise.
24886         (FP_FMA_S): Likewise.
24887         (_FP_FRAC_HIGH_DW_S): Likewise.
24888         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24889         (_FP_WFRACBITS_DW_D): Likewise.
24890         (_FP_WFRACXBITS_DW_D): Likewise.
24891         (_FP_HIGHBIT_DW_D): Likewise.
24892         (FP_FMA_D): Likewise.
24893         (_FP_FRAC_HIGH_DW_D): Likewise.
24894         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24895         (_FP_WFRACBITS_DW_E): Likewise.
24896         (_FP_WFRACXBITS_DW_E): Likewise.
24897         (_FP_HIGHBIT_DW_E): Likewise.
24898         (FP_FMA_E): Likewise.
24899         (_FP_FRAC_HIGH_DW_E): Likewise.
24900         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24901         (_FP_WFRACBITS_DW_Q): Likewise.
24902         (_FP_WFRACXBITS_DW_Q): Likewise.
24903         (_FP_HIGHBIT_DW_Q): Likewise.
24904         (FP_FMA_Q): Likewise.
24905         (_FP_FRAC_HIGH_DW_Q): Likewise.
24906         * soft-fp/fmasf4.c: New file.
24907         * soft-fp/fmadf4.c: Likewise.
24908         * soft-fp/fmatf4.c: Likewise.
24910 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24912         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24913         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24914         Silvermont.
24915         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24916         macro.
24917         (index_Slow_SSE4_2): Likewise.
24918         (index_Prefer_PMINUB_for_stringop): Likewise.
24919         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24920         bit_Slow_SSE4_2 is set.
24921         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24922         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24924 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24926         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24927         rtld_global._dl_hwcap2.
24928         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24929         POWER8.
24930         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24931         POWER8 feature descriptions defined in _dl_hwcap2.
24932         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24933         string handling for POWER8 feature bits.
24934         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24935         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24936         _dl_powerpc_cap_flags.
24937         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24938         * sysdeps/powerpc/rtld-global-offsets.sym
24939         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24940         _dl_hwcap2 in the rtld_global_ro structure.
24942 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24944         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24945         hardware capabilities in support of AT_HWCAP2.
24946         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24947         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24948         GLRO(dl_hwcap2).
24949         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24950         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24951         explicitly the unknown a_type display mechanism is used.
24952         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24953         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24954         struct member.
24955         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24956         to macro prototype for AT_HWCAP2 support.
24957         * sysdeps/i386/dl-procinfo.h: Likewise.
24958         * sysdeps/s390/dl-procinfo.h: Likewise.
24959         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24960         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24961         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24962         return -1 for unknown a_type display fallback.
24963         * sysdeps/sparc/dl-procinfo.h: Likewise.
24964         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24965         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24967 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24969         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24970         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24972 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24974         [BZ #12492]
24975         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24976         mprotect making __stack_prot writable.
24978 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24979             Joseph Myers  <joseph@codesourcery.com>
24981         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24982         as being properly aligned.
24984 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24986         * dlfcn/modstatic5.c: New file.
24987         * dlfcn/tststatic5.c: New file.
24988         * dlfcn/Makefile (tests): Add tststatic5.
24989         (tests-static): Likewise.
24990         (modules-names): Add modstatic5.
24991         (tststatic5-ENV): New variable.
24992         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24994         [BZ #15022]
24995         * elf/dl-support.c (_dl_main_map): New variable.
24996         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24997         (_dl_nns, _dl_load_adds): Set to 1.
24998         (_dl_initial_searchlist): Refer to _dl_main_map.
24999         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25000         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25001         call to _dl_get_origin.
25002         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25003         around call_map.
25004         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25005         * dlfcn/modstatic3.c: New file.
25006         * dlfcn/tststatic3.c: New file.
25007         * dlfcn/tststatic4.c: New file.
25008         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25009         (tests-static): Likewise.
25010         (modules-names): Add modstatic3.
25011         (tststatic3-ENV, tststatic4-ENV): New variables.
25012         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25013         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25015 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
25017         * configure.in (CC): Require GCC version 4.4 or later.
25018         * configure: Regenerated.
25019         * manual/install.texi (Tools for Compilation): Update GCC version
25020         requirement.
25021         * INSTALL: Regenerated.
25023 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25025         [BZ #15674]
25026         * string/test-memcmp.c (check2): New.
25027         (main): Call check2.
25029         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25031 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
25033         [BZ #15022]
25034         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25035         over to...
25036         (dl_open_worker) [!SHARED]: ... here.
25038 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25040         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25042 2013-06-25  Richard Henderson  <rth@redhat.com>
25044         * locale/programs/locarchive.c: Include <libc-internal.h>
25046 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
25048         * manual/texinfo.tex: Update to version 2013-06-21.17, with
25049         trailing whitespace removed.
25051 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25053         [BZ #10283]
25054         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25055         * locale/programs/locarchive.c: Include libc-mmap.h.
25056         (prepare_address_space): Take two new outputs (the mmap base and len).
25057         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
25058         values.
25059         (create_archive): Declare new mmap base and len values for
25060         prepare_address_space, and store the result in ah.
25061         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25062         (enlarge_archive): If ah->mmap_base is not NULL, use that and
25063         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25064         Declare new mmap base and len values for
25065         prepare_address_space, and store the result in new_ah.
25066         (open_archive): Declare new mmap base and len values for
25067         prepare_address_space, and store the result in ah.
25068         (close_archive): If ah->mmap_base is not NULL, use that and
25069         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25070         * sysdeps/generic/libc-mmap.h: New file.
25072 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25074         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25075         (ALIGN_UP): Likewise.
25076         (PTR_ALIGN_DOWN): Likewise.
25077         (PTR_ALIGN_UP): Likewise.
25079 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25081         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25082         entry mapped to PPC_PLATFORM_POWER8.
25083         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25084         POWER8.
25085         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25086         (_dl_string_platform): Add case for exporting platform position for
25087         POWER8.
25088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25089         search path to sysdeps/powerpc/powerpc32/power8 directory.
25090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25091         search path to sysdeps/powerpc/powerpc64/power8 directory.
25092         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25093         power7 directories.
25094         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25095         power7 directories.
25097 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25099         * INSTALL: Regenerate.
25101         * nscd/connections.c (nscd_init): Fix comment.
25103 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
25105         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25107         [BZ #15667]
25108         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25109         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25111 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25113         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25114         DL_DST_REQ_STATIC.
25115         (DL_DST_REQ_STATIC): Remove macro.
25117 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25119         [BZ #7006]
25120         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25121         with a shift of 0 bits.
25123 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25125         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25126         $(tststatic-ENV).
25128 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25130         [BZ #15655]
25131         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25133 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25135         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25136         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25137         accepts -fno-tree-loop-distribute-patterns.
25138         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25139         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25140         recursive call.
25141         * string/memset.c (memset): Likewise.
25142         * string/test-memmove.c (simple_memmove): Disable loop transformation
25143         to library calls.
25144         * string/test-memset.c (simple_memset): Likewise.
25145         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25146         * benchtests/bench-memset.c (simple_memset): Likewise.
25147         * configure: Regenerated.
25149 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25151         * math/test-misc.c (main): Ignore fesetround failure when failures
25152         of subsequent rounding tests would be ignored.
25154         [BZ #15654]
25155         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25156         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25157         * math/fegetenv.c (__fegetenv): Return 0.
25158         * math/fegetexcept.c (fegetexcept): Return 0.
25159         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25160         FE_TONEAREST.
25161         * math/feholdexcpt.c (feholdexcept): Return 0.
25162         * math/fesetenv.c (__fesetenv): Return 0.
25163         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25164         argument FE_TONEAREST.
25165         * math/feupdateenv.c (__feupdateenv): Return 0.
25166         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25168 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25170         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25171         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25172         ($(objpfx)rtld-%.os rules): Use them.
25174 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25176         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25177         fields.
25179 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25181         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25182         length of target pattern, then descending length of dependency pattern.
25183         * configure.in (AWK): Require gawk 3.1.2 or newer.
25184         * manual/install.texi (Tools for Compilation): Say that we do.
25185         * configure: Regenerated.
25187         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25188         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25189         * scripts/sysd-rules.awk: ... this new script.
25190         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25191         than a glob-style pattern.
25193 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25195         * math/test-misc.c (main): Do not treat incorrectly rounded
25196         conversions as failure unless ROUNDING_TESTS passes.
25198 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25200         [BZ #15631]
25201         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25202         restore exception state around main square root computation, then
25203         check for inexactness explicitly.
25205         * math/libm-test.inc (fma_test_data): Add another test.
25207 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25209         * manual/threads.texi (Non-POSIX Extensions): New document
25210         node.  Document pthread_getattr_default_np and
25211         pthread_setattr_default_np.
25213         * Versions.def (libpthread): Add GLIBC_2.18.
25214         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25216         Likewise.
25217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25218         Likewise.
25219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25220         Likewise.
25221         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25222         Likewise.
25223         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25224         Likewise.
25225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25226         Likewise.
25227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25228         Likewise.
25229         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25230         Likewise.
25231         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25232         Likewise.
25234 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25236         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25237         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25239 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25240             H.J. Lu  <hjl.tools@gmail.com>
25242         [BZ #15627]
25243         * sysdeps/x86_64/rtld-memset.c: Remove file.
25244         * sysdeps/x86_64/rtld-memset.S: New file.
25246 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25248         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25249         (test_in_one_mode): Take arguments for whether the rounding mode
25250         is supported for each floating-point type.
25251         (do_test): Pass new arguments to test_in_one_mode using
25252         ROUNDING_TESTS.
25254 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25256         * posix/tst-waitid.c (do_test): Distinguish different instances of
25257         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25258         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25259         before entering the kernel for waitpid.
25261 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25263         * NEWS: Fix note on clock function precision.  Text by Roland
25264         McGrath.
25266 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25268         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25269         it into place only when and if the sanity check passes.
25271 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25273         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25274         output for whether conversion result is exact.  Take argument
25275         indicating whether type is IBM long double.
25276         (round_for_all): Change need_exact field to ibm_ld.
25277         * stdlib/tst-strtod-round.c (struct exactness): New type.
25278         (struct test): Change bool ld_ok field to struct exactness exact.
25279         (TEST): Update all definitions for change to field.
25280         (tests): Regenerate array contents.
25281         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25282         field value.  Check for IBM long double here.
25283         (do_test): Update calls to test_in_one_mode.
25285 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25287         [BZ #12515]
25288         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25289         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25291 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25293         [BZ #15605]
25294         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25295         generated by the compiler on loop optimizations.
25296         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25297         general definitions.
25299 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25301         * math/bug-nextafter.c: Include <math-tests.h>.
25302         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25303         the relevant type.
25304         * math/bug-nexttoward.c: Include <math-tests.h>.
25305         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25306         the relevant type.
25307         * math/test-misc.c: Include <math-tests.h>.
25308         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25309         the relevant type.
25311 2013-06-12  Andreas Jaeger  <aj@suse.de>
25313         * po/ia.po: Update Interlingua translation from translation
25314         project.
25316 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25318         * include/fenv.h: Include stdbool.h.
25319         (struct rm_ctx): New structure.
25320         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25321         Define macro.
25322         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25323         (SET_RESTORE_ROUNDF): Likewise.
25324         (SET_RESTORE_ROUNDL): Likewise.
25325         (SET_RESTORE_ROUND_NOEX): Likewise.
25326         (SET_RESTORE_ROUND_NOEXF): Likewise.
25327         (SET_RESTORE_ROUND_NOEXL): Likewise.
25328         (SET_RESTORE_ROUND_53BIT): Likewise.
25329         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25330         (libc_feresetround_noexf_ctx): Likewise.
25331         (libc_feresetround_noexl_ctx): Likewise.
25332         (libc_feholdsetround_53bit_ctx): Likewise.
25333         (libc_feresetround_53bit_ctx): Likewise.
25334         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25335         (libc_feholdexcept_setround_sse_ctx): New function.
25336         (libc_fesetenv_sse_ctx): Likewise.
25337         (libc_feupdateenv_sse_ctx): Likewise.
25338         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25339         (libc_feholdexcept_setround_387_ctx): Likewise.
25340         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25341         (libc_feholdsetround_387_prec_ctx): Likewise.
25342         (libc_feholdsetround_387_ctx): Likewise.
25343         (libc_feholdsetround_387_53bit_ctx): Likewise.
25344         (libc_feholdsetround_sse_ctx): Likewise.
25345         (libc_feresetround_sse_ctx): Likewise.
25346         (libc_feresetround_387_ctx): Likewise.
25347         (libc_feupdateenv_387_ctx): Likewise.
25348         (libc_feholdexcept_setroundf_ctx): Define macro.
25349         (libc_fesetenvf_ctx): Likewise.
25350         (libc_feupdateenvf_ctx): Likewise.
25351         (libc_feholdsetroundf_ctx): Likewise.
25352         (libc_feresetroundf_ctx): Likewise.
25353         (libc_feholdexcept_setround_ctx): Likewise.
25354         (libc_fesetenv_ctx): Likewise.
25355         (libc_feupdateenv_ctx): Likewise.
25356         (libc_feholdsetround_ctx): Likewise.
25357         (libc_feresetround_ctx): Likewise.
25358         (libc_feholdexcept_setroundl_ctx): Likewise.
25359         (libc_feupdateenvl_ctx): Likewise.
25360         (libc_feholdsetroundl_ctx): Likewise.
25361         (libc_feresetroundl_ctx): Likewise.
25362         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25363         (libc_feresetround_53bit_ctx): Likewise.
25365 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25367         * locale/iso-639.def: Convert to UTF-8.
25369 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25371         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25372         (EXCEPTION_TESTS_double): Likewise.
25373         (EXCEPTION_TESTS_long_double): Likewise.
25374         (EXCEPTION_TESTS): Likewise.
25375         * math/libm-test.inc (test_exceptions): Only test exceptions if
25376         EXCEPTION_TESTS (FLOAT).
25378 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25380         * benchtests/Makefile (string-bench): Add strcpy_chk and
25381         stpcpy_chk.
25382         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25383         * benchtests/bench-stpcpy_chk.c: New file.
25384         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25385         * benchtests/bench-strcpy_chk.c: New file.
25386         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25387         code.
25388         (do_test): Likewise.
25390 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25392         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25393         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25394         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25395         with tabs where appropriate.
25396         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25397         dl-procinfo.h.
25398         [PPC_PLATFORM_PPC440]: Likewise.
25399         [PPC_PLATFORM_PPC464]: Likewise.
25400         [PPC_PLATFORM_PPC476]: Likewise.
25401         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25402         ppc464, and ppc476 platform strings merging from ports/
25403         dl-procinfo.h.
25405 2013-06-11  Andreas Schwab  <schwab@suse.de>
25407         [BZ #14991]
25408         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25409         (from_ucs4_idx): Regenerate.
25410         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25411         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25412         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25413         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25414         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25415         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25416         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25417         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25418         from FROM_LOOP and TO_LOOP specific macros.
25419         (BODY): Handle combining characters.
25420         * iconvdata/BIG5HKSCS.irreversible: Update.
25421         * iconvdata/BIG5HKSCS.precomposed: New file.
25422         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25423         characters.
25424         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25426 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25428         * include/sys/time.h: Fix indentation and add copyright header.
25430         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25431         (do_test): Likewise.
25432         * string/test-memchr.c (do_one_test): Likewise.
25433         (do_test): Likewise.
25434         * string/test-memcmp.c (do_one_test): Likewise.
25435         (do_test): Likewise.
25436         * string/test-memcpy.c (do_one_test): Likewise.
25437         (do_test): Likewise.
25438         * string/test-memmem.c (do_one_test): Likewise.
25439         (do_test): Likewise.
25440         (do_random_tests): Likewise.
25441         * string/test-memmove.c (do_one_test): Likewise.
25442         (do_test): Likewise.
25443         * string/test-memset.c (do_one_test): Likewise.
25444         (do_test): Likewise.
25445         * string/test-rawmemchr.c (do_one_test): Likewise.
25446         (do_test): Likewise.
25447         * string/test-strcasecmp.c (do_one_test): Likewise.
25448         (do_test): Likewise.
25449         * string/test-strcasestr.c (do_one_test): Likewise.
25450         (do_test): Likewise.
25451         * string/test-strcat.c (do_one_test): Likewise.
25452         (do_test): Likewise.
25453         * string/test-strchr.c (do_one_test): Likewise.
25454         (do_test): Likewise.
25455         * string/test-strcmp.c (do_one_test): Likewise.
25456         (do_test): Likewise.
25457         * string/test-strcpy.c (do_one_test): Likewise.
25458         (do_test): Likewise.
25459         * string/test-string.h: Likewise.
25460         (test_init): Likewise.
25461         * string/test-strlen.c (do_one_test): Likewise.
25462         (do_test): Likewise.
25463         * string/test-strncasecmp.c (do_one_test): Likewise.
25464         (do_test): Likewise.
25465         * string/test-strncat.c (do_one_test): Likewise.
25466         (do_test): Likewise.
25467         * string/test-strncmp.c (do_one_test): Likewise.
25468         (do_test_limit): Likewise.
25469         (do_test): Likewise.
25470         * string/test-strncpy.c (do_one_test): Likewise.
25471         (do_test): Likewise.
25472         * string/test-strnlen.c (do_one_test): Likewise.
25473         (do_test): Likewise.
25474         * string/test-strpbrk.c (do_one_test): Likewise.
25475         (do_test): Likewise.
25476         * string/test-strrchr.c (do_one_test): Likewise.
25477         (do_test): Likewise.
25478         * string/test-strspn.c (do_one_test): Likewise.
25479         (do_test): Likewise.
25480         * string/test-strstr.c (do_one_test): Likewise.
25481         (do_test): Likewise.
25483         * benchtests/Makefile (string-bench): Add string benchmarks.
25484         * benchtests/bench-bcopy-ifunc.c: New file.
25485         * benchtests/bench-bcopy.c: New file.
25486         * benchtests/bench-bzero-ifunc.c: New file.
25487         * benchtests/bench-bzero.c: New file.
25488         * benchtests/bench-memccpy-ifunc.c: New file.
25489         * benchtests/bench-memccpy.c: New file.
25490         * benchtests/bench-memchr-ifunc.c: New file.
25491         * benchtests/bench-memchr.c: New file.
25492         * benchtests/bench-memcmp-ifunc.c: New file.
25493         * benchtests/bench-memcmp.c: New file.
25494         * benchtests/bench-memmem-ifunc.c: New file.
25495         * benchtests/bench-memmem.c: New file.
25496         * benchtests/bench-memmove-ifunc.c: New file.
25497         * benchtests/bench-memmove.c: New file.
25498         * benchtests/bench-mempcpy-ifunc.c: New file.
25499         * benchtests/bench-mempcpy.c: New file.
25500         * benchtests/bench-memset-ifunc.c: New file.
25501         * benchtests/bench-memset.c: New file.
25502         * benchtests/bench-rawmemchr-ifunc.c: New file.
25503         * benchtests/bench-rawmemchr.c: New file.
25504         * benchtests/bench-stpcpy-ifunc.c: New file.
25505         * benchtests/bench-stpcpy.c: New file.
25506         * benchtests/bench-stpncpy-ifunc.c: New file.
25507         * benchtests/bench-stpncpy.c: New file.
25508         * benchtests/bench-strcasecmp-ifunc.c: New file.
25509         * benchtests/bench-strcasecmp.c: New file.
25510         * benchtests/bench-strcasestr-ifunc.c: New file.
25511         * benchtests/bench-strcasestr.c: New file.
25512         * benchtests/bench-strcat-ifunc.c: New file.
25513         * benchtests/bench-strcat.c: New file.
25514         * benchtests/bench-strchr-ifunc.c: New file.
25515         * benchtests/bench-strchr.c: New file.
25516         * benchtests/bench-strchrnul-ifunc.c: New file.
25517         * benchtests/bench-strchrnul.c: New file.
25518         * benchtests/bench-strcmp-ifunc.c: New file.
25519         * benchtests/bench-strcmp.c: New file.
25520         * benchtests/bench-strcpy-ifunc.c: New file.
25521         * benchtests/bench-strcpy.c: New file.
25522         * benchtests/bench-strcspn-ifunc.c: New file.
25523         * benchtests/bench-strcspn.c: New file.
25524         * benchtests/bench-strlen-ifunc.c: New file.
25525         * benchtests/bench-strlen.c: New file.
25526         * benchtests/bench-strncasecmp-ifunc.c: New file.
25527         * benchtests/bench-strncasecmp.c: New file.
25528         * benchtests/bench-strncat-ifunc.c: New file.
25529         * benchtests/bench-strncat.c: New file.
25530         * benchtests/bench-strncmp-ifunc.c: New file.
25531         * benchtests/bench-strncmp.c: New file.
25532         * benchtests/bench-strncpy-ifunc.c: New file.
25533         * benchtests/bench-strncpy.c: New file.
25534         * benchtests/bench-strnlen-ifunc.c: New file.
25535         * benchtests/bench-strnlen.c: New file.
25536         * benchtests/bench-strpbrk-ifunc.c: New file.
25537         * benchtests/bench-strpbrk.c: New file.
25538         * benchtests/bench-strrchr-ifunc.c: New file.
25539         * benchtests/bench-strrchr.c: New file.
25540         * benchtests/bench-strspn-ifunc.c: New file.
25541         * benchtests/bench-strspn.c: New file.
25542         * benchtests/bench-strstr-ifunc.c: New file.
25543         * benchtests/bench-strstr.c: New file.
25545         * benchtests/Makefile: Disable parallel execution of targets.
25546         (string-bench): Add memcpy.
25547         (benchset): New variable to store a list of benchmark sets.
25548         (bench-func): Renamed from bench.
25549         (bench-set): New target.
25550         (bench): Depend on bench-func and bench-set.
25551         * benchtests/README: Add section on benchmark sets.
25552         * benchtests/bench-memcpy-ifunc.c: New file.
25553         * benchtests/bench-memcpy.c: New file.
25554         * benchtests/bench-string.h: New file.
25556 2013-06-11  Andreas Schwab  <schwab@suse.de>
25558         [BZ #15577]
25559         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25560         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25561         values in the triple.
25562         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25563         terminator in the group key.
25565 2013-06-11  Andreas Jaeger  <aj@suse.de>
25567         * po/zh_TW.po: Update Chinese (traditional) translation from
25568         translation project.
25570 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25572         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25573         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25574         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25575         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25576         (clock_getcpuclockid): Likewise.
25577         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25578         Add weak_alias and libc_hidden_def.
25579         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25580         * rt/clock_gettime.c (clock_gettime): Rename to
25581         __clock_gettime.  Add weak_alias and libc_hidden_def.
25582         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25583         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25584         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25585         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25586         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25587         Likewise.
25588         * rt/clock_settime.c (clock_settime): Rename to
25589         __clock_settime.  Add weak_alias and libc_hidden_def.
25590         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25592 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25594         * mach/err_boot.sub: Remove trailing whitespace.
25595         * mach/err_ipc.sub: Likewise.
25596         * mach/err_mach.sub: Likewise.
25598         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25599         (ROUNDING_TESTS_double): Likewise.
25600         (ROUNDING_TESTS_long_double): Likewise.
25601         (ROUNDING_TESTS): Likewise.
25602         * math/libm-test.inc: Include <math-tests.h>.
25603         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25604         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25605         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25606         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25608 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25610         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25611         of assigning.
25613 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25615         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25616         otherwise empty TRANS lines.
25617         * sysdeps/gnu/errlist.c: Regenerated.
25619         * catgets/gencat.c (error_print): Use (void) in function
25620         definition.
25621         * crypt/crypt_util.c (__init_des): Likewise.
25622         * crypt/speeds.c (Stop): Likewise.
25623         (main): Likewise.
25624         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25625         * inet/ruserpass.c (token): Likewise.
25626         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25627         * intl/localealias.c (extend_alias_table): Likewise.
25628         * intl/plural-exp.c (init_germanic_plural): Likewise.
25629         * libio/fcloseall.c (__fcloseall): Likewise.
25630         * libio/genops.c (_IO_flush_all): Likewise.
25631         (_IO_flush_all_linebuffered): Likewise.
25632         (_IO_cleanup): Likewise.
25633         (_IO_iter_begin): Likewise.
25634         (_IO_iter_end): Likewise.
25635         (_IO_list_lock): Likewise.
25636         (_IO_list_unlock): Likewise.
25637         (_IO_list_resetlock): Likewise.
25638         * libio/getchar.c (getchar): Likewise.
25639         * libio/getchar_u.c (getchar_unlocked): Likewise.
25640         * libio/getwchar.c (getwchar): Likewise.
25641         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25642         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25643         * login/getpt.c (__getpt): Likewise.
25644         * login/tst-utmp.c (main): Likewise.
25645         * malloc/hooks.c (__malloc_check_init): Likewise.
25646         * malloc/malloc.c (__malloc_stats): Likewise.
25647         * malloc/mtrace.c (tr_break): Likewise.
25648         (mtrace): Likewise.
25649         (muntrace): Likewise.
25650         * misc/fstab.c (endfsent): Likewise.
25651         * misc/getclktck.c (__getclktck): Likewise.
25652         * misc/getdtsz.c (__getdtablesize): Likewise.
25653         * misc/gethostid.c (gethostid): Likewise.
25654         * misc/getpagesize.c (__getpagesize): Likewise.
25655         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25656         (__get_nprocs): Likewise.
25657         (__get_phys_pages): Likewise.
25658         (__get_avphys_pages): Likewise.
25659         * misc/getttyent.c (getttyent): Likewise.
25660         (setttyent): Likewise.
25661         (endttyent): Likewise.
25662         * misc/getusershell.c (getusershell): Likewise.
25663         (endusershell): Likewise.
25664         (setusershell): Likewise.
25665         (initshells): Likewise.
25666         * misc/hsearch.c (__hdestroy): Likewise.
25667         * misc/sync.c (sync): Likewise.
25668         * misc/syslog.c (closelog_internal): Likewise.
25669         (closelog): Likewise.
25670         * misc/ttyslot.c (ttyslot): Likewise.
25671         * misc/vhangup.c (vhangup): Likewise.
25672         * posix/fork.c (__fork): Likewise.
25673         * posix/getegid.c (__getegid): Likewise.
25674         * posix/geteuid.c (__geteuid): Likewise.
25675         * posix/getgid.c (__getgid): Likewise.
25676         * posix/getpid.c (__getpid): Likewise.
25677         * posix/getppid.c (__getppid): Likewise.
25678         * posix/getuid.c (__getuid): Likewise.
25679         * posix/pause.c (pause): Likewise.
25680         * posix/setpgrp.c (setpgrp): Likewise.
25681         * posix/setsid.c (__setsid): Likewise.
25682         * posix/test-vfork.c (noop): Likewise.
25683         * resolv/gethnamaddr.c (_endhtent): Likewise.
25684         (_gethtent): Likewise.
25685         (ht_endhostent): Likewise.
25686         (gethostent): Likewise.
25687         (dns_service): Likewise.
25688         * stdlib/drand48.c (drand48): Likewise.
25689         * stdlib/lrand48.c (lrand48): Likewise.
25690         * stdlib/mrand48.c (mrand48): Likewise.
25691         * stdlib/rand.c (rand): Likewise.
25692         * stdlib/random.c (__random): Likewise.
25693         * stdlib/setenv.c (clearenv): Likewise.
25694         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25695         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25696         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25697         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25698         (__get_nprocs): Likewise.
25699         (__get_phys_pages): Likewise.
25700         (__get_avphys_pages): Likewise.
25701         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25702         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25703         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25704         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25705         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25706         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25707         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25708         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25709         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25710         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25711         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25712         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25713         * sysdeps/posix/clock.c (clock): Likewise.
25714         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25715         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25716         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25717         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25718         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25719         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25720         (__get_nprocs_conf): Likewise.
25721         (__get_phys_pages): Likewise.
25722         (__get_avphys_pages): Likewise.
25723         * time/clock.c (clock): Likewise.
25724         * time/tzset.c (__tzname_max): Likewise.
25726 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25728         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25729         (__bswap_32): Do not use "register".
25730         * crypt/crypt.c (_ufc_doit_r): Likewise.
25731         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25732         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25733         * gmon/gmon.c (__monstartup): Likewise.
25734         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25735         * hurd/hurdmalloc.c (more_memory): Likewise.
25736         (malloc): Likewise.
25737         (free): Likewise.
25738         (realloc): Likewise.
25739         (malloc_fork_prepare): Likewise.
25740         (malloc_fork_parent): Likewise.
25741         (malloc_fork_child): Likewise.
25742         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25743         (_svcauth_des): Likewise.
25744         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25745         * inet/inet_net.c (inet_network): Likewise.
25746         * inet/inet_netof.c (inet_netof): Likewise.
25747         * inet/rcmd.c (__validuser2_sa): Likewise.
25748         * io/fts.c (fts_open): Likewise.
25749         (fts_load): Likewise.
25750         (fts_close): Likewise.
25751         (fts_read): Likewise.
25752         (fts_children): Likewise.
25753         (fts_build): Likewise.
25754         (fts_stat): Likewise.
25755         (fts_sort): Likewise.
25756         (fts_alloc): Likewise.
25757         (fts_lfree): Likewise.
25758         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25759         (_IO_file_xsgetn): Likewise.
25760         (_IO_file_xsgetn_mmap): Likewise.
25761         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25762         (_IO_cookie_write): Likewise.
25763         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25764         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25765         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25766         * malloc/obstack.c (_obstack_begin): Likewise.
25767         (_obstack_begin_1): Likewise.
25768         (_obstack_newchunk): Likewise.
25769         (_obstack_allocated_p): Likewise.
25770         (obstack_free): Likewise.
25771         (_obstack_memory_used): Likewise.
25772         * misc/getttyent.c (getttynam): Likewise.
25773         (getttyent): Likewise.
25774         (skip): Likewise.
25775         (value): Likewise.
25776         * misc/getusershell.c (initshells): Likewise.
25777         * misc/syslog.c (__vsyslog_chk): Likewise.
25778         * misc/ttyslot.c (ttyslot): Likewise.
25779         * nis/nis_hash.c (__nis_hash): Likewise.
25780         * posix/fnmatch_loop.c (FCT): Likewise.
25781         * posix/getconf.c (print_all): Likewise.
25782         (main): Likewise.
25783         * posix/getopt.c (exchange): Likewise.
25784         * posix/glob.c (globfree): Likewise.
25785         (prefix_array): Likewise.
25786         (__glob_pattern_type): Likewise.
25787         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25788         (NS_GET32): Likewise.
25789         (NS_PUT16): Likewise.
25790         (NS_PUT32): Likewise.
25791         * resolv/gethnamaddr.c (getanswer): Likewise.
25792         (gethostbyname2): Likewise.
25793         (gethostbyaddr): Likewise.
25794         (_gethtent): Likewise.
25795         (_gethtbyname2): Likewise.
25796         (_gethtbyaddr): Likewise.
25797         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25798         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25799         * resolv/res_init.c (__res_vinit): Likewise.
25800         (net_mask): Likewise.
25801         * resolv/res_mkquery.c (outchar): Likewise.
25802         (PRINT): Likewise.
25803         * stdio-common/printf_fp.c (outchar): Likewise.
25804         (PRINT): Likewise.
25805         * stdio-common/printf_fphex.c (outchar): Likewise.
25806         (PRINT): Likewise.
25807         * stdio-common/printf_size.c (outchar): Likewise.
25808         (PRINT): Likewise.
25809         * stdio-common/test_rdwr.c (main): Likewise.
25810         * stdio-common/tfformat.c (matches): Likewise.
25811         * stdio-common/vfprintf.c (outchar): Likewise.
25812         (printf_unknown): Likewise.
25813         (buffered_vfprintf): Likewise.
25814         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25815         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25816         (ReadFile): Likewise.
25817         * stdlib/qsort.c (SWAP): Likewise.
25818         (_quicksort): Likewise.
25819         * stdlib/setenv.c (__add_to_environ): Likewise.
25820         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25821         * stdlib/strtol_l.c (__strtol_l): Likewise.
25822         * stdlib/tst-strtod.c (main): Likewise.
25823         * stdlib/tst-strtol.c (main): Likewise.
25824         * stdlib/tst-strtoll.c (main): Likewise.
25825         * string/bits/string2.h (__strcmp_cc): Likewise.
25826         (__strcmp_cg): Likewise.
25827         (__strcspn_c1): Likewise.
25828         (__strcspn_c2): Likewise.
25829         (__strcspn_c3): Likewise.
25830         (__strspn_c1): Likewise.
25831         (__strspn_c2): Likewise.
25832         (__strspn_c3): Likewise.
25833         (__strsep_1c): Likewise.
25834         (__strsep_2c): Likewise.
25835         (__strsep_3c): Likewise.
25836         * string/memccpy.c (__memccpy): Likewise.
25837         * string/stpcpy.c (__stpcpy): Likewise.
25838         * string/strcmp.c (strcmp): Likewise.
25839         * string/strrchr.c (strrchr): Likewise.
25840         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25841         Likewise.
25842         * sysdeps/mach/hurd/getcwd.c
25843         (_hurd_canonicalize_directory_name_internal): Likewise.
25844         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25845         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25846         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25847         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25848         Likewise, in both definitions.
25849         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25850         definitions.
25851         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25852         64] (__bswap_64): Likewise.
25853         * time/test_time.c (main): Likewise.
25854         * time/tzfile.c (__tzfile_read): Likewise.
25855         (__tzfile_compute): Likewise.
25856         * time/tzset.c (__tzset_parse_tz): Likewise.
25857         (tzset_internal): Likewise.
25858         (compute_change): Likewise.
25859         * wcsmbs/wcscat.c (__wcscat): Likewise.
25860         * wcsmbs/wcschr.c (wcschr): Likewise.
25861         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25862         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25863         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25864         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25865         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25866         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25867         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25868         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25869         * wcsmbs/wmemset.c (wmemset): Likewise.
25871 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25873         * scripts/config.guess: Update to version 2013-05-16.
25874         * scripts/config.sub: Update to version 2013-04-24.
25875         * scripts/install-sh: Update to version 2011-11-20.07.
25876         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25877         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25879 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25881         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25882         * elf/sln.c: Likewise.
25883         * hurd/hurd/ioctl.h: Likewise.
25884         * hurd/hurdmalloc.c: Likewise.
25885         * hurd/xattr.c: Likewise.
25886         * include/shlib-compat.h: Likewise.
25887         * inet/ruserpass.c: Likewise.
25888         * libio/iofgets_u.c: Likewise.
25889         * libio/iofgetws_u.c: Likewise.
25890         * locale/programs/ld-identification.c: Likewise.
25891         * locale/programs/ld-time.c: Likewise.
25892         * mach/msg-destroy.c: Likewise.
25893         * nss/nss_files/files-netgrp.c: Likewise.
25894         * resolv/res_data.c: Likewise.
25895         * soft-fp/op-1.h: Likewise.
25896         * soft-fp/op-2.h: Likewise.
25897         * soft-fp/op-4.h: Likewise.
25898         * soft-fp/op-common.h: Likewise.
25899         * stdio-common/printf_fphex.c: Likewise.
25900         * stdlib/strtod_l.c: Likewise.
25901         * sunrpc/rpc/clnt.h: Likewise.
25902         * sysdeps/generic/framestate.c: Likewise.
25903         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25904         * sysdeps/i386/bsd-setjmp.S: Likewise.
25905         * sysdeps/i386/__longjmp.S: Likewise.
25906         * sysdeps/i386/setjmp.S: Likewise.
25907         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25908         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25910         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25911         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25912         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25913         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25914         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25915         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25916         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25917         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25918         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25919         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25920         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25921         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25922         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25923         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25924         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25925         * sysdeps/ieee754/support.c: Likewise.
25926         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25927         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25928         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25929         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25930         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25931         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25932         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25933         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25934         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25935         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25936         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25937         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25938         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25939         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25940         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25941         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25942         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25945 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25947         * posix/transbug.c: Remove executable mode.
25949 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25951         * crypt/speeds.c: Remove trailing whitespace.
25952         * dlfcn/default.c: Likewise.
25953         * elf/ifuncdep2.c: Likewise.
25954         * elf/ifuncmain1.c: Likewise.
25955         * elf/ifuncmain1vis.c: Likewise.
25956         * elf/testobj.h: Likewise.
25957         * elf/tst-stackguard1.c: Likewise.
25958         * gmon/sys/gmon.h: Likewise.
25959         * hurd/hurdmsg.c: Likewise.
25960         * hurd/new-fd.c: Likewise.
25961         * hurd/ports-get.c: Likewise.
25962         * iconvdata/ibm1008_420.c: Likewise.
25963         * inet/tst-getni1.c: Likewise.
25964         * inet/tst-getni2.c: Likewise.
25965         * libio/ioungetc.c: Likewise.
25966         * libio/wfiledoalloc.c: Likewise.
25967         * manual/libm-err-tab.pl: Likewise.
25968         * math/w_dremf.c: Likewise.
25969         * misc/ftruncate.c: Likewise.
25970         * posix/bug-glob2.c: Likewise.
25971         * posix/tst-pcre.c: Likewise.
25972         * posix/wait4.c: Likewise.
25973         * resolv/README: Likewise.
25974         * resolv/res_debug.h: Likewise.
25975         * resolv/tst-inet_ntop.c: Likewise.
25976         * setjmp/bug269-setjmp.c: Likewise.
25977         * soft-fp/extended.h: Likewise.
25978         * soft-fp/op-1.h: Likewise.
25979         * soft-fp/op-2.h: Likewise.
25980         * soft-fp/op-4.h: Likewise.
25981         * soft-fp/op-8.h: Likewise.
25982         * soft-fp/testit.c: Likewise.
25983         * stdio-common/bug16.c: Likewise.
25984         * stdlib/random.c: Likewise.
25985         * sunrpc/rpcsvc/rquota.x: Likewise.
25986         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25987         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25988         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25989         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25990         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25991         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25992         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25993         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25994         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25995         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25996         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25997         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25998         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25999         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26000         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26001         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26002         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26003         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26004         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26005         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26006         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26007         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26008         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26009         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26010         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26011         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26013         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26014         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26015         * sysdeps/ieee754/s_lib_version.c: Likewise.
26016         * sysdeps/mach/hurd/check_fds.c: Likewise.
26017         * sysdeps/mach/hurd/getsockname.c: Likewise.
26018         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26019         * sysdeps/mach/hurd/recvfrom.c: Likewise.
26020         * sysdeps/powerpc/bits/link.h: Likewise.
26021         * sysdeps/powerpc/dl-procinfo.c: Likewise.
26022         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26023         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26024         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26025         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26026         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26027         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26028         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26029         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26030         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26031         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26032         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26033         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26034         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26035         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26036         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26037         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26038         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26039         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26040         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26041         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26042         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26043         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26044         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26045         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26046         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26047         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26048         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26049         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26050         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26051         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26052         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26053         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26054         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26055         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26056         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26057         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26058         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26059         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26060         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26061         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26062         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26063         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26064         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26065         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26066         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26067         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26068         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26069         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26070         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26071         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26073         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26074         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26075         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26076         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26077         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26078         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26079         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26080         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26081         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26082         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26083         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26084         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26085         * sysdeps/powerpc/sysdep.h: Likewise.
26086         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26087         * sysdeps/s390/s390-64/sub_n.S: Likewise.
26088         * sysdeps/sh/dl-trampoline.S: Likewise.
26089         * sysdeps/sh/memset.S: Likewise.
26090         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26091         * sysdeps/sh/strlen.S: Likewise.
26092         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26093         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26094         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26095         * sysdeps/sparc/sparc32/rem.S: Likewise.
26096         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26097         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26098         * sysdeps/sparc/sparc32/strchr.S: Likewise.
26099         * sysdeps/sparc/sparc32/udiv.S: Likewise.
26100         * sysdeps/sparc/sparc32/urem.S: Likewise.
26101         * sysdeps/sparc/sparc64/add_n.S: Likewise.
26102         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26103         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26104         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26105         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26106         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26107         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26108         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26109         * sysdeps/unix/bsd/times.c: Likewise.
26110         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26111         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26115         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26116         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26117         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26118         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26119         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26120         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26121         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26122         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26123         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26124         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26125         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26126         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26127         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26128         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26129         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26130         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26131         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26132         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26133         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26134         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26135         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26136         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26137         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26138         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26139         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26140         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26141         * sysdeps/x86_64/strcspn.S: Likewise.
26143 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26145         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26146         generated file.  Regenerate properly from gen-translit.pl.
26147         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26148         locale/C-translit.h.
26150 2013-06-05  Andreas Schwab  <schwab@suse.de>
26152         [BZ #15100]
26153         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26154         week as 6 instead of -1.
26155         * time/tst-strptime.c (day_tests): Add test case.
26157 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26159         * sysdeps/generic/math_private.h
26160         (libc_feholdexcept_setround_53bit): Replace with
26161         libc_feholdsetround_53bit.
26162         (libc_feupdateenv_53bit): Replace with
26163         libc_feresetround_53bit.
26164         (SET_RESTORE_ROUND_53BIT): Adjust.
26166 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26168         * string/test-strchrnul.c: Add copyright header.
26170         * posix/tst-getaddrinfo4.c: Increase test timeout.
26172 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26174         [BZ #15536]
26175         * math/libm-test.inc (MAX_EXP): Remove
26176         (MIN_EXP): Define.
26177         (ulp): Use MIN_EXP - MANT_DIG.
26178         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26180 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26182         * po/be.po: Revert last change.
26183         * po/zh_CN.po: Likewise.
26184         * po/header.pot: Likewise.
26186 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26188         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26189         link-libc-deps to empty as target-specific variable.
26190         * Makerules (link-libc-args): New variable.
26191         (libc-for-link): Likewise.
26192         (link-libc-deps): Likewise.
26193         (lib%.so): Depend on $(link-libc-deps).  Link with
26194         $(link-libc-args).
26195         (build-module): Link with $(link-libc-args).
26196         (build-module-asneeded): Likewise.
26197         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26198         list of objects.
26199         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26200         target-specific variable.
26201         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26202         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26203         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26204         libc.
26205         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26206         libc and ld.so.
26207         ($(objpfx)libpcprofile.so): Likewise.
26208         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26209         libc_nonshared.a.
26210         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26211         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26212         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26213         $(link-libc-deps).
26214         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26215         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26216         * login/Makefile ($(objpfx)libutil.so): Likewise.
26217         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26218         * math/Makefile ($(objpfx)libm.so): Likewise.
26219         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26220         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26221         variable instead of depending directly on libc.
26222         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26223         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26224         $(link-libc-deps).
26225         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26226         libc.
26227         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26228         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26229         ($(objpfx)libanl.so): Likewise.
26230         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26231         ld.so.
26232         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26233         $(link-libc-deps).
26234         * sysdeps/i386/fpu/Makefile: Remove file.
26235         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26236         ($(objpfx)libm.so): Remove dependency on ld.so.
26238 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26240         [BZ # 15553]
26241         * nis/yp_xdr.c (XDRMAXNAME): Define.
26242         (XDRMAXRECORD): Define.
26243         (xdr_domainname): Use XDRMAXNAME.
26244         (xdr_mapname): Likewise.
26245         (xdr_peername): Likewise.
26246         (xdr_keydat): Use XDRMAXRECORD.
26247         (xdr_valdat): Likewise.
26249 2013-05-30  Jeff Law  <law@redhat.com>
26251         [BZ #14256]
26252         * manual/errno.texi (ESTALE): Update to account for more than
26253         just NFS file systems.
26254         * sysdeps/gnu/errlist.c: Regenerated.
26256 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26258         [BZ #15465]
26259         * elf/Makefile (tests): Add tst-null-argv.
26260         (modules-names):  Add tst-null-argv-lib.
26261         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26262         (tst-null-argv-ENV): Set environment for tst-null-argv.
26263         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26264         (RTLD_PROGNAME): New macro.
26265         * elf/tst-null-argv.c: New test case.
26266         * elf/tst-null-argv-lib.c: Library for test case.
26267         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26268         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26269         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26270         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26271         * elf/dl-init.c (call_init): Likewise.
26272         (_dl_init): Likewise.
26273         * elf/dl-load.c (print_search_path): Likewise.
26274         (_dl_map_object): Likewise.
26275         * elf/dl-lookup.c (do_lookup_x): Likewise.
26276         (add_dependency): Likewise.
26277         (_dl_lookup_symbol_x): Likewise.
26278         (_dl_debug_bindings): Likewise.
26279         * elf/dl-open.c (_dl_show_scope): Likewise.
26280         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26281         * elf/dl-version.c (match_symbol): Likewise.
26282         (_dl_check_map_versions): Likewise.
26283         * elf/rtld.c (dl_main): Likewise.
26284         (print_unresolved): Use RTLD_PROGNAME.
26285         (print_missing_version): Likewise.
26286         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26287         (elf_machine_rela): Likewise.
26288         * sysdeps/powerpc/powerpc32/dl-machine.c
26289         (__process_machine_rela): Likewise.
26290         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26291         Likewise.
26292         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26293         Likewise.
26294         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26295         Likewise.
26296         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26297         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26298         Likewise.
26299         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26300         Likewise.
26301         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26303 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26305         * po/be.po: Add descriptive title.
26306         * po/zh_CN.po: Likewise.
26307         * po/header.pot: Likewise.
26309 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26311         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26312         error message.
26313         (enlarge_archive): Likewise.
26315 2013-05-28  Ben North  <ben@redfrontdoor.org>
26317         * manual/arith.texi (frexp): It is the magnitude of the return
26318         value which lies in [0.5, 1), not the return value itself.
26320 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26322         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26324 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26326         * stdio-common/bug26.c (main): Correct fscanf template.
26328         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26329         declare _dl_skip_args.
26331         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26332         Don't declare.
26334         * manual/platform.texi: Add missing @end deftypefun.
26336 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26338         [BZ #15529]
26339         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26340         bit of mantissa of 2^16382.
26341         * math/libm-test.inc (hypot_test_data): Add more tests.
26343         * math/libm-test.inc: Add drem and pow10 to list of tested
26344         functions.
26345         (pow10_test): New function.
26346         (drem_test): Likewise.
26347         (drem_test_tonearest): Likewise.
26348         (drem_test_towardzero): Likewise.
26349         (drem_test_downward): Likewise.
26350         (drem_test_upward): Likewise.
26351         (main): Call the new functions.
26353         * math/libm-test.inc (finite_test_data): Remove.
26354         (finite_test): Run tests from isfinite_test_data.
26355         (gamma_test_data): Remove.
26356         (gamma_test): Run tests from lgamma_test_data.
26357         * sysdeps/i386/fpu/libm-test-ulps: Update.
26358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26360 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26362         * manual/platform.texi: Add PowerPC PPR function set documentation.
26363         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26364         implementation.
26366 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26368         * math/libm-test.inc (MAX_EXP): Define.
26369         (ULPDIFF): Define.
26370         (ulp): New function.
26371         (check_float_internal): Use ULPDIFF.
26372         (cpow_test): Disable failing test.
26373         (check_ulp): Test ulp() implemetnation.
26374         (main): Call check_ulp before starting tests.
26376 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26378         * math/gen-libm-test.pl (generate_testfile): Do not handle
26379         START_DATA and END_DATA.
26380         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26381         END_DATA.
26382         (acos_tonearest_test_data): Likewise.
26383         (acos_towardzero_test_data): Likewise.
26384         (acos_downward_test_data): Likewise.
26385         (acos_upward_test_data): Likewise.
26386         (acosh_test_data): Likewise.
26387         (asin_test_data): Likewise.
26388         (asin_tonearest_test_data): Likewise.
26389         (asin_towardzero_test_data): Likewise.
26390         (asin_downward_test_data): Likewise.
26391         (asin_upward_test_data): Likewise.
26392         (asinh_test_data): Likewise.
26393         (atan_test_data): Likewise.
26394         (atanh_test_data): Likewise.
26395         (atan2_test_data): Likewise.
26396         (cabs_test_data): Likewise.
26397         (cacos_test_data): Likewise.
26398         (cacosh_test_data): Likewise.
26399         (carg_test_data): Likewise.
26400         (casin_test_data): Likewise.
26401         (casinh_test_data): Likewise.
26402         (catan_test_data): Likewise.
26403         (catanh_test_data): Likewise.
26404         (cbrt_test_data): Likewise.
26405         (ccos_test_data): Likewise.
26406         (ccosh_test_data): Likewise.
26407         (ceil_test_data): Likewise.
26408         (cexp_test_data): Likewise.
26409         (cimag_test_data): Likewise.
26410         (clog_test_data): Likewise.
26411         (clog10_test_data): Likewise.
26412         (conj_test_data): Likewise.
26413         (copysign_test_data): Likewise.
26414         (cos_test_data): Likewise.
26415         (cos_tonearest_test_data): Likewise.
26416         (cos_towardzero_test_data): Likewise.
26417         (cos_downward_test_data): Likewise.
26418         (cos_upward_test_data): Likewise.
26419         (cosh_test_data): Likewise.
26420         (cosh_tonearest_test_data): Likewise.
26421         (cosh_towardzero_test_data): Likewise.
26422         (cosh_downward_test_data): Likewise.
26423         (cosh_upward_test_data): Likewise.
26424         (cpow_test_data): Likewise.
26425         (cproj_test_data): Likewise.
26426         (creal_test_data): Likewise.
26427         (csin_test_data): Likewise.
26428         (csinh_test_data): Likewise.
26429         (csqrt_test_data): Likewise.
26430         (ctan_test_data): Likewise.
26431         (ctan_tonearest_test_data): Likewise.
26432         (ctan_towardzero_test_data): Likewise.
26433         (ctan_downward_test_data): Likewise.
26434         (ctan_upward_test_data): Likewise.
26435         (ctanh_test_data): Likewise.
26436         (ctanh_tonearest_test_data): Likewise.
26437         (ctanh_towardzero_test_data): Likewise.
26438         (ctanh_downward_test_data): Likewise.
26439         (ctanh_upward_test_data): Likewise.
26440         (erf_test_data): Likewise.
26441         (erfc_test_data): Likewise.
26442         (exp_test_data): Likewise.
26443         (exp_tonearest_test_data): Likewise.
26444         (exp_towardzero_test_data): Likewise.
26445         (exp_downward_test_data): Likewise.
26446         (exp_upward_test_data): Likewise.
26447         (exp10_test_data): Likewise.
26448         (exp2_test_data): Likewise.
26449         (expm1_test_data): Likewise.
26450         (fabs_test_data): Likewise.
26451         (fdim_test_data): Likewise.
26452         (finite_test_data): Likewise.
26453         (floor_test_data): Likewise.
26454         (fma_test_data): Likewise.
26455         (fma_towardzero_test_data): Likewise.
26456         (fma_downward_test_data): Likewise.
26457         (fma_upward_test_data): Likewise.
26458         (fmax_test_data): Likewise.
26459         (fmin_test_data): Likewise.
26460         (fmod_test_data): Likewise.
26461         (fpclassify_test_data): Likewise.
26462         (frexp_test_data): Likewise.
26463         (gamma_test_data): Likewise.
26464         (hypot_test_data): Likewise.
26465         (ilogb_test_data): Likewise.
26466         (isfinite_test_data): Likewise.
26467         (isgreater_test_data): Likewise.
26468         (isgreaterequal_test_data): Likewise.
26469         (isinf_test_data): Likewise.
26470         (isless_test_data): Likewise.
26471         (islessequal_test_data): Likewise.
26472         (islessgreater_test_data): Likewise.
26473         (isnan_test_data): Likewise.
26474         (isnormal_test_data): Likewise.
26475         (issignaling_test_data): Likewise.
26476         (isunordered_test_data): Likewise.
26477         (j0_test_data): Likewise.
26478         (j1_test_data): Likewise.
26479         (jn_test_data): Likewise.
26480         (ldexp_test_data): Likewise.
26481         (lgamma_test_data): Likewise.
26482         (lrint_test_data): Likewise.
26483         (lrint_tonearest_test_data): Likewise.
26484         (lrint_towardzero_test_data): Likewise.
26485         (lrint_downward_test_data): Likewise.
26486         (lrint_upward_test_data): Likewise.
26487         (llrint_test_data): Likewise.
26488         (llrint_tonearest_test_data): Likewise.
26489         (llrint_towardzero_test_data): Likewise.
26490         (llrint_downward_test_data): Likewise.
26491         (llrint_upward_test_data): Likewise.
26492         (log_test_data): Likewise.
26493         (log10_test_data): Likewise.
26494         (log1p_test_data): Likewise.
26495         (log2_test_data): Likewise.
26496         (logb_test_data): Likewise.
26497         (logb_downward_test_data): Likewise.
26498         (lround_test_data): Likewise.
26499         (llround_test_data): Likewise.
26500         (modf_test_data): Likewise.
26501         (nearbyint_test_data): Likewise.
26502         (nextafter_test_data): Likewise.
26503         (nexttoward_test_data): Likewise.
26504         (pow_test_data): Likewise.
26505         (pow_tonearest_test_data): Likewise.
26506         (pow_towardzero_test_data): Likewise.
26507         (pow_downward_test_data): Likewise.
26508         (pow_upward_test_data): Likewise.
26509         (remainder_test_data): Likewise.
26510         (remainder_tonearest_test_data): Likewise.
26511         (remainder_towardzero_test_data): Likewise.
26512         (remainder_downward_test_data): Likewise.
26513         (remainder_upward_test_data): Likewise.
26514         (remquo_test_data): Likewise.
26515         (rint_test_data): Likewise.
26516         (rint_tonearest_test_data): Likewise.
26517         (rint_towardzero_test_data): Likewise.
26518         (rint_downward_test_data): Likewise.
26519         (rint_upward_test_data): Likewise.
26520         (round_test_data): Likewise.
26521         (scalb_test_data): Likewise.
26522         (scalbn_test_data): Likewise.
26523         (scalbln_test_data): Likewise.
26524         (signbit_test_data): Likewise.
26525         (sin_test_data): Likewise.
26526         (sin_tonearest_test_data): Likewise.
26527         (sin_towardzero_test_data): Likewise.
26528         (sin_downward_test_data): Likewise.
26529         (sin_upward_test_data): Likewise.
26530         (sincos_test_data): Likewise.
26531         (sinh_test_data): Likewise.
26532         (sinh_tonearest_test_data): Likewise.
26533         (sinh_towardzero_test_data): Likewise.
26534         (sinh_downward_test_data): Likewise.
26535         (sinh_upward_test_data): Likewise.
26536         (sqrt_test_data): Likewise.
26537         (tan_test_data): Likewise.
26538         (tan_tonearest_test_data): Likewise.
26539         (tan_towardzero_test_data): Likewise.
26540         (tan_downward_test_data): Likewise.
26541         (tan_upward_test_data): Likewise.
26542         (tanh_test_data): Likewise.
26543         (tgamma_test_data): Likewise.
26544         (trunc_test_data): Likewise.
26545         (y0_test_data): Likewise.
26546         (y1_test_data): Likewise.
26547         (yn_test_data): Likewise.
26548         (significand_test_data): Likewise.
26550         * math/gen-libm-test.pl (@functions): Remove variable.
26551         (generate_testfile): Don't handle START and END lines.
26552         * math/libm-test.inc (START): New macro.
26553         (END): Likewise.
26554         (END_COMPLEX): Likewise.
26555         (acos_test): Use END macro without arguments.
26556         (acos_test_tonearest): Likewise.
26557         (acos_test_towardzero): Likewise.
26558         (acos_test_downward): Likewise.
26559         (acos_test_upward): Likewise.
26560         (acosh_test): Likewise.
26561         (asin_test): Likewise.
26562         (asin_test_tonearest): Likewise.
26563         (asin_test_towardzero): Likewise.
26564         (asin_test_downward): Likewise.
26565         (asin_test_upward): Likewise.
26566         (asinh_test): Likewise.
26567         (atan_test): Likewise.
26568         (atanh_test): Likewise.
26569         (atan2_test): Likewise.
26570         (cabs_test): Likewise.
26571         (cacos_test): Use END_COMPLEX macro without arguments.
26572         (cacosh_test): Likewise.
26573         (carg_test): Use END macro without arguments.
26574         (casin_test): Use END_COMPLEX macro without arguments.
26575         (casinh_test): Likewise.
26576         (catan_test): Likewise.
26577         (catanh_test): Likewise.
26578         (cbrt_test): Use END macro without arguments.
26579         (ccos_test): Use END_COMPLEX macro without arguments.
26580         (ccosh_test): Likewise.
26581         (ceil_test): Use END macro without arguments.
26582         (cexp_test): Use END_COMPLEX macro without arguments.
26583         (cimag_test): Use END macro without arguments.
26584         (clog_test): Use END_COMPLEX macro without arguments.
26585         (clog10_test): Likewise.
26586         (conj_test): Likewise.
26587         (copysign_test): Use END macro without arguments.
26588         (cos_test): Likewise.
26589         (cos_test_tonearest): Likewise.
26590         (cos_test_towardzero): Likewise.
26591         (cos_test_downward): Likewise.
26592         (cos_test_upward): Likewise.
26593         (cosh_test): Likewise.
26594         (cosh_test_tonearest): Likewise.
26595         (cosh_test_towardzero): Likewise.
26596         (cosh_test_downward): Likewise.
26597         (cosh_test_upward): Likewise.
26598         (cpow_test): Use END_COMPLEX macro without arguments.
26599         (cproj_test): Likewise.
26600         (creal_test): Use END macro without arguments.
26601         (csin_test): Use END_COMPLEX macro without arguments.
26602         (csinh_test): Likewise.
26603         (csqrt_test): Likewise.
26604         (ctan_test): Likewise.
26605         (ctan_test_tonearest): Likewise.
26606         (ctan_test_towardzero): Likewise.
26607         (ctan_test_downward): Likewise.
26608         (ctan_test_upward): Likewise.
26609         (ctanh_test): Likewise.
26610         (ctanh_test_tonearest): Likewise.
26611         (ctanh_test_towardzero): Likewise.
26612         (ctanh_test_downward): Likewise.
26613         (ctanh_test_upward): Likewise.
26614         (erf_test): Use END macro without arguments.
26615         (erfc_test): Likewise.
26616         (exp_test): Likewise.
26617         (exp_test_tonearest): Likewise.
26618         (exp_test_towardzero): Likewise.
26619         (exp_test_downward): Likewise.
26620         (exp_test_upward): Likewise.
26621         (exp10_test): Likewise.
26622         (exp2_test): Likewise.
26623         (expm1_test): Likewise.
26624         (fabs_test): Likewise.
26625         (fdim_test): Likewise.
26626         (finite_test): Likewise.
26627         (floor_test): Likewise.
26628         (fma_test): Likewise.
26629         (fma_test_towardzero): Likewise.
26630         (fma_test_downward): Likewise.
26631         (fma_test_upward): Likewise.
26632         (fmax_test): Likewise.
26633         (fmin_test): Likewise.
26634         (fmod_test): Likewise.
26635         (fpclassify_test): Likewise.
26636         (frexp_test): Likewise.
26637         (gamma_test): Likewise.
26638         (hypot_test): Likewise.
26639         (ilogb_test): Likewise.
26640         (isfinite_test): Likewise.
26641         (isgreater_test): Likewise.
26642         (isgreaterequal_test): Likewise.
26643         (isinf_test): Likewise.
26644         (isless_test): Likewise.
26645         (islessequal_test): Likewise.
26646         (islessgreater_test): Likewise.
26647         (isnan_test): Likewise.
26648         (isnormal_test): Likewise.
26649         (issignaling_test): Likewise.
26650         (isunordered_test): Likewise.
26651         (j0_test): Likewise.
26652         (j1_test): Likewise.
26653         (jn_test): Likewise.
26654         (ldexp_test): Likewise.
26655         (lgamma_test): Likewise.
26656         (lrint_test): Likewise.
26657         (lrint_test_tonearest): Likewise.
26658         (lrint_test_towardzero): Likewise.
26659         (lrint_test_downward): Likewise.
26660         (lrint_test_upward): Likewise.
26661         (llrint_test): Likewise.
26662         (llrint_test_tonearest): Likewise.
26663         (llrint_test_towardzero): Likewise.
26664         (llrint_test_downward): Likewise.
26665         (llrint_test_upward): Likewise.
26666         (log_test): Likewise.
26667         (log10_test): Likewise.
26668         (log1p_test): Likewise.
26669         (log2_test): Likewise.
26670         (logb_test): Likewise.
26671         (logb_test_downward): Likewise.
26672         (lround_test): Likewise.
26673         (llround_test): Likewise.
26674         (modf_test): Likewise.
26675         (nearbyint_test): Likewise.
26676         (nextafter_test): Likewise.
26677         (nexttoward_test): Likewise.
26678         (pow_test): Likewise.
26679         (pow_test_tonearest): Likewise.
26680         (pow_test_towardzero): Likewise.
26681         (pow_test_downward): Likewise.
26682         (pow_test_upward): Likewise.
26683         (remainder_test): Likewise.
26684         (remainder_test_tonearest): Likewise.
26685         (remainder_test_towardzero): Likewise.
26686         (remainder_test_downward): Likewise.
26687         (remainder_test_upward): Likewise.
26688         (remquo_test): Likewise.
26689         (rint_test): Likewise.
26690         (rint_test_tonearest): Likewise.
26691         (rint_test_towardzero): Likewise.
26692         (rint_test_downward): Likewise.
26693         (rint_test_upward): Likewise.
26694         (round_test): Likewise.
26695         (scalb_test): Likewise.
26696         (scalbn_test): Likewise.
26697         (scalbln_test): Likewise.
26698         (signbit_test): Likewise.
26699         (sin_test): Likewise.
26700         (sin_test_tonearest): Likewise.
26701         (sin_test_towardzero): Likewise.
26702         (sin_test_downward): Likewise.
26703         (sin_test_upward): Likewise.
26704         (sincos_test): Likewise.
26705         (sinh_test): Likewise.
26706         (sinh_test_tonearest): Likewise.
26707         (sinh_test_towardzero): Likewise.
26708         (sinh_test_downward): Likewise.
26709         (sinh_test_upward): Likewise.
26710         (sqrt_test): Likewise.
26711         (tan_test): Likewise.
26712         (tan_test_tonearest): Likewise.
26713         (tan_test_towardzero): Likewise.
26714         (tan_test_downward): Likewise.
26715         (tan_test_upward): Likewise.
26716         (tanh_test): Likewise.
26717         (tgamma_test): Likewise.
26718         (trunc_test): Likewise.
26719         (y0_test): Likewise.
26720         (y1_test): Likewise.
26721         (yn_test): Likewise.
26722         (significand_test): Likewise.
26724 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26726         [BZ #15381]
26727         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26729 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26731         [BZ #14894]
26732         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26733         __ppc_mdoio and __ppc_mdoom.
26734         * manual/platform.texi: Document new functions __ppc_yield,
26735         __ppc_mdoio and __ppc_mdoom.
26737 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26739         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26740         (main): Mention "tls" pseudo-hwcap is legacy.
26741         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26743 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26745         * math/gen-libm-test.pl (parse_args): Output only string of
26746         arguments as text for test name, not full call or descriptions of
26747         tests for extra outputs.
26748         (generate_testfile): Do not pass function name to parse_args.
26749         Generate this_func variable from START.
26750         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26751         field to arg_str.
26752         (struct test_ff_f_data): Likewise.
26753         (test_ff_f_data_nexttoward): Likewise.
26754         (struct test_fi_f_data): Likewise.
26755         (struct test_fl_f_data): Likewise.
26756         (struct test_if_f_data): Likewise.
26757         (struct test_fff_f_data): Likewise.
26758         (struct test_c_f_data): Likewise.
26759         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26760         (struct test_fF_f1_data): Likewise.
26761         (struct test_ffI_f1_data): Likewise.
26762         (struct test_c_c_data): Rename test_name field to arg_str.
26763         (struct test_cc_c_data): Likewise.
26764         (struct test_f_i_data): Likewise.
26765         (struct test_ff_i_data): Likewise.
26766         (struct test_f_l_data): Likewise.
26767         (struct test_f_L_data): Likewise.
26768         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26769         and extra2_name.
26770         (COMMON_TEST_SETUP): New macro.
26771         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26772         (COMMON_TEST_CLEANUP): Likewise.
26773         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26774         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26775         macros.
26776         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26777         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26778         macros.
26779         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26780         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26781         cleanup macros.
26782         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26783         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26784         macros.
26785         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26786         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26787         macros.
26788         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26789         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26790         cleanup macros.
26791         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26792         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26793         cleanup macros.
26794         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26795         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26796         cleanup macros.
26797         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26798         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26799         macros.
26800         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26801         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26802         macros.
26803         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26804         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26805         macros.
26806         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26807         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26808         cleanup macros.
26809         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26810         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26811         cleanup macros.
26812         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26813         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26814         macros.
26815         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26816         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26817         cleanup macros.
26818         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26819         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26820         macros.
26821         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26822         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26823         macros.
26824         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26825         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26826         cleanup macros.
26827         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26829 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26831         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26832         to _sifields.sigfault.
26833         (si_addr_lsb): Define new macro.
26834         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26835         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26836         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26838 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26840         [BZ #15441]
26841         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26842         returns -1.
26843         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26844         null return -1.
26845         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26846         loading the domain.
26848 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26850         * math/gen-libm-test.pl (parse_args): Do not include expected
26851         result in test name.
26852         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26853         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26854         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26855         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26856         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26859 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26861         * benchtests/Makefile: Sort function entries.
26863         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26864         tanh, asinh, acosh, atanh.
26865         * benchtests/acos-inputs: New file.
26866         * benchtests/acosh-inputs: New file.
26867         * benchtests/asin-inputs: New file.
26868         * benchtests/asinh-inputs: New file.
26869         * benchtests/atanh-inputs: New file.
26870         * benchtests/cosh-inputs: New file.
26871         * benchtests/log-inputs: New file.
26872         * benchtests/sinh-inputs: New file.
26873         * benchtests/tanh-inputs: New file.
26875 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26877         [BZ #15339]
26878         * posix/tst-getaddrinfo4.c: New test.
26879         * posix/Makefile (tests): Add it.
26881 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26883         [BZ #15339]
26884         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26885         when no services were used.
26886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26887         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26889 2013-05-21  Andreas Schwab  <schwab@suse.de>
26891         [BZ #15014]
26892         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26893         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26894         successful.
26895         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26896         redundant variable declarations and reallocation of buffer when
26897         parsing as IPv6 address.  Always set NSS status when called from
26898         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26899         buffer too small.  Correct computation of needed size.
26900         * nss/Makefile (tests): Add test-digits-dots.
26901         * nss/test-digits-dots.c: New test.
26903 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26905         * benchtests/Makefile: Remove instructions for adding
26906         benchmark tests.
26907         * benchtests/README: New file to explain how to execute and
26908         enhance the benchmark tests.
26910 2013-05-21  Andreas Schwab  <schwab@suse.de>
26912         [BZ #15493]
26913         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26914         * setjmp/tst-sigsetjmp.c: New test.
26916 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26918         * sysdeps/x86_64/memset.S (memset): New implementation.
26919         (__bzero): Likewise.
26920         (__memset_tail): New function.
26922 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26924         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26925         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26926         __memcpy_sse2_unaligned ifunc selection.
26927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26928         Add memcpy-sse2-unaligned.S.
26929         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26930         Add: __memcpy_sse2_unaligned.
26932 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26934         [BZ #15490]
26935         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26936         math_force_eval before restoring floating-point envrionment.
26937         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26938         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26939         Likewise.
26940         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26941         <math_private.h>.
26942         (__nearbyintl): Use math_force_eval before restoring
26943         floating-point environment.
26944         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26946         * math/gen-libm-test.pl (special_functions): Remove.
26947         (parse_args): Don't handle TEST_extra.  Handle functions with no
26948         return value.
26949         * math/libm-test.inc (struct test_sincos_data): Replace with
26950         struct test_fFF_11_data.
26951         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26952         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26953         (sincos_test_data): Change element type to struct
26954         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26955         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26956         RUN_TEST_LOOP_sincos.
26957         * math/README.libm-test: Don't mention special handling of
26958         individual functions.
26959         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26960         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26961         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26962         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26963         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26966         * math/gen-libm-test.pl (get_variable): Remove function.
26967         (parse_args): Don't show pointer parameters to call in test
26968         names.  Use "extra output N" in test names for extra outputs
26969         rather than naming variables.
26971 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26973         [BZ #15488]
26974         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26975         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26976         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26977         double tests.
26978         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26979         disable.
26980         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26981         check_long_double.
26983         * math/gen-libm-test.pl (@tests): Remove variable.
26984         ($count): Likewise.
26985         (new_test): Remove function.
26986         (show_exceptions): New function.
26987         (special_functions): Use show_exceptions instead of new_test.
26988         (parse_args): Likewise.
26989         (generate_testfile): Pass only function name in generated call to
26990         print_max_error or print_complex_max_error.
26991         (get_ulps): Do not handle complex tests specially.
26992         (output_test): Rename to ...
26993         (get_all_ulps_for_test): ... this.  Return a string rather than
26994         printing to a file.  Require ulps to be present.
26995         (output_ulps): Generate arrays rather than #defines.
26996         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26997         (struct ulp_data): New type.
26998         (BUILD_COMPLEX_ULP): Remove macro.
26999         (compare_ulp_data): New function.
27000         (find_ulps): Likewise.
27001         (find_test_ulps): Likewise.
27002         (find_function_ulps): Likewise.
27003         (find_complex_function_ulps): Likewise.
27004         (print_max_error): Determine allowed ulps using
27005         find_function_ulps.
27006         (print_complex_max_error): Determine allowed ulps using
27007         find_complex_function_ulps.
27008         (check_float_internal): Determine max ulps using find_test_ulps.
27009         (check_float): Do not take max_ulp parameter.  Update call to
27010         check_float_internal.
27011         (check_complex): Likewise.
27012         (check_int): Do not take max_ulp parameter.
27013         (check_long): Likewise.
27014         (check_bool): Likewise.
27015         (check_longlong): Likewise.
27016         (struct test_f_f_data): Remove max_ulp field.
27017         (struct test_ff_f_data): Likewise.
27018         (struct test_ff_f_data_nexttoward): Likewise.
27019         (struct test_fi_f_data): Likewise.
27020         (struct test_fl_f_data): Likewise.
27021         (struct test_if_f_data): Likewise.
27022         (struct test_fff_f_data): Likewise.
27023         (struct test_c_f_data): Likewise.
27024         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27025         (struct test_fF_f1_data): Likewise.
27026         (struct test_ffI_f1_data): Likewise.
27027         (struct test_c_c_data): Remove max_ulp field.
27028         (struct test_cc_c_data): Likewise.
27029         (struct test_f_i_data): Likewise.
27030         (struct test_ff_i_data): Likewise.
27031         (struct test_f_l_data): Likewise.
27032         (struct test_f_L_data): Likewise.
27033         (struct test_sincos_data): Likewise.
27034         (RUN_TEST_f_f): Do not handle ulps.
27035         (RUN_TEST_LOOP_f_f): Likewise.
27036         (RUN_TEST_2_f): Likewise.
27037         (RUN_TEST_LOOP_2_f): Likewise.
27038         (RUN_TEST_fff_f): Likewise.
27039         (RUN_TEST_LOOP_fff_f): Likewise.
27040         (RUN_TEST_c_f): Likewise.
27041         (RUN_TEST_LOOP_c_f): Likewise.
27042         (RUN_TEST_f_f1): Likewise.
27043         (RUN_TEST_LOOP_f_f1): Likewise.
27044         (RUN_TEST_fF_f1): Likewise.
27045         (RUN_TEST_LOOP_fF_f1): Likewise.
27046         (RUN_TEST_fI_f1): Likewise.
27047         (RUN_TEST_LOOP_fI_f1): Likewise.
27048         (RUN_TEST_ffI_f1): Likewise.
27049         (RUN_TEST_LOOP_ffI_f1): Likewise.
27050         (RUN_TEST_c_c): Likewise.
27051         (RUN_TEST_LOOP_c_c): Likewise.
27052         (RUN_TEST_cc_c): Likewise.
27053         (RUN_TEST_LOOP_cc_c): Likewise.
27054         (RUN_TEST_f_i): Likewise.
27055         (RUN_TEST_LOOP_f_i): Likewise.
27056         (RUN_TEST_f_i_tg): Likewise.
27057         (RUN_TEST_LOOP_f_i_tg): Likewise.
27058         (RUN_TEST_ff_i_tg): Likewise.
27059         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27060         (RUN_TEST_f_b): Likewise.
27061         (RUN_TEST_LOOP_f_b): Likewise.
27062         (RUN_TEST_f_b_tg): Likewise.
27063         (RUN_TEST_LOOP_f_b_tg): Likewise.
27064         (RUN_TEST_f_l): Likewise.
27065         (RUN_TEST_LOOP_f_l): Likewise.
27066         (RUN_TEST_f_L): Likewise.
27067         (RUN_TEST_LOOP_f_L): Likewise.
27068         (RUN_TEST_sincos): Likewise.
27069         (RUN_TEST_LOOP_sincos): Likewise.
27071 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
27073         [BZ #15480]
27074         [BZ #15485]
27075         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27076         main case of finite arguments, set rounding mode to FE_TONEAREST
27077         and discard exceptions.
27078         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27079         exceptions.
27080         (remainder_tonearest_test_data): New variable.
27081         (remainder_test_tonearest): New function.
27082         (remainder_towardzero_test_data): New variable.
27083         (remainder_test_towardzero): New function.
27084         (remainder_downward_test_data): New variable.
27085         (remainder_test_downward): New function.
27086         (remainder_upward_test_data): New variable.
27087         (remainder_test_upward): New function.
27088         (main): Call the new test functions.
27090         * math/libm-test.inc (struct test_f_f1_data): Remove field
27091         extra_init.
27092         (struct test_fF_f1_data): Likewise.
27093         (struct test_ffI_f1_data): Likewise.
27094         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
27095         based on value of EXTRA_EXPECTED.
27096         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27097         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
27098         EXTRA_VAR based on value of EXTRA_EXPECTED.
27099         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27100         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
27101         EXTRA_VAR based on value of EXTRA_EXPECTED.
27102         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27103         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
27104         EXTRA_VAR based on value of EXTRA_EXPECTED.
27105         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27106         * math/gen-libm-test.pl (parse_args): Don't output initializers
27107         for extra output values.
27109         * math/libm-test.inc (check_int): Expect result to be exactly
27110         equal to expected value and do not handle ulps.
27111         (check_long): Likewise.
27112         (check_longlong): Likewise.
27114         * math/libm-test.inc (ceil_test_data): Test for "inexact"
27115         exceptions.
27116         (cimag_test_data): Likewise.
27117         (conj_test_data): Likewise.
27118         (copysign_test_data): Likewise.
27119         (cproj_test_data): Likewise.
27120         (creal_test_data): Likewise.
27121         (fabs_test_data): Likewise.
27122         (fdim_test_data): Likewise.
27123         (finite_test_data): Likewise.
27124         (floor_test_data): Likewise.
27125         (fmax_test_data): Likewise.
27126         (fmin_test_data): Likewise.
27127         (fmod_test_data): Likewise.
27128         (fpclassify_test_data): Likewise.
27129         (frexp_test_data): Likewise.
27130         (ilogb_test_data): Likewise.
27131         (isfinite_test_data): Likewise.
27132         (isgreater_test_data): Likewise.
27133         (isgreaterequal_test_data): Likewise.
27134         (isinf_test_data): Likewise.
27135         (isless_test_data): Likewise.
27136         (islessequal_test_data): Likewise.
27137         (islessgreater_test_data): Likewise.
27138         (isnan_test_data): Likewise.
27139         (isnormal_test_data): Likewise.
27140         (issignaling_test_data): Likewise.
27141         (isunordered_test_data): Likewise.
27142         (ldexp_test_data): Likewise.
27143         (lrint_test_data): Likewise.
27144         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27145         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27146         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27147         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27148         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27149         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27150         test input.
27151         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27152         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27153         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27154         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27155         that test input.
27156         (lrint_downward_test_data): Test for "inexact" exceptions.
27157         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27158         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27159         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27160         test input.
27161         (lrint_upward_test_data): Test for "inexact" exceptions.
27162         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27163         test input.
27164         (llrint_test_data): Test for "inexact" exceptions.
27165         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27166         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27167         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27168         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27169         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27170         (llrint_downward_test_data): Test for "inexact" exceptions.
27171         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27172         (llrint_upward_test_data): Test for "inexact" exceptions.
27173         (logb_test_data): Likewise.
27174         (logb_downward_test_data): Likewise.
27175         (nextafter_test_data): Likewise.
27176         (nexttoward_test_data): Likewise.
27177         (remainder_test_data): Likewise.
27178         (remquo_test_data): Likewise.
27179         (scalbn_test_data): Likewise.
27180         (scalbln_test_data): Likewise.
27181         (signbit_test_data): Likewise.
27182         (sqrt_test_data): Likewise.
27183         (significand_test_data): Likewise.
27185 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27187         [BZ #15424]
27188         * benchtests/bench-modf.c (struct args): Mark arg0 as
27189         volatile.
27190         * scripts/bench.pl: Mark members of struct args as volatile.
27192 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27194         [BZ # 15497]
27195         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27196         negative infinity on POWER6 or lower.
27197         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27199 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27201         [BZ #15442]
27202         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27203         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27204         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27205         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27206         (_FP_SETQNAN): New macro.
27207         (_FP_SETQNAN_SEMIRAW): Likewise.
27208         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27209         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27210         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27211         (FP_EXTEND): Use _FP_FRAC_SNANP.
27212         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27213         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27214         into account.
27215         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27216         New macro.
27217         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27218         Likewise.
27220 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27222         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27223         with DIVIDE_BY_ZERO_EXCEPTION.
27224         (gamma_test_data): Likewise.
27225         (lgamma_test_data): Likewise.
27226         (log_test_data): Likewise.
27227         (log10_test_data): Likewise.
27228         (log2_test_data): Likewise.
27229         (tgamma_test_data): Likewise.
27231         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27232         (acos_test_tonearest): Likewise.
27233         (acos_test_towardzero): Likewise.
27234         (acos_test_downward): Likewise.
27235         (acos_test_upward): Likewise.
27236         (acosh_test): Likewise.
27237         (asin_test): Likewise.
27238         (asin_test_tonearest): Likewise.
27239         (asin_test_towardzero): Likewise.
27240         (asin_test_downward): Likewise.
27241         (asin_test_upward): Likewise.
27242         (asinh_test): Likewise.
27243         (atan_test): Likewise.
27244         (atanh_test): Likewise.
27245         (atan2_test): Likewise.
27246         (cabs_test): Likewise.
27247         (cacos_test): Likewise.
27248         (cacosh_test): Likewise.
27249         (casin_test): Likewise.
27250         (casinh_test): Likewise.
27251         (catan_test): Likewise.
27252         (catanh_test): Likewise.
27253         (cbrt_test): Likewise.
27254         (ccos_test): Likewise.
27255         (ccosh_test): Likewise.
27256         (cexp_test): Likewise.
27257         (clog_test): Likewise.
27258         (clog10_test): Likewise.
27259         (cos_test): Likewise.
27260         (cos_test_tonearest): Likewise.
27261         (cos_test_towardzero): Likewise.
27262         (cos_test_downward): Likewise.
27263         (cos_test_upward): Likewise.
27264         (cosh_test): Likewise.
27265         (cosh_test_tonearest): Likewise.
27266         (cosh_test_towardzero): Likewise.
27267         (cosh_test_downward): Likewise.
27268         (cosh_test_upward): Likewise.
27269         (cpow_test): Likewise.
27270         (csin_test): Likewise.
27271         (csinh_test): Likewise.
27272         (csqrt_test): Likewise.
27273         (ctan_test): Likewise.
27274         (ctan_test_tonearest): Likewise.
27275         (ctan_test_towardzero): Likewise.
27276         (ctan_test_downward): Likewise.
27277         (ctan_test_upward): Likewise.
27278         (ctanh_test): Likewise.
27279         (ctanh_test_tonearest): Likewise.
27280         (ctanh_test_towardzero): Likewise.
27281         (ctanh_test_downward): Likewise.
27282         (ctanh_test_upward): Likewise.
27283         (erf_test): Likewise.
27284         (erfc_test): Likewise.
27285         (exp_test): Likewise.
27286         (exp_test_tonearest): Likewise.
27287         (exp_test_towardzero): Likewise.
27288         (exp_test_downward): Likewise.
27289         (exp_test_upward): Likewise.
27290         (exp10_test): Likewise.
27291         (exp2_test): Likewise.
27292         (expm1_test): Likewise.
27293         (fmod_test): Likewise.
27294         (gamma_test): Likewise.
27295         (hypot_test): Likewise.
27296         (j0_test): Likewise.
27297         (j1_test): Likewise.
27298         (jn_test): Likewise.
27299         (lgamma_test): Likewise.
27300         (log_test): Likewise.
27301         (log10_test): Likewise.
27302         (log1p_test): Likewise.
27303         (log2_test): Likewise.
27304         (logb_test_downward): Likewise.
27305         (pow_test): Likewise.
27306         (pow_test_tonearest): Likewise.
27307         (pow_test_towardzero): Likewise.
27308         (pow_test_downward): Likewise.
27309         (pow_test_upward): Likewise.
27310         (remainder_test): Likewise.
27311         (remquo_test): Likewise.
27312         (sin_test): Likewise.
27313         (sin_test_tonearest): Likewise.
27314         (sin_test_towardzero): Likewise.
27315         (sin_test_downward): Likewise.
27316         (sin_test_upward): Likewise.
27317         (sincos_test): Likewise.
27318         (sinh_test): Likewise.
27319         (sinh_test_tonearest): Likewise.
27320         (sinh_test_towardzero): Likewise.
27321         (sinh_test_downward): Likewise.
27322         (sinh_test_upward): Likewise.
27323         (sqrt_test): Likewise.
27324         (tan_test): Likewise.
27325         (tan_test_tonearest): Likewise.
27326         (tan_test_towardzero): Likewise.
27327         (tan_test_downward): Likewise.
27328         (tan_test_upward): Likewise.
27329         (tanh_test): Likewise.
27330         (tgamma_test): Likewise.
27331         (y0_test): Likewise.
27332         (y1_test): Likewise.
27333         (yn_test): Likewise.
27335         * math/gen-libm-test.pl (adjust_arg): Remove function.
27336         (special_function): Remove argument $in_func.  Only handle
27337         generating output for tables of tests, not inside functions.
27338         (parse_args): Likewise.
27339         (generate_testfile): Remove variable $in_func.  Update call to
27340         parse_args.
27341         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27342         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27343         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27344         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27345         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27346         (MAX_VALUE_INIT): Rename macro to max_value.
27347         (MIN_VALUE_INIT): Rename macro to min_value.
27348         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27349         (plus_zero): Remove variable.
27350         (minus_zero): Likewise.
27351         (plus_infty): Likewise.
27352         (minus_infty): Likewise.
27353         (qnan_value): Likewise.
27354         (max_value): Likewise.
27355         (min_value): Likewise.
27356         (min_subnorm_value): Likewise.
27358 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27360         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27361         uint64_t or uint32_t usage.
27362         * crypt/sha256-block.c: Likewise.
27363         * crypt/sha256-crypt.c: Likewise.
27364         * crypt/sha256.c: Likewise.
27365         * crypt/sha512-block.c: Likewise.
27366         * crypt/sha512-crypt.c: Likewise.
27367         * crypt/sha512.c: Likewise.
27368         * debug/backtrace-tst.c: Likewise.
27369         * debug/pcprofiledump.c: Likewise.
27370         * elf/cache.c: Likewise.
27371         * elf/dl-cache.c: Likewise.
27372         * elf/dl-misc.c: Likewise.
27373         * elf/dl-profile.c: Likewise.
27374         * elf/dl-support.c: Likewise.
27375         * elf/ldconfig.c: Likewise.
27376         * elf/sprof.c: Likewise.
27377         * iconv/dummy-repertoire.c: Likewise.
27378         * iconv/iconv_charmap.c: Likewise.
27379         * iconv/skeleton.c: Likewise.
27380         * iconvdata/8bit-generic.c: Likewise.
27381         * iconvdata/cp737.h: Likewise.
27382         * iconvdata/cp775.h: Likewise.
27383         * iconvdata/ibm1008.h: Likewise.
27384         * iconvdata/ibm1025.h: Likewise.
27385         * iconvdata/ibm1046.h: Likewise.
27386         * iconvdata/ibm1097.h: Likewise.
27387         * iconvdata/ibm1112.h: Likewise.
27388         * iconvdata/ibm1122.h: Likewise.
27389         * iconvdata/ibm1123.h: Likewise.
27390         * iconvdata/ibm1124.h: Likewise.
27391         * iconvdata/ibm1129.h: Likewise.
27392         * iconvdata/ibm1130.h: Likewise.
27393         * iconvdata/ibm1132.h: Likewise.
27394         * iconvdata/ibm1133.h: Likewise.
27395         * iconvdata/ibm1137.h: Likewise.
27396         * iconvdata/ibm1140.h: Likewise.
27397         * iconvdata/ibm1141.h: Likewise.
27398         * iconvdata/ibm1142.h: Likewise.
27399         * iconvdata/ibm1143.h: Likewise.
27400         * iconvdata/ibm1144.h: Likewise.
27401         * iconvdata/ibm1145.h: Likewise.
27402         * iconvdata/ibm1146.h: Likewise.
27403         * iconvdata/ibm1147.h: Likewise.
27404         * iconvdata/ibm1148.h: Likewise.
27405         * iconvdata/ibm1149.h: Likewise.
27406         * iconvdata/ibm1153.h: Likewise.
27407         * iconvdata/ibm1154.h: Likewise.
27408         * iconvdata/ibm1155.h: Likewise.
27409         * iconvdata/ibm1156.h: Likewise.
27410         * iconvdata/ibm1157.h: Likewise.
27411         * iconvdata/ibm1158.h: Likewise.
27412         * iconvdata/ibm1160.h: Likewise.
27413         * iconvdata/ibm1161.h: Likewise.
27414         * iconvdata/ibm1162.h: Likewise.
27415         * iconvdata/ibm1163.h: Likewise.
27416         * iconvdata/ibm1164.h: Likewise.
27417         * iconvdata/ibm1166.h: Likewise.
27418         * iconvdata/ibm1167.h: Likewise.
27419         * iconvdata/ibm12712.h: Likewise.
27420         * iconvdata/ibm1390.h: Likewise.
27421         * iconvdata/ibm1399.h: Likewise.
27422         * iconvdata/ibm16804.h: Likewise.
27423         * iconvdata/ibm4517.h: Likewise.
27424         * iconvdata/ibm4899.h: Likewise.
27425         * iconvdata/ibm4909.h: Likewise.
27426         * iconvdata/ibm4971.h: Likewise.
27427         * iconvdata/ibm5347.h: Likewise.
27428         * iconvdata/ibm803.h: Likewise.
27429         * iconvdata/ibm856.h: Likewise.
27430         * iconvdata/ibm901.h: Likewise.
27431         * iconvdata/ibm902.h: Likewise.
27432         * iconvdata/ibm9030.h: Likewise.
27433         * iconvdata/ibm9066.h: Likewise.
27434         * iconvdata/ibm921.h: Likewise.
27435         * iconvdata/ibm922.h: Likewise.
27436         * iconvdata/ibm9448.h: Likewise.
27437         * iconvdata/isiri-3342.h: Likewise.
27438         * iconvdata/jis0201.h: Likewise.
27439         * include/link.h: Likewise.
27440         * include/netdb.h: Likewise.
27441         * inet/check_native.c: Likewise.
27442         * inet/check_pf.c: Likewise.
27443         * inet/getipv4sourcefilter.c: Likewise.
27444         * inet/getnameinfo.c: Likewise.
27445         * inet/getsourcefilter.c: Likewise.
27446         * inet/htonl.c: Likewise.
27447         * inet/setipv4sourcefilter.c: Likewise.
27448         * inet/setsourcefilter.c: Likewise.
27449         * inet/test-inet6_opt.c: Likewise.
27450         * inet/tst-network.c: Likewise.
27451         * locale/C-collate.c: Likewise.
27452         * locale/C-ctype.c: Likewise.
27453         * locale/C-time.c: Likewise.
27454         * locale/C-translit.h: Likewise.
27455         * locale/loadarchive.c: Likewise.
27456         * locale/programs/3level.h: Likewise.
27457         * locale/programs/charmap.c: Likewise.
27458         * locale/programs/charmap.h: Likewise.
27459         * locale/programs/ld-address.c: Likewise.
27460         * locale/programs/ld-collate.c: Likewise.
27461         * locale/programs/ld-ctype.c: Likewise.
27462         * locale/programs/ld-identification.c: Likewise.
27463         * locale/programs/ld-measurement.c: Likewise.
27464         * locale/programs/ld-messages.c: Likewise.
27465         * locale/programs/ld-monetary.c: Likewise.
27466         * locale/programs/ld-name.c: Likewise.
27467         * locale/programs/ld-numeric.c: Likewise.
27468         * locale/programs/ld-paper.c: Likewise.
27469         * locale/programs/ld-telephone.c: Likewise.
27470         * locale/programs/ld-time.c: Likewise.
27471         * locale/programs/linereader.c: Likewise.
27472         * locale/programs/locale.c: Likewise.
27473         * locale/programs/locarchive.c: Likewise.
27474         * locale/programs/locfile.h: Likewise.
27475         * locale/programs/repertoire.c: Likewise.
27476         * locale/programs/simple-hash.c: Likewise.
27477         * locale/programs/simple-hash.h: Likewise.
27478         * malloc/memusage.c: Likewise.
27479         * malloc/memusagestat.c: Likewise.
27480         * nis/nis_defaults.c: Likewise.
27481         * nis/nis_hash.c: Likewise.
27482         * nis/nis_print.c: Likewise.
27483         * nis/nis_xdr.c: Likewise.
27484         * nscd/connections.c: Likewise.
27485         * nscd/hstcache.c: Likewise.
27486         * nscd/nscd_gethst_r.c: Likewise.
27487         * nscd/nscd_getserv_r.c: Likewise.
27488         * nscd/nscd_helper.c: Likewise.
27489         * nscd/servicescache.c: Likewise.
27490         * nss/makedb.c: Likewise.
27491         * nss/nss_db/db-XXX.c: Likewise.
27492         * nss/nss_db/db-initgroups.c: Likewise.
27493         * nss/nss_db/db-netgrp.c: Likewise.
27494         * nss/nss_files/files-network.c: Likewise.
27495         * nss/nss_files/files-parse.c: Likewise.
27496         * posix/bug-regex5.c: Likewise.
27497         * posix/fnmatch_loop.c: Likewise.
27498         * posix/regcomp.c: Likewise.
27499         * posix/regexec.c: Likewise.
27500         * posix/tst-rfc3484-2.c: Likewise.
27501         * posix/tst-rfc3484-3.c: Likewise.
27502         * posix/tst-rfc3484.c: Likewise.
27503         * resolv/nss_dns/dns-canon.c: Likewise.
27504         * resolv/nss_dns/dns-network.c: Likewise.
27505         * resolv/res_init.c: Likewise.
27506         * resolv/res_mkquery.c: Likewise.
27507         * resolv/tst-aton.c: Likewise.
27508         * stdlib/cxa_atexit.c: Likewise.
27509         * stdlib/cxa_finalize.c: Likewise.
27510         * stdlib/gen-fpioconst.c: Likewise.
27511         * stdlib/strtol_l.c: Likewise.
27512         * string/tst-endian.c: Likewise.
27513         * sunrpc/auth_des.c: Likewise.
27514         * sunrpc/clnt_udp.c: Likewise.
27515         * sunrpc/rtime.c: Likewise.
27516         * sunrpc/svcauth_des.c: Likewise.
27517         * sunrpc/xdr.c: Likewise.
27518         * sunrpc/xdr_intXX_t.c: Likewise.
27519         * sunrpc/xdr_rec.c: Likewise.
27520         * sysdeps/generic/ldconfig.h: Likewise.
27521         * sysdeps/generic/ldsodefs.h: Likewise.
27522         * sysdeps/generic/memusage.h: Likewise.
27523         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27524         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27525         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27526         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27527         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27528         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27529         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27530         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27531         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27532         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27533         * sysdeps/posix/getaddrinfo.c: Likewise.
27534         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27535         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27536         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27537         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27538         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27539         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27540         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27541         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27542         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27543         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27544         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27545         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27546         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27547         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27548         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27549         * sysdeps/x86_64/dl-tls.h: Likewise.
27550         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27551         * time/alt_digit.c: Likewise.
27552         * time/era.c: Likewise.
27553         * wcsmbs/tst-c16c32-1.c: Likewise.
27555 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27557         * math/libm-test.inc (struct test_sincos_data): New type.
27558         (RUN_TEST_LOOP_sincos): New macro.
27559         (sincos_test_data): New variable.
27560         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27562 2013-05-16  Richard Henderson  <rth@redhat.com>
27564         * math/atest-exp2.c (LIMB64): New macro.
27565         (CONSTSZ): New macro.
27566         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27567         (hexdig): Move ...
27568         (print_mpn_fp): ... to function scope.
27569         (read_mpn_hex): Remove.
27570         (get_log2): Remove.
27571         (exp2_mpn): Use mp_log2.
27572         (main): Use mp_exp1.
27574 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27576         * math/libm-test.inc: Remove comment about not testing "inexact"
27577         exceptions.
27578         (INEXACT_EXCEPTION): New macro.
27579         (NO_INEXACT_EXCEPTION): Likewise.
27580         (INVALID_EXCEPTION_OK): Update value.
27581         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27582         (OVERFLOW_EXCEPTION_OK): Likewise.
27583         (UNDERFLOW_EXCEPTION_OK): Likewise.
27584         (IGNORE_ZERO_INF_SIGN): Likewise.
27585         (ERRNO_UNCHANGED): Likewise.
27586         (ERRNO_EDOM): Likewise.
27587         (ERRNO_ERANGE): Likewise.
27588         (test_exceptions): Handle testing "inexact" exceptions.
27589         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27590         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27591         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27592         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27593         INEXACT_EXCEPTION.
27594         (rint_towardzero_test_data): Likewise.
27595         (rint_downward_test_data): Likewise.
27596         (rint_upward_test_data): Likewise.
27598         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27599         with OVERFLOW_EXCEPTION.
27600         (exp10_test_data): Likewise.
27601         (exp2_test_data): Likewise.
27602         (expm1_test_data): Likewise.
27603         (lgamma_test_data): Likewise.
27604         (pow_test_data): Likewise.
27605         (tgamma_test_data): Likewise.
27606         (yn_test_data): Remove duplicate test of overflow.
27608         * math/libm-test.inc (struct test_cc_c_data): New type.
27609         (RUN_TEST_LOOP_cc_c): New macro.
27610         (cpow_test_data): New variable.
27611         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27613         * math/libm-test.inc (struct test_f_L_data): New type.
27614         (RUN_TEST_LOOP_f_L): New macro.
27615         (llrint_test_data): New variable.
27616         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27617         (llrint_tonearest_test_data): New variable.
27618         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27619         (llrint_towardzero_test_data): New variable.
27620         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27621         (llrint_downward_test_data): New variable.
27622         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27623         (llrint_upward_test_data): New variable.
27624         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27625         (llround_test_data): New variable.
27626         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27628 2013-05-13  Peter Collingbourne  <pcc@google.com>
27630         * math/atest-exp2.c (get_log2): Remove const attribute.
27632 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27634         * math/libm-test.inc (struct test_f_l_data): New type.
27635         (RUN_TEST_LOOP_f_l): New macro.
27636         (lrint_test_data): New variable.
27637         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27638         (lrint_tonearest_test_data): New variable.
27639         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27640         (lrint_towardzero_test_data): New variable.
27641         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27642         (lrint_downward_test_data): New variable.
27643         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27644         (lrint_upward_test_data): New variable.
27645         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27646         (lround_test_data): New variable.
27647         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27649 2013-05-15  Peter Collingbourne  <pcc@google.com>
27651         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27652         (EXTRACT_WORDS64) Use where appropriate.
27653         (INSERT_WORDS64) Likewise.
27655         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27656         constraints with x constraints.
27657         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27659         * malloc/obstack.c (_obstack_compat): Add initializer.
27661 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27663         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27664         si_trapno and add si_addr_lsb to _sifields.sigfault.
27665         (si_trapno): Remove macro.
27666         (si_addr_lsb): Define new macro.
27667         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27669 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27671         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27672         instead of TEST_f_l.
27673         (llrint_test_tonearest): Likewise.
27674         (llrint_test_towardzero): Likewise.
27675         (llrint_test_downward): Likewise.
27676         (llrint_test_upward): Likewise.
27677         (llround_test): Likewise.
27679         * math/libm-test.inc (struct test_f_i_data): Add comment.
27680         (RUN_TEST_LOOP_f_b): New macro.
27681         (RUN_TEST_LOOP_f_b_tg): Likewise.
27682         (finite_test_data): New variable.
27683         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27684         (isfinite_test_data): New variable.
27685         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27686         (isinf_test_data): New variable.
27687         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27688         (isnan_test_data): New variable.
27689         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27690         (isnormal_test_data): New variable.
27691         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27692         (issignaling_test_data): New variable.
27693         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27694         (signbit_test_data): New variable.
27695         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27697         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27698         with INVALID_EXCEPTION.
27699         (acosh_test_data): Likewise.
27700         (asin_test_data): Likewise.
27701         (atanh_test_data): Likewise.
27702         (fmod_test_data): Likewise.
27703         (log_test_data): Likewise.
27704         (log10_test_data): Likewise.
27705         (log2_test_data): Likewise.
27706         (pow_test_data): Likewise.
27707         (sqrt_test_data): Likewise.
27708         (y0_test_data): Likewise.
27709         (y1_test_data): Likewise.
27710         (yn_test_data): Likewise.
27712         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27713         function contents.
27715         * math/libm-test.inc (struct test_ff_i_data): New type.
27716         (RUN_TEST_LOOP_ff_i_tg): New macro.
27717         (isgreater_test_data): New variable.
27718         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27719         (isgreaterequal_test_data): New variable.
27720         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27721         (isless_test_data): New variable.
27722         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27723         (islessequal_test_data): New variable.
27724         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27725         (islessgreater_test_data): New variable.
27726         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27727         (isunordered_test_data): New variable.
27728         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27730 2013-05-14  David S. Miller  <davem@davemloft.net>
27732         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27734 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27736         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27738         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27739         extra_test to int.
27740         (struct test_f_i_data): Change type of max_ulp to int.
27742         * math/libm-test.inc (test_ffI_f1_data): New type.
27743         (RUN_TEST_LOOP_ffI_f1): New macro.
27744         (remquo_test_data): New variable.
27745         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27747         * setjmp/tst-setjmp-fp.c: New file.
27748         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27749         (link-libm): New variable.
27750         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27752         * math/libm-test.inc (struct test_f_i_data): New type.
27753         (RUN_TEST_LOOP_f_i): New macro.
27754         (RUN_TEST_LOOP_f_i_tg): Likewise.
27755         (fpclassify_test_data): New variable.
27756         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27757         (ilogb_test_data): New variable.
27758         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27760         * math/libm-test.inc (scalbln_test): Correct function name in END
27761         call.
27763         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27764         (RUN_TEST_LOOP_fI_f1): New macro.
27765         (frexp_test_data): New variable.
27766         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27768         * math/libm-test.inc (struct test_fF_f1_data): New type.
27769         (RUN_TEST_LOOP_fF_f1): New macro.
27770         (modf_test_data): New variable.
27771         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27773         * math/libm-test.inc (struct test_f_f1_data): New type.
27774         (RUN_TEST_LOOP_f_f1): New macro.
27775         (gamma_test_data): New variable.
27776         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27777         (lgamma_test_data): New variable.
27778         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27780 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27782         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27783         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27784         (main): Comment "tls" pseudo-hwcap.
27786 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27788         * math/libm-test.inc (struct test_fl_f_data): New type.
27789         (RUN_TEST_LOOP_fl_f): New variable.
27790         (scalbln_test_data): New variable.
27791         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27793         * math/libm-test.inc (struct test_fi_f_data): New type.
27794         (RUN_TEST_LOOP_fi_f): New macro.
27795         (ldexp_test_data): New variable.
27796         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27797         (scalbn_test_data): New variable.
27798         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27800         * math/libm-test.inc (struct test_c_f_data): New type.
27801         (RUN_TEST_LOOP_c_f): New macro.
27802         (cabs_test_data): New variable.
27803         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27804         (carg_test_data): New variable.
27805         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27806         (cimag_test_data): New variable.
27807         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27808         (creal_test_data): New variable.
27809         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27811         * math/libm-test.inc (struct test_if_f_data): New type.
27812         (RUN_TEST_LOOP_if_f): New macro.
27813         (jn_test_data): New variable.
27814         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27815         (yn_test_data): New variable.
27816         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27818         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27820 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27822         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27823         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27825 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27827         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27828         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27829         (bench-deps): Add bench-timing.h.
27830         * benchtests-bench-skeleton.c: Include bench-timing.h.
27831         (main): Use TIMING_* macros instead of clock_gettime.
27832         * benchtests/bench-timing.h: New file.
27834         [BZ #14582]
27835         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27836         Renamed from _LIB_VERSION.
27837         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27839 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27841         * math/libm-test.inc (struct test_fff_f_data): New type.
27842         (RUN_TEST_LOOP_fff_f): New macro.
27843         (fma_test_data): New variable.
27844         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27845         (fma_towardzero_test_data): New variable.
27846         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27847         (fma_downward_test_data): New variable.
27848         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27849         (fma_upward_test_data): New variable.
27850         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27852         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27853         (struct test_c_c_data): New type.
27854         (RUN_TEST_LOOP_c_c): New macro.
27855         (cacos_test_data): New variable.
27856         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27857         (cacosh_test_data): New variable.
27858         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27859         (casin_test_data): New variable.
27860         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27861         (casinh_test_data): New variable.
27862         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27863         (catan_test_data): New variable.
27864         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27865         (catanh_test_data): New variable.
27866         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27867         (ccos_test_data): New variable.
27868         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27869         (ccosh_test_data): New variable.
27870         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27871         (cexp_test_data): New variable.
27872         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27873         (clog_test_data): New variable.
27874         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27875         (clog10_test_data): New variable.
27876         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27877         (conj_test_data): New variable.
27878         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27879         (cproj_test_data): New variable.
27880         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27881         (csin_test_data): New variable.
27882         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27883         (csinh_test_data): New variable.
27884         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27885         (csqrt_test_data): New variable.
27886         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27887         (ctan_test_data): New variable.
27888         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27889         (ctan_tonearest_test_data): New variable.
27890         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27891         (ctan_towardzero_test_data): New variable.
27892         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27893         (ctan_downward_test_data): New variable.
27894         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27895         (ctan_upward_test_data): New variable.
27896         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27897         (ctanh_test_data): New variable.
27898         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27899         (ctanh_tonearest_test_data): New variable.
27900         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27901         (ctanh_towardzero_test_data): New variable.
27902         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27903         (ctanh_downward_test_data): New variable.
27904         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27905         (ctanh_upward_test_data): New variable.
27906         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27907         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27908         of BUILD_COMPLEX.
27910         * math/libm-test.inc (struct test_ff_f_data): New type.
27911         (struct test_ff_f_data_nexttoward): Likewise.
27912         (RUN_TEST_LOOP_2_f): New macro.
27913         (RUN_TEST_LOOP_ff_f): Likewise.
27914         (atan2_test_data): New variable.
27915         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27916         (copysign_test_data): New variable.
27917         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27918         (fdim_test_data): New variable.
27919         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27920         (fmax_test_data): New variable.
27921         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27922         (fmin_test_data): New variable.
27923         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27924         (fmod_test_data): New variable.
27925         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27926         (hypot_test_data): New variable.
27927         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27928         (nextafter_test_data): New variable.
27929         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27930         (nexttoward_test_data): New variable.
27931         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27932         (pow_test_data): New variable.
27933         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27934         (pow_tonearest_test_data): New variable.
27935         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27936         (pow_towardzero_test_data): New variable.
27937         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27938         (pow_downward_test_data): New variable.
27939         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27940         (pow_upward_test_data): New variable.
27941         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27942         (remainder_test_data): New variable.
27943         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27944         (scalb_test_data): New variable.
27945         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27946         * sysdeps/i386/fpu/libm-test-ulps: Update.
27948 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27950         * math/libm-test.inc (fma_test): Use max_value instead of local
27951         variable fltmax.
27952         (nextafter_test): Likewise.
27954         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27955         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27956         (acos_downward_test_data): New variable.
27957         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27958         (acos_upward_test_data): New variable.
27959         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27960         (acosh_test_data): New variable.
27961         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27962         (asin_test_data): New variable.
27963         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27964         (asin_tonearest_test_data): New variable.
27965         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27966         (asin_towardzero_test_data): New variable.
27967         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27968         (asin_downward_test_data): New variable.
27969         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27970         (asin_upward_test_data): New variable.
27971         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27972         (asinh_test_data): New variable.
27973         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27974         (atan_test_data): New variable.
27975         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27976         (atanh_test_data): New variable.
27977         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27978         (cbrt_test_data): New variable.
27979         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27980         (ceil_test_data): New variable.
27981         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27982         (cos_test_data): New variable.
27983         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27984         (cos_tonearest_test_data): New variable.
27985         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27986         (cos_towardzero_test_data): New variable.
27987         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27988         (cos_downward_test_data): New variable.
27989         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27990         (cos_upward_test_data): New variable.
27991         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27992         (cosh_test_data): New variable.
27993         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27994         (cosh_tonearest_test_data): New variable.
27995         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27996         (cosh_towardzero_test_data): New variable.
27997         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27998         (cosh_downward_test_data): New variable.
27999         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28000         (cosh_upward_test_data): New variable.
28001         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28002         (erf_test_data): New variable.
28003         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28004         (erfc_test_data): New variable.
28005         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28006         (exp_test_data): New variable.
28007         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28008         (exp_tonearest_test_data): New variable.
28009         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28010         (exp_towardzero_test_data): New variable.
28011         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28012         (exp_downward_test_data): New variable.
28013         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28014         (exp_upward_test_data): New variable.
28015         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28016         (exp10_test_data): New variable.
28017         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28018         (exp2_test_data): New variable.
28019         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28020         (expm1_test_data): New variable.
28021         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28022         (fabs_test_data): New variable.
28023         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28024         (floor_test_data): New variable.
28025         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28026         (j0_test_data): New variable.
28027         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28028         (j1_test_data): New variable.
28029         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28030         (log_test_data): New variable.
28031         (log_test): Run tests with RUN_TEST_LOOP_f_f.
28032         (log10_test_data): New variable.
28033         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28034         (log1p_test_data): New variable.
28035         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28036         (log2_test_data): New variable.
28037         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28038         (logb_test_data): New variable.
28039         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28040         (logb_downward_test_data): New variable.
28041         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28042         (nearbyint_test_data): New variable.
28043         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28044         (rint_test_data): New variable.
28045         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28046         (rint_tonearest_test_data): New variable.
28047         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28048         (rint_towardzero_test_data): New variable.
28049         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28050         (rint_downward_test_data): New variable.
28051         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28052         (rint_upward_test_data): New variable.
28053         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28054         (round_test_data): New variable.
28055         (round_test): Run tests with RUN_TEST_LOOP_f_f.
28056         (sin_test_data): New variable.
28057         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28058         (sin_tonearest_test_data): New variable.
28059         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28060         (sin_towardzero_test_data): New variable.
28061         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28062         (sin_downward_test_data): New variable.
28063         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28064         (sin_upward_test_data): New variable.
28065         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28066         (sinh_test_data): New variable.
28067         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28068         (sinh_tonearest_test_data): New variable.
28069         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28070         (sinh_towardzero_test_data): New variable.
28071         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28072         (sinh_downward_test_data): New variable.
28073         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28074         (sinh_upward_test_data): New variable.
28075         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28076         (sqrt_test_data): New variable.
28077         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28078         (tan_test_data): New variable.
28079         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28080         (tan_tonearest_test_data): New variable.
28081         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28082         (tan_towardzero_test_data): New variable.
28083         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28084         (tan_downward_test_data): New variable.
28085         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28086         (tan_upward_test_data): New variable.
28087         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28088         (tanh_test_data): New variable.
28089         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28090         (tgamma_test_data): New variable.
28091         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28092         (trunc_test_data): New variable.
28093         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28094         (y0_test_data): New variable.
28095         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28096         (y1_test_data): New variable.
28097         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28098         (significand_test_data): New variable.
28099         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28101 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
28103         [BZ #12387]
28104         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28106 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28108         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28110 2013-05-10  Andreas Jaeger  <aj@suse.de>
28112         [BZ #15448]
28113         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28114         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28116 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28118         * math/gen-libm-test.pl (adjust_arg): New function.
28119         (special_functions): Handle generating output in both functions
28120         and arrays.
28121         (parse_args): Likewise.
28122         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28123         $in_func argument to parse_args.
28124         * math/libm-test.inc (struct test_f_f_data): New type.
28125         (IF_ROUND_INIT_): New macro.
28126         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28127         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28128         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28129         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28130         (ROUND_RESTORE_): Likewise.
28131         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28132         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28133         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28134         (ROUND_RESTORE_FE_UPWARD): Likewise.
28135         (RUN_TEST_LOOP_f_f): New macro.
28136         (acos_test_data): New variable.
28137         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28138         (acos_tonearest_test_data): New variable.
28139         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28141 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28143         * benchtests/bench-skeleton.c (startup): Fix coding style.
28145 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28147         [BZ #6809]
28148         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28149         negative infinity argument.
28150         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28151         negative infinity argument.
28152         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28153         negative infinity argument.
28154         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28155         domain errors.
28157 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28159         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28160         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28161         * iconv/iconv_prog.c (main): Likewise.
28162         * locale/programs/charmap-dir.c (charmap_readdir)
28163         (fopen_uncompressed): Likewise.
28164         * locale/programs/locfile.c (siblings_uncached)
28165         (write_locale_data): Use lstat64 instead of lstat.
28166         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28167         stat.
28169 2013-05-10  Andreas Jaeger  <aj@suse.de>
28171         [BZ #15395]
28172         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28173         localization.
28174         Include <locale.h>.
28176 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28178         * elf/dl-close.c (_dl_close_worker): Add comments.
28180 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28182         [BZ #15359]
28183         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28184         high part of pi/2.
28185         (__ieee754_rem_pio2l): Update comments.
28187         [BZ #15429]
28188         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28189         high part of pi/2.
28190         (__ieee754_rem_pio2l): Update comments.
28192         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28193         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28195         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28196         M_PI_4l.
28198         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28199         (M_PI_34_LOG10El): Likewise.
28200         (M_PI2_LOG10El): Likewise.
28201         (M_PI4_LOG10El): Likewise.
28202         (M_PI_LOG10El): Likewise.
28204 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28208 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28210         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28211         (MINUS_ZERO_INIT): Likewise.
28212         (PLUS_INFTY_INIT): Likewise.
28213         (MINUS_INFTY_INIT): Likewise.
28214         (QNAN_VALUE_INIT): Likewise.
28215         (MAX_VALUE_INIT): Likewise.
28216         (MIN_VALUE_INIT): Likewise.
28217         (MIN_SUBNORM_VALUE_INIT): Likewise.
28218         (plus_zero): Initialize with PLUS_ZERO_INIT.
28219         (minus_zero): Initialize with MINUS_ZERO_INIT.
28220         (plus_infty): Initialize with PLUS_INFTY_INIT.
28221         (minus_infty): Initialize with MINUS_INFTY_INIT.
28222         (qnan_value): Initialize with QNAN_VALUE_INIT.
28223         (max_value): Initialize with MAX_VALUE_INIT.
28224         (min_value): Initialize with MIN_VALUE_INIT.
28225         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28227         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28228         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28229         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28230         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28232         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28233         (RUN_TEST_2_f): Likewise.
28234         (RUN_TEST_ff_f): Likewise.
28235         (RUN_TEST_fi_f): Likewise.
28236         (RUN_TEST_fl_f): Likewise.
28237         (RUN_TEST_fff_f): Likewise.
28238         (RUN_TEST_c_f): Likewise.
28239         (RUN_TEST_f_f1): Likewise.
28240         (RUN_TEST_fF_f1): Likewise.
28241         (RUN_TEST_fI_f1): Likewise.
28242         (RUN_TEST_ffI_f1): Likewise.
28243         (RUN_TEST_c_c): Likewise.
28244         (RUN_TEST_cc_c): Likewise.
28245         (RUN_TEST_f_i): Likewise.
28246         (RUN_TEST_f_i_tg): Likewise.
28247         (RUN_TEST_ff_i_tg): Likewise.
28248         (RUN_TEST_f_b): Likewise.
28249         (RUN_TEST_f_b_tg): Likewise.
28250         (RUN_TEST_f_l): Likewise.
28251         (RUN_TEST_f_L): Likewise.
28252         (RUN_TEST_sincos): Likewise.
28253         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28254         whether to show exceptions.  Do not include ");\n" in return
28255         value.
28256         (special_functions): Output call to RUN_TEST_sincos instead of
28257         check_float calls.  Update calls to new_test.
28258         (parse_args): Output call to single RUN_TEST_* macro instead of
28259         check_* calls and other assignments.  Update calls to new_test.
28261         [BZ #2546]
28262         [BZ #2560]
28263         [BZ #5159]
28264         [BZ #15426]
28265         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28266         input to result for tgamma overflow.
28267         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28268         (gamma_coeff): New variable.
28269         (NCOEFF): New macro.
28270         (gamma_positive): New function.
28271         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28272         underflow here.  Use gamma_positive instead of exp (lgamma) for
28273         other arguments.
28274         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28275         (gamma_coeff): New variable.
28276         (NCOEFF): New macro.
28277         (gammaf_positive): New function.
28278         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28279         underflow here.  Use gamma_positive instead of exp (lgamma) for
28280         other arguments.
28281         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28282         (gamma_coeff): New variable.
28283         (NCOEFF): New macro.
28284         (gammal_positive): New function.
28285         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28286         underflow here.  Use gamma_positive instead of exp (lgamma) for
28287         other arguments.
28288         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28289         (gamma_coeff): New variable.
28290         (NCOEFF): New macro.
28291         (gammal_positive): New function.
28292         (__ieee754_gammal_r): Handle positive infinity, overflow and
28293         underflow here.  Handle NaN the same as positive infinity.  Remove
28294         check x < 0xffffffff for negative integers.  Use gamma_positive
28295         instead of exp (lgamma) for other arguments.
28296         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28297         (gamma_coeff): New variable.
28298         (NCOEFF): New macro.
28299         (gammal_positive): New function.
28300         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28301         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28302         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28303         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28304         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28305         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28306         * sysdeps/generic/math_private.h (__gamma_productf): New
28307         prototype.
28308         (__gamma_product): Likewise.
28309         (__gamma_productl): Likewise.
28310         * math/Makefile (libm-calls): Add gamma_product.
28311         * math/libm-test.inc (tgamma_test): Add more tests.
28312         * sysdeps/i386/fpu/libm-test-ulps: Update.
28313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28315 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28317         * benchtests/bench-skeleton.c (main): Preheat CPU.
28319 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28321         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28323 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28325         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28326         and _dl_skip_args_internal.
28328 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28330         * manual/message.texi (Message Translation): Talk about users.
28331         Message to key mapping impacts design.
28333 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28335         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28337         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28339         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28340         * sysdeps/wordsize-64/glob64.c: ... here.
28342         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28343         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28344         New macros.
28346         * debug/getlogin_r_chk.c: Moved to ...
28347         * login/getlogin_r_chk.c: ... here.
28348         * debug/Makefile (routines): Move getlogin_r_chk to ...
28349         * login/Makefile (routines): ... here.
28350         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28351         * login/Versions (libc: GLIBC_2.4): ... here.
28353         * io/poll.c (__poll): Renamed from poll.
28354         Add libc_hidden_def.
28355         (poll): Define as weak alias.
28357         * debug/ptsname_r_chk.c: Moved to ...
28358         * login/ptsname_r_chk.c: ... here.
28359         * debug/Makefile (routines): Move ptsname_r_chk to ...
28360         * login/Makefile (routines): ... here.
28361         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28362         * login/Versions (libc: GLIBC_2.4): ... here.
28364         * posix/getlogin.c: Moved to ...
28365         * login/getlogin.c: ... here.
28366         * posix/getlogin_r.c: Moved to ...
28367         * login/getlogin_r.c: ... here.
28368         * posix/getlogin_r.c: Moved to ...
28369         * login/getlogin_r.c: ... here.
28370         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28371         * login/Makefile (routines): ... here.
28372         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28373         * login/Versions (libc: GLIBC_2.0): ... here.
28375         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28376         (setrlimit): Define as weak alias.
28378         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28379         Call __ names for open, ftruncate, and close.
28380         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28381         (truncate): Define as weak alias.
28383 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28385         * math/gen-libm-test.pl (parse_args): Initialize x before each
28386         test of frexp, modf and remquo.
28388         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28389         test signgam value.
28391 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28393         [BZ #15418]
28394         [BZ #15419]
28395         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28396         internal tests.
28397         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28399 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28401         * elf/dl-writev.h: New file.
28402         * elf/dl-misc.c: Include it.
28403         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28404         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28406 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28408         * math/libm-test.inc (noXFails): Remove variable.
28409         (noXPasses): Likewise.
28410         (BUILD_COMPLEX_INT): Remove macro.
28411         (print_screen): Remove xfail argument.
28412         (print_screen_max_error): Likewise.
28413         (update_stats): Likewise.
28414         (print_max_error): Likewise.  Update calls to other affected
28415         functions.
28416         (print_complex_max_error): Likewise.
28417         (test_single_exception): Update calls to print_screen.
28418         (test_single_errno): Likewise.
28419         (check_float_internal): Remove xfail argument.  Update calls to
28420         other affected functions.
28421         (check_float): Likewise.
28422         (check_complex): Likewise.
28423         (check_int): Likewise.
28424         (check_long): Likewise.
28425         (check_bool): Likewise.
28426         (check_longlong): Likewise.
28427         (main): Don't print noXFails and noXPasses.
28428         * math/gen-libm-test.pl (top level): Don't mention expected
28429         failure handling in comment.
28430         (new_test): Don't handle expected failures.
28431         (parse_args): Don't mention expected failure handling in comment.
28432         (generate_testfile): Don't handle expected failures.
28433         (parse_ulps): Likewise.
28434         (print_ulps_file): Likewise.
28435         (get_failure): Remove function.
28436         (output_test): Don't handle expected failures.
28437         * make/README.libm-test: Don't mention expected failure handling.
28439         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28440         (minus_zero): Likewise.
28441         (plus_infty): Likewise.
28442         (minus_infty): Likewise.
28443         (qnan_value): Likewise.
28444         (max_value): Likewise.
28445         (min_value): Likewise.
28446         (min_subnorm_value): Likewise.
28447         (initialize): Do not initialize those variables dynamically.
28449 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28451         * io/open.c (__open_2): Moved to ...
28452         * io/open_2.c: ... this new file.
28453         * io/open64.c (__open64_2): Moved to ...
28454         * io/open64_2.c: ... this new file.
28455         * io/openat.c (__openat_2): Moved to ...
28456         * io/openat_2.c: ... this new file.
28457         * io/openat64.c (__openat64_2): Moved to ...
28458         * io/openat64_2.c: ... this new file.
28459         * io/Makefile (routines): Add them.
28460         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28461         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28462         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28463         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28464         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28465         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28466         (__openat64): Add hidden_ver.
28467         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28468         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28470         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28471         Separately conditionalize setting of GLRO(dl_sysinfo) so
28472         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28473         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28475 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28477         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28478         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28479         definition.
28480         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28481         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28482         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28483         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28484         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28486 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28488         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28489         test signgam value.
28491         * math/libm-test.inc (hypot_test): Do not use
28492         IGNORE_ZERO_INF_SIGN.
28494 2013-05-03  Andreas Jaeger  <aj@suse.de>
28496         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28497         Linux 3.9.
28498         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28499         (PF_MAX): Adjust for VSOCK change.
28501 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28505 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28507         [BZ #15264]
28508         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28509         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28510         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28512 2013-05-02  David S. Miller  <davem@davemloft.net>
28514         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28516 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28518         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28520 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28522         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28524 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28526         [BZ #14952]
28527         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28528         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28529         Use __attribute__ ((__gnu_inline__)).
28530         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28531         Don't use __attribute__ ((__gnu_inline__)).
28533 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28535         [BZ #15423]
28536         * math/s_catan.c (__catan): Handle small real or imaginary part of
28537         input specially to avoid spurious underflow.
28538         * math/s_catanf.c (__catanf): Likewise.
28539         * math/s_catanh.c (__catanh): Likewise.
28540         * math/s_catanhf.c (__catanhf): Likewise.
28541         * math/s_catanhl.c (__catanhl): Likewise.
28542         * math/s_catanl.c (__catanl): Likewise.
28543         * math/libm-test.inc (catan_test): Add more tests.
28544         (catanh_test): Likewise.
28545         * sysdeps/i386/fpu/libm-test-ulps: Update.
28546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28548 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28552 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28554         [BZ #15416]
28555         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28556         accurately for denominator in atan2.
28557         * math/s_catanf.c (__catanf): Likewise.
28558         * math/s_catanh.c (__catanh): Likewise.
28559         * math/s_catanhf.c (__catanhf): Likewise.
28560         * math/s_catanhl.c (__catanhl): Likewise.
28561         * math/s_catanl.c (__catanl): Likewise.
28562         * math/libm-test.inc (catan_test): Add more tests.
28563         (catanh_test): Likewise.
28564         * sysdeps/i386/fpu/libm-test-ulps: Update.
28565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28567 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28569         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28571         * benchtests/Makefile (bench): Remove slow benchmarks.
28572         * benchtests/atan-inputs: Add slow benchmark inputs.
28573         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28574         (BENCH_FUNC): Accept variant offset.
28575         (VARIANT): Define.
28576         * benchtests/bench-skeleton.c (main): Run benchmark for each
28577         variant.
28578         * benchtests/cos-inputs: Add slow benchmark inputs.
28579         * benchtests/exp-inputs: Likewise.
28580         * benchtests/pow-inputs: Likewise.
28581         * benchtests/sin-inputs: Likewise.
28582         * benchtests/slowatan-inputs: Remove.
28583         * benchtests/slowatan.c: Remove.
28584         * benchtests/slowcos-inputs: Remove.
28585         * benchtests/slowcos.c: Remove.
28586         * benchtests/slowexp-inputs: Remove.
28587         * benchtests/slowexp.c: Remove.
28588         * benchtests/slowpow-inputs: Remove.
28589         * benchtests/slowpow.c: Remove.
28590         * benchtests/slowsin-inputs: Remove.
28591         * benchtests/slowsin.c: Remove.
28592         * benchtests/slowtan-inputs: Remove.
28593         * benchtests/slowtan.c: Remove.
28594         * benchtests/tan-inputs: Add slow benchmark inputs.
28595         * scripts/bench.pl: Parse comments and directives.
28597         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28598         in CPPFLAGS.
28599         ($(objpfx)bench-%.c): Remove *-ITER.
28600         * benchtests/bench-modf.c: Remove definition of ITER.
28601         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28602         (main): Loop for DURATION seconds instead of fixed number of
28603         iterations.
28604         * scripts/bench.pl: Don't expect iterations in parameters.
28606 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28608         * io/fchdir.c (__fchdir): Renamed from fchdir.
28609         (fchdir): Define as weak alias.
28611 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28613         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28614         (ERRNO_EDOM): Likewise.
28615         (ERRNO_ERANGE): Likewise.
28616         (noErrnoTests): New variable.
28617         (init_max_error): Set errno to 0.
28618         (test_single_errno): New function.
28619         (test_errno): Likewise.
28620         (check_float_internal): Call test_errno.  Set errno to 0.
28621         (check_complex): Refer to errno tests in comment.
28622         (check_int): Call test_errno.  Set errno to 0.
28623         (check_long): Likewise.
28624         (check_bool): Likewise.
28625         (check_longlong): Likewise.
28626         (cos_test): Use ERRNO_* flags for errno tests instead of
28627         check_int.
28628         (expm1_test): Likewise.
28629         (fmod_test): Likewise.
28630         (ilogb_test): Likewise.
28631         (lgamma_test): Likewise.
28632         (pow_test): Likewise.
28633         (remainder_test): Likewise.
28634         (sin_test): Likewise.
28635         (tan_test): Likewise.
28636         (yn_test): Likewise.
28637         (initialize): Set errno to 0.
28638         (main): Print number of errno tests.
28639         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28641 2013-04-29  Andreas Jaeger  <aj@suse.de>
28643         [BZ #15084]
28644         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28645         and RES_USEVC.
28647         [BZ #15085]
28648         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28649         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28650         unimplemented.
28652         [BZ #15380]
28653         * stdlib/random.c (__initstate): Return NULL if
28654         __initstate fails.
28656         [BZ #15086]
28657         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28658         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28659         RES_SNGLKUPREOP.
28661 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28665 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28667         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28668         of individual tests.
28669         (casin_test): Likewise.
28670         (casinh_test): Likewise.
28672 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28674         [BZ #15409]
28675         * math/s_catan.c (__catan): Handle arguments with large real or
28676         imaginary part separately without squaring.
28677         * math/s_catanf.c (__catanf): Likewise.
28678         * math/s_catanh.c (__catanh): Likewise.
28679         * math/s_catanhf.c (__catanhf): Likewise.
28680         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28681         and redefine.
28682         (__catanhl): Handle arguments with large real or imaginary part
28683         separately without squaring.
28684         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28685         and redefine.
28686         (__catanl): Handle arguments with large real or imaginary part
28687         separately without squaring.
28688         * math/libm-test.inc (catan_test): Add more tests.
28689         (catanh_test): Likewise.
28690         * sysdeps/i386/fpu/libm-test-ulps: Update.
28691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28693 2013-04-27  Andreas Jaeger  <aj@suse.de>
28695         [BZ #15007]
28696         * stdlib/stdlib.h: Update guards for qecvt.
28697         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28698         <stdlib.h>.
28700 2013-04-27  Allan McRae  <allan@archlinux.org>
28702         * sysdeps/i386/fpu/libm-test-ulps: Update.
28704 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28706         [BZ #15406]
28707         * math/s_catan.c: Include <float.h>.
28708         (__catan): Ensure underflow exception occurs for underflowed
28709         result.
28710         * math/s_catanf.c: Include <float.h>.
28711         (__catanf): Ensure underflow exception occurs for underflowed
28712         result.
28713         * math/s_catanh.c: Include <float.h>.
28714         (__catanh): Ensure underflow exception occurs for underflowed
28715         result.
28716         * math/s_catanhf.c: Include <float.h>.
28717         (__catanhf): Ensure underflow exception occurs for underflowed
28718         result.
28719         * math/s_catanhl.c: Include <float.h>.
28720         (__catanhl): Ensure underflow exception occurs for underflowed
28721         result.
28722         * math/s_catanl.c: Include <float.h>.
28723         (__catanl): Ensure underflow exception occurs for underflowed
28724         result.
28725         * math/libm-test.inc (catan_test): Add more tests.
28726         (catanh_test): Likewise.
28728         [BZ #15405]
28729         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28730         underflowed result.
28731         * math/s_ccoshf.c (__ccoshf): Likewise.
28732         * math/s_ccoshl.c (__ccoshl): Likewise.
28733         * math/s_csin.c (__csin): Likewise.
28734         * math/s_csinf.c (__csinf): Likewise.
28735         * math/s_csinh.c (__csinh): Likewise.
28736         * math/s_csinhf.c (__csinhf): Likewise.
28737         * math/s_csinhl.c (__csinhl): Likewise.
28738         * math/s_csinl.c (__csinl): Likewise.
28739         * math/libm-test.inc (ccos_test): Add more tests.
28740         (ccosh_test): Likewise.
28741         (csin_test): Likewise.
28742         (csinh_test): Likewise.
28744 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28746         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28747         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28748         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28749         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28750         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28751         powerpc/power5+/fpu folders.
28752         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28755 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28757         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28759 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28761         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28762         additions to variable.
28763         [$(config-machine) = x86_64] (modules-names): Likewise.
28764         ($(objpfx)tst-audit3): Remove dependency.
28765         ($(objpfx)tst-audit3.out): Likewise.
28766         ($(objpfx)tst-audit4): Likewise.
28767         ($(objpfx)tst-audit4.out): Likewise.
28768         ($(objpfx)tst-audit5): Likewise.
28769         ($(objpfx)tst-audit5.out): Likewise.
28770         ($(objpfx)tst-audit6): Likewise.
28771         ($(objpfx)tst-audit6.out): Likewise.
28772         ($(objpfx)tst-audit7): Likewise.
28773         ($(objpfx)tst-audit7.out): Likewise.
28774         (tst-audit3-ENV): Remove variable.
28775         (tst-audit4-ENV): Likewise.
28776         (tst-audit5-ENV): Likewise.
28777         (tst-audit6-ENV): Likewise.
28778         (tst-audit7-ENV): Likewise.
28779         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28780         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28781         addition to variable.
28782         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28783         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28784         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28785         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28786         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28787         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28788         tst-audit3, tst-audit4 and tst-audit5.
28789         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28790         tst-audit6 and tst-audit7.
28791         [$(subdir) = elf] (modules-names): Add audit modules for those
28792         tests.
28793         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28794         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28795         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28796         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28797         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28798         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28799         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28800         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28801         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28802         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28803         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28804         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28805         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28806         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28807         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28808         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28809         Likewise.
28810         [$(subdir) = elf && $(config-cflags-avx) = yes]
28811         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28812         [$(subdir) = elf && $(config-cflags-avx) = yes]
28813         (CFLAGS-tst-auditmod4a.c): Likewise.
28814         [$(subdir) = elf && $(config-cflags-avx) = yes]
28815         (CFLAGS-tst-auditmod4b.c): Likewise.
28816         [$(subdir) = elf && $(config-cflags-avx) = yes]
28817         (CFLAGS-tst-auditmod6b.c): Likewise.
28818         [$(subdir) = elf && $(config-cflags-avx) = yes]
28819         (CFLAGS-tst-auditmod6c.c): Likewise.
28820         [$(subdir) = elf && $(config-cflags-avx) = yes]
28821         (CFLAGS-tst-auditmod7b.c): Likewise.
28822         * elf/tst-audit3.c: Move to ...
28823         * sysdeps/x86_64/tst-audit3.c: ... here.
28824         * elf/tst-audit4.c: Move to ...
28825         * sysdeps/x86_64/tst-audit4.c: ... here.
28826         * elf/tst-audit5.c: Move to ...
28827         * sysdeps/x86_64/tst-audit5.c: ... here.
28828         * elf/tst-audit6.c: Move to ...
28829         * sysdeps/x86_64/tst-audit6.c: ... here.
28830         * elf/tst-audit7.c: Move to ...
28831         * sysdeps/x86_64/tst-audit7.c: ... here.
28832         * elf/tst-auditmod3a.c: Move to ...
28833         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28834         * elf/tst-auditmod3b.c: Move to ...
28835         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28836         * elf/tst-auditmod4a.c: Move to ...
28837         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28838         * elf/tst-auditmod4b.c: Move to ...
28839         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28840         * elf/tst-auditmod5a.c: Move to ...
28841         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28842         * elf/tst-auditmod5b.c: Move to ...
28843         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28844         * elf/tst-auditmod6a.c: Move to ...
28845         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28846         * elf/tst-auditmod6b.c: Move to ...
28847         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28848         * elf/tst-auditmod6c.c: Move to ...
28849         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28850         * elf/tst-auditmod7a.c: Move to ...
28851         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28852         * elf/tst-auditmod7b.c: Move to ...
28853         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28855 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28857         [BZ #15366]
28858         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28859         define unconditionally.
28860         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28861         define unconditionally.
28862         (INT8_C, INT16_C, etc.): Likewise.
28864 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28866         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28867         __ehdr_start with hidden visibility.
28869         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28871 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28873         * math/libm-test.inc (cos_test): Use accurate hex constants.
28874         (sincost_test): Likewise.
28876 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28878         * math/libm-test.inc (catan_test): Add more tests.
28879         (catanh_test): Likewise.
28881         * math/s_catanf.c (__catanf): Use suffixed floating-point
28882         constants.
28883         * math/s_catanhf.c (__catanhf): Likewise.
28884         * math/s_catanhl.c (__catanhl): Likewise.
28885         * math/s_catanl.c (__catanl): Likewise.
28887         [BZ #15394]
28888         * math/s_catan.c (__catan): Calculate imaginary part of result
28889         with log1p not log unless computing log of number close to 0.
28890         * math/s_catanf.c (__catanf): Likewise.
28891         * math/s_catanl.c (__catanl): Likewise.
28892         * math/s_catanh.c (__catanh): Calculate real part of result with
28893         log1p not log unless computing log of number close to 0.
28894         * math/s_catanhf.c (__catanhf): Likewise.
28895         * math/s_catanhl.c (__catanhl): Likewise.
28896         * math/libm-test.inc (catan_test): Add more tests.
28897         (catanh_test): Likewise.
28898         * sysdeps/i386/fpu/libm-test-ulps: Update.
28899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28901 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28903         * benchtests/Makefile: Mention files in which fast and slow
28904         paths of math functions are implemented.
28906 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28908         * sysdeps/posix/timespec_get.c: New file.
28910 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28912         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28913         POWER.
28914         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28915         for POWER.
28916         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28917         powerpc/power5/fpu folders.
28918         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28919         * benchtests/Makefile: Add modf testcase.
28920         * benchtests/bench-modf.c: New file: Benchmark test for mo
28922 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28924         [BZ #14888]
28925         * time/Makefile (tests): Add tst-strptime-whitespace.
28926         * time/strptime_l.c (get_number): Use ISSPACE.
28927         (__strptime_internal): Likewise.
28928         * time/tst-strptime-whitespace.c: New test case.
28930 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28932         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28933         member.
28934         (_nss_files_init): Set it here.
28936 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28938         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28939         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28940         unsigned.
28942 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28944         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28946 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28948         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28949         size just once.
28951 2013-04-21  David S. Miller  <davem@davemloft.net>
28953         * po/ru.po: Update Russion translation from translation project.
28955 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28957         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28958         and setfsgid.
28960 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28962         * configure.in: Remove i386 configure warning. Remove i386 case.
28963         * configure: Regenerate.
28964         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28965         Add example to error message.
28966         * sysdeps/i386/configure: Regenerate.
28968 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28970         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28971         slowtan.
28972         * benchtests/cos-inputs: New file.
28973         * benchtests/slowcos-inputs: New file.
28974         * benchtests/slowcos.c: New file.
28975         * benchtests/slowtan-inputs: New file.
28976         * benchtests/slowtan.c: New file.
28977         * benchtests/tan-inputs: New file.
28979 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28981         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28982         considered kosher.
28984 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28986         * benchtests/Makefile: Include cppflags-iterator.mk to add
28987         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28989         * Makefile.in (bench-clean): New target.
28990         * benchtests/Makefile (bench-clean): Likewise.
28992 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28994         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28996 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28998         * stdio-common/tstdiomisc.c: Fix coding-style violation.
29000 2013-04-15  Andreas Schwab  <schwab@suse.de>
29002         * nscd/grpcache.c (cache_addgr): Properly check for short write.
29003         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29004         * nscd/pwdcache.c (cache_addpw): Likewise.
29005         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
29006         more than recsize.
29008 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29010         * benchtests/Makefile (bench): Write all output to
29011         bench-out.tmp together.
29013 2013-04-15  Andreas Schwab  <schwab@suse.de>
29015         * nscd/nscd.c (main): Don't fork again after closing files.
29017 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29019         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29021         * benchtests/Rules (bench-deps): Collect dependencies into a
29022         single variable.  Add Makefile to dependencies.
29023         ($(objpfx)bench-%.c): Depend on bench-deps.
29025 2013-04-12  Roland McGrath  <roland@hack.frob.com>
29026             Xavier Roche  <roche+kml2@exalead.com>
29028         [BZ #15361]
29029         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29030         just that it's a file descriptor.
29031         * manual/llio.texi (Synchronizing AIO Operations): Update description
29032         for EBADF error from aio_fsync.
29034 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29036         * Rules (bench): Move target definition...
29037         * benchtests/Makefile: ... here.
29039 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
29041         * math/libm-test.inc (cos_test): Fix PI/2 test.
29042         (sincos_test): Likewise.
29043         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29044         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29046 2013-04-11  Andreas Schwab  <schwab@suse.de>
29048         [BZ #13988]
29049         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29050         accept exponent character only when digits were seen.
29051         * stdio-common/Makefile (tests): Add bug26.
29052         * stdio-common/bug26.c: New file.
29054         [BZ #14293]
29055         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29056         non-freeable.
29058 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29060         * Makeconfig (rtld-prefix): Define built linker prefix.
29061         * Rules (run-bench): Use it.
29062         * math/Makefile (run-regen-ulps): Likewise.
29064         * Rules (bench): Remove eval.
29066 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29067             Roland McGrath  <roland@hack.frob.com>
29068             Ondrej Bilka  <neleai@seznam.cz>
29070         [BZ #15346]
29071         * time/getdate.c: Include ctype.h and alloca.h.
29072         (__getdate_r): Trim leading and trailing spaces of input.
29073         * time/tst-getdate.c (tests): Add tests with leading and
29074         trailing spaces.
29076 2013-04-08  Roland McGrath  <roland@hack.frob.com>
29078         [BZ #14280]
29079         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29080         when computing value.
29082 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29084         * math/README.libm-test (How can I generate "libm-test-ulps"?):
29085         Use testrun.sh to run libm tests.
29087         [BZ #15309]
29088         * elf/dl-open.c (dl_open_worker): memset all of seen array.
29090 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
29092         [BZ #15264]
29093         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29095 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29097         * Makefile.in (regen-ulps): New target.
29098         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29099         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29100         [ifneq (no,$(PERL)] (regen-ulps): New target.
29101         [ifeq (no,$(PERL)] (regen-ulps): New target.
29102         * math/libm-test.inc (ulps_file_name): Define.
29103         (output_dir): New variable.
29104         (options): Add "output-dir" option.
29105         (parse_opt): Handle 'o' case.
29106         (main): If output_dir is non-NULL use it as a prefix
29107         otherwise use "".
29108         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29110 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29112         [BZ #10060, #10062]
29113         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29114         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29115         fail configure if __sync_val_compare_and_swap is not inlined.
29116         * sysdeps/i386/configure: Regenerate.
29117         * configure.in: Build for i686 when configured for i386.
29118         * configure: Regenerate.
29119         * README: Remove i386 reference.
29121 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29123         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29124         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29126 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29128         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29129         (lmsnanval): New variables.
29130         (F): Add conversion tests.
29131         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29132         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29134         * stdio-common/tstdiomisc.c (F): Properly collect individual
29135         tests' results.
29137         [BZ #14686, #15336]
29138         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29139         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29140         Instead, use input NaN values or generate a qNaN by arithmetic
29141         operation.  Also fix bugs to comply with the standard.
29142         * math/libm-test.inc (remainder_test): Add more tests.
29144         [BZ #15335, #15342]
29145         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29146         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29147         input NaN values or generate a qNaN by arithmetic operation.
29149         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29150         unreachable code.
29152         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29153         definitions.
29155 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29157         [BZ #14478]
29158         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29159         underflowed result.
29160         * math/s_cexpf.c (__cexpf): Likewise.
29161         * math/s_cexpl.c (__cexpl): Likewise.
29162         * math/libm-test.inc (cexp_test): Add more tests.
29164 2013-04-03  Andreas Schwab  <schwab@suse.de>
29166         [BZ #15330]
29167         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29168         order arrays from heap if bigger than alloca cutoff.
29170 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29172         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29173         (SNAN_TESTS_double): Refer to GCC PR56831.
29174         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29175         GCC PR56828.
29177 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29179         * Rules (bench): Move bench.out after the run is complete.
29181         * Rules (bench): Echo currently running benchmark.
29183         * benchtests/Makefile (bench): Add atan and slowatan.
29184         * benchtests/atan-inputs: New file.
29185         * benchtests/slowatan-inputs: New file.
29186         * benchtests/slowatan.c: New file.
29188         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29190         its value.
29192         [BZ #15305]
29193         * sysdeps/unix/sysv/linux/kernel-features.h
29194         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29195         __ASSUME_XFS_RESTRICTED_CHOWN.
29196         * sysdeps/unix/sysv/linux/pathconf.c
29197         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29198         Save and restore errno.
29200 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29202         [BZ #15327]
29203         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29204         arguments using __kernel_casinh.
29205         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29206         arguments using __kernel_casinhf.
29207         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29208         arguments using __kernel_casinhl.
29209         * math/libm-test.inc (cacosh_test): Add more tests.
29210         * sysdeps/i386/fpu/libm-test-ulps: Update.
29211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29213 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29215         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29216         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29218         * bench/Makefile (bench): Add sin and slowsin.
29219         * benchtests/sin-inputs: New file.
29220         * benchtests/slowsin-inputs: New file.
29221         * benchtests/slowsin.c: New file.
29223         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29224         (bench): Add slowexp and slowpow.
29225         (exp-ITER): Increase iterations.
29226         (pow-ITER): Likewise.
29227         * benchtests/exp-inputs: Change input.
29228         * benchtests/pow-inputs: Likewise.
29229         * benchtests/slowexp-inputs: New file.
29230         * benchtests/slowexp.c: New file.
29231         * benchtests/slowpow-inputs: New file.
29232         * benchtests/slowpow.c: New file.
29234 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29236         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29237         instructions.
29238         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29239         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29240         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29241         * benchtests/Makefile: Add rint benchtest.
29242         * benchtests/rint-inputs: Input for rint benchtest.
29244 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29246         * Versions.def (libm): Add GLIBC_2.18.
29247         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29248         hidden libm prototypes.
29249         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29250         * math/Makefile (libm-calls): Add s_issignaling.
29251         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29252         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29253         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29254         declaration.
29255         * math/math.h [__USE_GNU] (issignaling): New macro.
29256         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29257         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29258         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29259         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29260         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29261         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29262         * manual/arith.texi (issignaling): New section.
29263         * manual/libm-err-tab.pl (@all_functions): Update comment.
29264         * math/gen-libm-test.pl (parse_args): Apply special handling for
29265         issignaling.
29266         * math/libm-test.inc (print_float, issignaling_test): New
29267         functions.
29268         (check_float_internal): Add issignaling checks.
29269         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29270         default definition.
29271         * sysdeps/powerpc/math-tests.h: New file.
29272         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29273         tests.
29274         * math/test-snan.c (TEST_FUNC): Likewise.
29276 2013-03-30  David S. Miller  <davem@davemloft.net>
29278         * po/de.po: Update from translation team.
29280 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29282         [BZ #10357]
29283         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29284         imaginary part less than 1.0 and real part less than 0.5
29285         specially.
29286         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29287         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29288         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29289         (cacos_test): Add more tests.
29290         (casin_test): Likewise.
29291         (casinh_test): Likewise.
29292         * sysdeps/i386/fpu/libm-test-ulps: Update.
29293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29295 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29297         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29298         ONE with its value.
29300         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29301         (__pow_mp): Replace ONE and MONE with their values.
29302         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29304         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29305         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29306         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29307         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29309         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29311         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29312         (__pow_mp): Replace ZERO and MZERO with their values.
29313         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29314         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29315         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29317         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29318         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29319         (__sqr): Likewise.
29321         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29323         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29325 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29327         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29328         Declare with __attribute__ ((weak)).
29329         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29330         Call __call_tls_dtors only if it's not NULL.
29332 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29334         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29335         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29336         magic __ehdr_start linker symbol if it's defined.
29337         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29338         them up here if it was already done.
29340         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29341         (_dl_aux_init): Use const in cast when setting it.
29342         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29343         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29344         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29346         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29347         Declare them here.
29348         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29349         * csu/libc-tls.c: Nor here.
29350         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29352         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29353         (__libc_message): Never call vsyslog.
29355 2013-03-28  Alan Modra  <amodra@gmail.com>
29357         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29358         Define as empty.
29359         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29360         Likewise.
29362 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29364         [BZ #15214]
29365         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29366         underflow.
29367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29369 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29371         [BZ #15304]
29372         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29373         Don't add gid passed as argument.
29375         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29377 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29379         [BZ #15307]
29380         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29381         imaginary part between 1.0 and 1.5 and real part less than 0.5
29382         specially.
29383         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29384         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29385         * math/libm-test.inc (cacos_test): Add more tests.
29386         (casin_test): Likewise.
29387         (casinh_test): Likewise.
29388         * sysdeps/i386/fpu/libm-test-ulps: Update.
29389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29391 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29393         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29394         constants.
29395         (norm): Likewise.
29396         (denorm): Likewise.
29397         (__dbl_mp): Likewise.
29398         (add_magnitudes): Likewise.
29399         (sub_magnitudes): Likewise.
29400         (__add): Likewise.
29401         (__sub): Likewise.
29402         (__mul): Likewise.
29403         (__sqr): Likewise.
29404         (__inv): Likewise.
29405         (__dvd): Likewise.
29407         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29408         commented code.
29409         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29410         (__dubcos): Likewise.
29411         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29412         (__ieee754_acos): Likewise.
29413         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29414         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29415         (__exp1): Likewise.
29416         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29417         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29418         (log1): Likewise.
29419         (my_log2): Likewise.
29420         (checkint): Likewise.
29421         * sysdeps/ieee754/dbl-64/e_remainder.c
29422         (__ieee754_remainder): Likewise.
29423         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29425         (bsloww): Likewise.
29426         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29428         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29429         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29430         MANTISSA_STORE_T to store computations on mantissa.  Use
29431         macros for rounding and division.
29432         (denorm): Likewise.
29433         (__dbl_mp): Likewise.
29434         (add_magnitudes): Likewise.
29435         (sub_magnitudes): Likewise.
29436         (__mul): Likewise.
29437         (__sqr): Likewise.
29438         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29439         powers of two in terms of TWOPOW macro.
29440         (mp_no): Make type of mantissa as MANTISSA_T.
29441         [!RADIXI]: Define RADIXI.
29442         [!TWO52]: Define TWO52.
29443         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29445 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29447         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29448         llroundl symbol when building for PPC32.
29450 2013-03-24  Mark H Weaver  <mhw@netris.org>
29452         * manual/arith.texi (Normalization Functions): Fix prototypes for
29453         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29455 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29457         [BZ #13889]
29458         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29459         high value to check if expl overflow.
29460         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29461         to check for underflow and overflow.
29462         * math/libm-test.inc: Add exp test.
29464 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29466         [BZ #11120]
29467         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29468         with NOT_IN_libc.
29470 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29472         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29473         symbol.
29475 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29477         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29478         wrap blocks consisting of several statements.
29480         * sysdeps/generic/math-tests.h: New file.
29481         * sysdeps/i386/fpu/math-tests.h: Likewise.
29482         * math/test-snan.c: Include it.
29483         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29485 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29487         [BZ #15285]
29488         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29489         (__ieee754_j0l): Do not improve calculations using cos of twice
29490         input for inputs above LDBL_MAX / 2.0L.
29491         (__ieee754_y0l): Likewise.
29492         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29493         (__ieee754_j1l): Do not improve calculations using cos of twice
29494         input for inputs above LDBL_MAX / 2.0L.
29495         (__ieee754_y1l): Likewise.
29496         * math/libm-test.inc (j0_test): Add another test.
29497         (j1_test): Likewise.
29498         (y0_test): Likewise.
29499         (y1_test): Likewise.
29500         * sysdeps/i386/fpu/libm-test-ulps: Update.
29502 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29504         * Rules ($(objpfx)bench-%.c): Include code from a C source
29505         file.
29507 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29509         [BZ #15287]
29510         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29511         imaginary part 1.0 and real part less than 0.5 specially.
29512         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29513         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29514         * math/libm-test.inc (cacos_test): Add more tests.
29515         (casin_test): Likewise.
29516         (casinh_test): Likewise.
29517         * sysdeps/i386/fpu/libm-test-ulps: Update.
29518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29520 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29522         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29523         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29525 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29527         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29528         * config.make.in (config-cflags-sse4): Remove variable.
29529         (config-cflags-avx): Likewise.
29530         (config-cflags-sse2avx): Likewise.
29531         (config-cflags-novzeroupper): Likewise.
29532         (config-asflags-i686): Likewise.
29533         (have-mfma4): Likewise.
29534         (have-as-vis3): Likewise.
29535         (MIG): Likewise.
29536         * configure.in (MIG): Do not AC_SUBST.
29537         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29538         (libc_cv_cc_sse4): Do not AC_SUBST.
29539         (libc_cv_cc_avx): Likewise.
29540         (libc_cv_cc_sse2avx): Likewise.
29541         (libc_cv_cc_novzeroupper): Likewise.
29542         (libc_cv_cc_fma4): Likewise.
29543         (libc_cv_as_i686): Likewise.
29544         (libc_cv_sparc_as_vis3): Likewise.
29545         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29546         LIBC_CONFIG_VAR.
29547         (config-asflags-i686): Likewise.
29548         (config-cflags-avx): Likewise.
29549         (config-cflags-sse2avx): Likewise.
29550         (have-mfma4): Likewise.
29551         (config-cflags-novzeroupper): Likewise.
29552         * sysdeps/mach/configure.in (MIG): Likewise.
29553         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29554         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29555         LIBC_CONFIG_VAR.
29556         (config-cflags-avx): Likewise.
29557         (config-cflags-sse2avx): Likewise.
29558         (have-mfma4): Likewise.
29559         (config-cflags-novzeroupper): Likewise.
29560         * configure: Regenerated.
29561         * sysdeps/i386/configure: Likewise.
29562         * sysdeps/mach/configure: Likewise.
29563         * sysdeps/sparc/configure: Likewise.
29564         * sysdeps/x86_64/configure: Likewise.
29566 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29568         [BZ #14812]
29569         * locale/programs/localedef.c (options): Put N_ translation marker
29570         on argument names, not just descriptions.
29572 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29574         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29576 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29578         [BZ #14176]
29579         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29581 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29583         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29584         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29585         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29586         [!BEFORE_ABORT] (before_abort): New function.
29587         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29588         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29589         (writev_for_fatal): New function.
29590         (WRITEV_FOR_FATAL): New macro; call that.
29591         (backtrace_and_maps): New function.
29592         (BEFORE_ABORT): New macro; call that.
29593         (struct str_list): Type removed.
29594         (__libc_message, __libc_fatal): Functions removed.
29595         Include <sysdeps/posix/libc_fatal.c> instead.
29597 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29599         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29600         constants.
29601         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29602         double constants.
29604 2013-03-19  Andreas Schwab  <schwab@suse.de>
29606         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29607         * sysdeps/gnu/configure: Regenerate.
29609         * configure.in: Substitute libc_cv_rtlddir.
29610         * configure: Regenerate.
29611         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29612         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29613         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29614         * elf/Makefile (install-others, CFLAGS-interp.c)
29615         (ldso_install, common-ldd-rewrite): Likewise.
29616         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29617         $(inst_slibdir)/$(rtld-installed-name).
29618         * scripts/rellns-sh: Add -p option.
29619         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29620         for source.
29622 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29624         * manual/nptl.texi: Renamed to ...
29625         * manual/threads.texi: ... this.
29626         * manual/Makefile (chapters): Update.
29628 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29630         [BZ #14812]
29631         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29632         on argument names, not just descriptions.
29633         * malloc/memusagestat.c (options): Likewise.
29634         * nss/getent.c (options): Likewise.
29636 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29638         [BZ #14812]
29639         * iconv/iconv_prog.c (options): Put N_ translation marker
29640         on argument names, not just descriptions.
29641         * iconv/iconvconfig.c (options): Likewise.
29643 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29645         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29646         implementation which is faster on all x86_64 architectures.
29647         Tested on AMD, Intel Nehalem, SNB, IVB.
29648         * sysdeps/x86_64/strnlen.S: Likewise.
29650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29651         Remove all multiarch strlen and strnlen versions.
29652         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29653         Remove strlen and strnlen related parts.
29655         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29656         Inline strlen part.
29657         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29659         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29660         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29661         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29662         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29663         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29664         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29666 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29668         * manual/memory.texi (Malloc Tunable Parameters):
29669         Sort parameters alphabetically. Add comments for missing entries.
29671 2013-03-17  David S. Miller  <davem@davemloft.net>
29673         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29675 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29677         [BZ #15283]
29678         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29679         for arguments at most half maximum finite value.
29680         * math/libm-test.inc (j0_test): Add more tests.
29681         (j1_test): Likewise.
29682         (y0_test): Likewise.
29683         (y1_test): Likewise.
29684         * sysdeps/i386/fpu/libm-test-ulps: Update.
29685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29687         [BZ #14155]
29688         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29689         1 / x and functions P and Q for arguments above 0x1p256L.
29690         (__ieee754_y0l): Likewise.
29691         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29692         (__ieee754_y1l): Likewise.
29693         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29694         (j1_test): Likewise.
29695         (y0_test): Likewise.
29696         (y1_test): Likewise.
29698 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29700         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29701         variable.
29703 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29705         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29706         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29707         zero since it's initialized to EXEC_PAGESIZE.
29709         * sysdeps/unix/sysv/linux/ldsodefs.h
29710         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29711         * sysdeps/generic/ldsodefs.h: ... here.
29713 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29715         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29717         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29718         math/test-snan.c.
29719         * math/test-snan.c: Renamed from
29720         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29721         * math/Makefile (tests): Add test-snan.
29722         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29723         test-powerpc-snan.
29725         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29726         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29727         functions.
29728         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29729         __builtin_nan family of functions.
29730         * math/libm-test.inc (initialize): Initialize qnan_value with
29731         __builtin_nan family of functions.
29732         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29733         Remove variables.
29734         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29735         Remove functions.
29736         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29737         storage class.  Initialize qNaN_var and sNaN_var with
29738         __builtin_nan and __builtin_nans families of functions,
29739         respectively.
29741         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29742         (sqrt_test): Remove duplicate test with qNaN input.
29743         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29744         (round_test, signbit_test, significand_test): Note missing +/-Inf
29745         as well as qNaN tests.
29747         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29748         qNaN_var.  Fix a few strings, too.
29749         * math/libm-test.inc (nan_value): Rename to qnan_value.
29750         * math/gen-libm-test.pl (%beautify): Adjust to that.
29751         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29752         * math/test-misc.c (main): Likewise.
29753         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29754         to __qnan_bytes, and __qnan_union, respectively.
29755         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29756         Likewise.
29757         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29758         and lqnanval, respectively.
29759         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29760         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29761         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29762         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29764         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29765         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29766         doubles.
29768         * math/test-misc.c (main): Fix copy'n'pastos.
29769         * misc/tst-efgcvt.c (special): Likewise.
29771         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29772         Remove declarations.
29774 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29776         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29777         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29778         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29779         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29781 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29783         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29784         macro to return vdso values correctly in IFUNC implementations.
29785         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29786         Optimization by using IFUNC.
29788 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29789             Richard Henderson  <rth@redhat.com>
29790             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29792         * Makefile.in (bench): New target.
29793         * NEWS: Mention the benchmark framework.
29794         * Rules (bench): Likewise.
29795         (binaries-bench): Generate binaries for functions to
29796         benchmark.
29797         * benchtests/Makefile: New makefile for benchmark tests.
29798         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29799         programs.
29800         * benchtests/exp-inputs: New input file for EXP function.
29801         * benchtests/pow-inputs: New input file for POW function.
29802         * scripts/bench.pl: New script to generate source files for
29803         benchmark programs.
29805 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29807         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29808         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29809         computations on mantissa.  Use macros for rounding and
29810         division.
29811         (denorm): Likewise.
29812         (__dbl_mp): Likewise.
29813         (add_magnitudes): Likewise.
29814         (sub_magnitudes): Likewise.
29815         (__mul): Likewise.
29816         (__sqr): Likewise.
29817         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29818         powers of two in terms of TWOPOW macro.
29819         (mp_no): Make type of mantissa as MANTISSA_T.
29820         [!RADIXI]: Define RADIXI.
29821         [!TWO52]: Define TWO52.
29822         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29824         * manual/nptl.texi (cindex): Modify threads to pthreads.
29826 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29828         * sysdeps/x86_64/preconfigure: Regenerated.
29830 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29832         [BZ #14155]
29833         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29834         0x1p28 and above.
29835         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29836         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29837         0x1p28 and above.
29838         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29839         * math/libm-test.inc (j0_test): Do not allow one spurious
29840         underflow exception.
29841         (y1_test): Likewise.
29843 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29845         * manual/Makefile (chapters): Add nptl.
29846         * manual/debug.texi (Debugging Support): Add link to Threads
29847         chapter.
29848         * manual/nptl.texi: New file.
29850         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29852 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29854         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29855         for non-NULL pointer before the memory validity test. Pointed
29856         out by Holger Brunck <holger.brunck@keymile.com>.
29858 2013-03-13  Andreas Schwab  <schwab@suse.de>
29860         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29861         instead of .os.
29863 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29865         * timezone/zic.c: Update from tzcode 2013b.
29867 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29869         * manual/install.texi (Configuring and compiling):
29870         Mention i686 and i586.
29871         * INSTALL: Regenerate.
29873 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29875         * sysdeps/init_array/elf-init.c: New file.
29876         * csu/elf-init.c
29877         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29878         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29880         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29881         __gmon_start__ as global, but as static with a .preinit_array pointer.
29882         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29883         * sysdeps/init_array/crti.S: New file, empty except for comments.
29884         * sysdeps/init_array/crtn.S: Likewise.
29886 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29888         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29889         definining bcopy.
29890         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29891         Remove Prefer_SSE_for_memop.
29892         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29893         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29894         HAS_PREFER_SSE_FOR_MEMOP.
29895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29896         memset-x86-64.
29897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29898         Remove bzero, memset ifunc support.
29899         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29900         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29901         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29902         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29904 2013-03-11  Andreas Schwab  <schwab@suse.de>
29906         [BZ #15234]
29907         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29908         by SHLIB_COMPAT.
29909         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29910         (GLIBC_2.16): Remove pthread_atfork.
29912 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29914         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29915         (ptestcases.h): Likewise.
29917 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29919         * Makeconfig ($(common-objpfx)config.status): Depend on
29920         sysdeps/*/preconfigure{,.in} too.
29922 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29924         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29925         (__free_hook): Use void * instead of __malloc_ptr_t.
29926         (__malloc_hook): Likewise.
29927         (__realloc_hook): Likewise.
29928         (__memalign_hook): Likewise.
29929         (__after_morecore_hook): Likewise.
29930         * malloc/arena.c (save_malloc_hook): Likewise.
29931         (save_free_hook): Likewise.
29932         * malloc/hooks.c (malloc_hook_ini): Likewise.
29933         (realloc_hook_ini): Likewise.
29934         (memalign_hook_ini): Likewise.
29935         * malloc/malloc.c (malloc_hook_ini): Likewise.
29936         (realloc_hook_ini): Likewise.
29937         (memalign_hook_ini): Likewise.
29938         (__free_hook): Likewise.
29939         (__malloc_hook): Likewise.
29940         (__realloc_hook): Likewise.
29941         (__memalign_hook): Likewise.
29942         (__libc_malloc): Likewise.
29943         (__libc_free): Likewise.
29944         (__libc_realloc): Likewise.
29945         (__libc_memalign): Likewise.
29946         (__libc_valloc): Likewise.
29947         (__libc_pvalloc): Likewise.
29948         (__libc_calloc): Likewise.
29949         (__posix_memalign): Likewise.
29950         * malloc/morecore.c (__sbrk): Likewise.
29951         (__default_morecore): Likewise.
29953         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29955         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29956         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29957         __malloc_ptrdiff_t.
29959         * malloc/malloc.h (__malloc_size_t): Remove macro.
29960         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29961         __malloc_size_t.
29962         (old_memalign_hook): Likewise.
29963         (old_realloc_hook): Likewise.
29964         (struct hdr): Likewise.
29965         (flood): Likewise.
29966         (mallochook): Likewise.
29967         (memalignhook): Likewise.
29968         (reallochook): Likewise.
29969         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29970         (tr_old_realloc_hook): Likewise.
29971         (tr_old_memalign_hook): Likewise.
29972         (tr_mallochook): Likewise.
29973         (tr_reallochook): Likewise.
29974         (tr_memalignhook): Likewise.
29976 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29978         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29979         default_ldbl_pack and using as default implementation.
29980         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29981         implementation.
29982         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29983         redundant definition.
29984         (ldbl_insert_mantissa): Likewise.
29985         (ldbl_canonicalize): Likewise.
29986         (ldbl_nearbyint): Likewise.
29987         (ldbl_pack): Rename to ldbl_pack_ppc.
29988         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29989         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29990         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29992 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29995         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29996         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29997         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29998         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29999         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30000         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30001         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30003 2013-03-07  Andreas Jaeger  <aj@suse.de>
30005         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30006         bits/mman-linux.h.
30008 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30010         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30011         Include mpa.h and declare __MPEXP.
30012         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30013         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30014         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30015         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30016         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30017         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30018         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30020         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30021         (__slowpow): Use long double EXPL and LOGL functions to
30022         compute POW.
30023         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30024         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30025         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30026         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30027         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30028         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30031         intermediate variable to calculate exponent.
30032         (__sqr): Likewise.
30033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30034         Likewise.
30035         (__sqr): Likewise.
30037         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30038         [!NO__SQR]: Define __sqr.
30039         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30040         and NO__SQR.  Remove all code except __mul and __sqr.  Include
30041         sysdeps/ieee754/dbl-64/mpa.c.
30042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30044         [BZ #12723]
30045         * posix/Makefile (tests): Add tst-pathconf.
30046         * posix/tst-pathconf.c: New test case.
30047         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30048         _PC_PIPE_BUF.
30049         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30051 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
30053         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30055 2013-03-06  Andreas Jaeger  <aj@suse.de>
30057         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30058         definition via __MAP_ANONYMOUS.
30060         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30061         it's not part of Linux headers.
30063         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30064         (MAP_HUGE_MASK): Define.
30066         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30067         Define.
30068         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30069         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30070         Define.
30071         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30072         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30073         Define.
30074         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30075         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30076         Define.
30077         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30079         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30080         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30081         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30082         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30083         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30084         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30086         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30087         Handle f2fs.
30089         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30090         Handle f2fs and efivarfs.
30092         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30093         f2fs.
30095         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30096         (EFIVARFS_MAGIC): Add.
30097         (F2FS_LINK_MAX): Add.
30099 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30101         * stdio-common/vfprintf.c: Replace __builtin_expect with
30102         __glibc_unlikely.
30104 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
30106         [BZ #13550]
30107         * sysdeps/generic/bp-sym.h: Remove file.
30108         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30109         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30110         <bp-sym.h> and <bp-asm.h>.
30111         (__longjmp): Don't use BP_SYM.
30112         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30113         and <bp-asm.h>.
30114         (memcpy): Don't use BP_SYM.
30115         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30116         <bp-sym.h> and <bp-asm.h>.
30117         (memcpy): Don't use BP_SYM.
30118         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30119         <bp-asm.h>.
30120         (memcpy): Don't use BP_SYM.
30121         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30122         <bp-asm.h>.
30123         (memset): Don't use BP_SYM.
30124         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30125         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30126         (__bzero): Don't use BP_SYM.
30127         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30128         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30129         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30130         <bp-sym.h> and <bp-asm.h>.
30131         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30132         pointers.
30133         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30134         <bp-sym.h> and <bp-asm.h>.
30135         (memcpy): Don't use BP_SYM.
30136         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30137         <bp-sym.h> and <bp-asm.h>.
30138         (memset): Don't use BP_SYM.
30139         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30140         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30141         (__bzero): Don't use BP_SYM.
30142         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30143         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30144         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30145         <bp-sym.h> and <bp-asm.h>.
30146         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30147         pointers.
30148         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30149         <bp-sym.h> and <bp-asm.h>.
30150         (memcpy): Don't use BP_SYM.
30151         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30152         <bp-sym.h> and <bp-asm.h>.
30153         (memset): Don't use BP_SYM.
30154         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30155         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30156         (__bzero): Don't use BP_SYM.
30157         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30158         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30159         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30160         <bp-sym.h> and <bp-asm.h>.
30161         (__memchr): Don't use BP_SYM.
30162         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30163         <bp-sym.h> and <bp-asm.h>.
30164         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30165         pointers.
30166         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30167         <bp-sym.h> and <bp-asm.h>.
30168         (memcpy): Don't use BP_SYM.
30169         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30170         <bp-sym.h> and <bp-asm.h>.
30171         (__mempcpy): Don't use BP_SYM.
30172         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30173         <bp-sym.h> and <bp-asm.h>.
30174         (__memrchr): Don't use BP_SYM.
30175         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30176         <bp-sym.h> and <bp-asm.h>.
30177         (memset): Don't use BP_SYM.
30178         (__bzero): Likewise.
30179         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30180         <bp-sym.h> and <bp-asm.h>.
30181         (__rawmemchr): Don't use BP_SYM.
30182         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30183         <bp-sym.h> and <bp-asm.h>.
30184         (__STRCMP): Don't use BP_SYM.
30185         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30186         <bp-sym.h> and <bp-asm.h>.
30187         (strchr): Don't use BP_SYM.
30188         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30189         <bp-sym.h> and <bp-asm.h>.
30190         (__strchrnul): Don't use BP_SYM.
30191         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30192         <bp-sym.h> and <bp-asm.h>.
30193         (strlen): Don't use BP_SYM.
30194         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30195         <bp-sym.h> and <bp-asm.h>.
30196         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30197         pointers.
30198         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30199         <bp-sym.h> and <bp-asm.h>.
30200         (__strnlen): Don't use BP_SYM.
30201         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30202         <bp-sym.h> and <bp-asm.h>.
30203         (__GI__setjmp): Don't use BP_SYM.
30204         (_setjmp): Likewise.
30205         (__sigsetjmp): Likewise.
30206         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30207         (L(start_addresses)): Don't use BP_SYM.
30208         (_start): Likewise.
30209         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30210         <bp-asm.h>.
30211         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30212         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30213         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30214         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30215         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30216         <bp-asm.h>.
30217         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30218         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30219         about bounded pointers.
30220         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30221         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30222         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30223         <bp-asm.h>.
30224         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30225         about bounded pointers.  Remove GKM FIXME comments.
30226         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30227         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30228         <bp-asm.h>.
30229         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30230         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30231         Remove GKM FIXME comments.
30232         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30233         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30234         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30235         <bp-asm.h>.
30236         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30237         about bounded pointers.  Remove GKM FIXME comment.
30238         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30239         and <bp-asm.h>.
30240         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30241         pointers.
30242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30243         <bp-sym.h> and <bp-asm.h>.
30244         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30246         <bp-sym.h> and <bp-asm.h>.
30247         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30248         comment.
30250 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30252         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30253         call free(NULL).
30255 2013-03-05  David S. Miller  <davem@davemloft.net>
30257         * po/es.po: Update from translation team.
30259 2013-03-05  Andreas Jaeger  <aj@suse.de>
30261         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30262         <bits/mman-linux.h>.
30263         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30264         is fine.
30265         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30266         <bits/mman-linux.h> to end of file.
30267         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30268         is fine.
30269         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30270         <bits/mman-linux.h> to end of file.
30271         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30272         is fine.
30273         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30274         <bits/mman-linux.h> to end of file.
30276         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30277         (MCL_CURRENT, MCL_FUTURE): Define here.
30279 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30281         [BZ #15232]
30282         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30283         attribute_hidden.
30284         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30286 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30288         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30289         fourth parameter needed for rt_sigprocmask syscall.
30290         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30291         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30292         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30293         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30294         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30295         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30297 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30299         [BZ #13550]
30300         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30301         comment about bounded pointers.
30302         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30303         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30305 2013-03-04  Andreas Jaeger  <aj@suse.de>
30307         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30308         common definitions.
30310         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30311         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30312         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30313         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30314         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30315         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30317 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30319         [BZ #15055]
30320         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30321         __ieee754_sqrl instead of __sqrl.
30323 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30325         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30326         * sysdeps/powerpc/fpu_control.h: ... here.
30327         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30328         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30329         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30330         * sysdeps/powerpc/bits/mathinline.h: ... here.
30332 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30334         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30335         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30336         to just [NEED_DL_SYSINFO_DSO].
30337         * elf/dl-support.c: Likewise.
30338         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30339         * elf/rtld.c (dl_main): Likewise.
30340         * elf/setup-vdso.h (setup_vdso): Likewise.
30341         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30342         * sysdeps/unix/sysv/linux/dl-sysdep.c
30343         (_dl_discover_osversion): Likewise.
30345 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30347         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30348         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30350 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30352         * NEWS: Mention libm performance improvements and non-x86 PI
30353         futex support.
30355         * csu/libc-start.c (__pthread_initialize_minimal): Change
30356         function arguments.
30357         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30359 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30361         [BZ #13550]
30362         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30363         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30364         <bp-sym.h> and <bp-asm.h>.
30365         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30366         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30367         and <bp-asm.h>.
30368         (memcpy): Don't use BP_SYM.
30369         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30370         <bp-asm.h>.
30371         (__mpn_add_n): Don't use BP_SYM.
30372         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30373         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30374         and <bp-asm.h>.
30375         (__mpn_addmul_1): Don't use BP_SYM.
30376         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30377         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30378         <bp-sym.h>.
30379         (_setjmp): Don't use BP_SYM.
30380         (__novmx_setjmp): Likewise.
30381         (__GI__setjmp): Likewise.
30382         (__vmx_setjmp): Likewise.
30383         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30384         <bp-sym.h>.
30385         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30386         (__bzero): Don't use BP_SYM.
30387         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30388         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30389         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30390         <bp-sym.h> and <bp-asm.h>.
30391         (memcpy): Don't use BP_SYM.
30392         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30393         <bp-sym.h> and <bp-asm.h>.
30394         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30395         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30396         <bp-sym.h> and <bp-asm.h>.
30397         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30398         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30399         <bp-asm.h>.
30400         (__mpn_lshift): Don't use BP_SYM.
30401         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30402         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30403         <bp-asm.h>.
30404         (memset): Don't use BP_SYM.
30405         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30406         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30407         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30408         <bp-asm.h>.
30409         (__mpn_mul_1): Don't use BP_SYM.
30410         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30411         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30412         <bp-sym.h> and <bp-asm.h>.
30413         (memcmp): Don't use BP_SYM.
30414         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30415         <bp-sym.h> and <bp-asm.h>.
30416         (memcpy): Don't use BP_SYM.
30417         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30418         <bp-sym.h> and <bp-asm.h>.
30419         (memset): Don't use BP_SYM.
30420         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30421         <bp-sym.h> and <bp-asm.h>.
30422         (strncmp): Don't use BP_SYM.
30423         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30424         <bp-sym.h> and <bp-asm.h>.
30425         (memcpy): Don't use BP_SYM.
30426         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30427         <bp-sym.h> and <bp-asm.h>.
30428         (memset): Don't use BP_SYM.
30429         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30430         <bp-sym.h> and <bp-asm.h>.
30431         (__memchr): Don't use BP_SYM.
30432         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30433         <bp-sym.h> and <bp-asm.h>.
30434         (memcmp): Don't use BP_SYM.
30435         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30436         <bp-sym.h> and <bp-asm.h>.
30437         (memcpy): Don't use BP_SYM.
30438         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30439         <bp-sym.h> and <bp-asm.h>.
30440         (__mempcpy): Don't use BP_SYM.
30441         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30442         <bp-sym.h> and <bp-asm.h>.
30443         (__memrchr): Don't use BP_SYM.
30444         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30445         <bp-sym.h> and <bp-asm.h>.
30446         (memset): Don't use BP_SYM.
30447         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30448         <bp-sym.h> and <bp-asm.h>.
30449         (__rawmemchr): Don't use BP_SYM.
30450         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30451         <bp-sym.h> and <bp-asm.h>.
30452         (__STRCMP): Don't use BP_SYM.
30453         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30454         <bp-sym.h> and <bp-asm.h>.
30455         (strchr): Don't use BP_SYM.
30456         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30457         <bp-sym.h> and <bp-asm.h>.
30458         (__strchrnul): Don't use BP_SYM.
30459         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30460         <bp-sym.h> and <bp-asm.h>.
30461         (strlen): Don't use BP_SYM.
30462         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30463         <bp-sym.h> and <bp-asm.h>.
30464         (strncmp): Don't use BP_SYM.
30465         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30466         <bp-sym.h> and <bp-asm.h>.
30467         (__strnlen): Don't use BP_SYM.
30468         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30469         <bp-asm.h>.
30470         (__mpn_rshift): Don't use BP_SYM.
30471         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30472         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30473         <bp-sym.h> and <bp-asm.h>.
30474         (__sigsetjmp): Don't use BP_SYM.
30475         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30476         (L(start_addresses)): Don't use BP_SYM.
30477         (_start): Likewise.
30478         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30479         <bp-asm.h>.
30480         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30481         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30482         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30483         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30484         <bp-asm.h>.
30485         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30486         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30487         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30488         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30489         <bp-asm.h>.
30490         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30491         comments.
30492         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30493         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30494         <bp-asm.h>.
30495         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30496         FIXME comments.
30497         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30498         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30499         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30500         <bp-asm.h>.
30501         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30502         comment.
30503         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30504         and <bp-asm.h>.
30505         (strncmp): Don't use BP_SYM,
30506         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30507         <bp-asm.h>.
30508         (__mpn_sub_n): Don't use BP_SYM.
30509         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30510         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30511         and <bp-asm.h>.
30512         (__mpn_submul_1): Don't use BP_SYM.
30513         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30515         <bp-sym.h> and <bp-asm.h>.
30516         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30518         <bp-sym.h> and <bp-asm.h>.
30519         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30520         comment.
30522 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30524         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30525         Use ZK to minimize writes to Z.
30526         (sub_magnitudes): Simplify code a bit.
30527         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30528         Use ZK to minimize writes to Z.
30529         (sub_magnitudes): Simplify code a bit.
30531 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30533         * csu/gmon-start.c: Add special exception to license text.
30535 2013-02-27  Richard Henderson  <rth@redhat.com>
30537         * scripts/config.guess: Update from config.git.
30538         * scripts/config.sub: Likewise.
30540 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30542         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30544         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30546         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30548         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30550         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30552 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30554         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30555         [$(build-shared = yes].
30557 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30559         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30560         (__mul): Reduce iterations for calculating mantissa.
30562         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30563         MPTWO.
30564         (__mpranred): Likewise.
30566         [BZ #15160]
30567         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30568         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30570 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30572         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30573         Define __attribute__.
30575 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30577         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30578         unused.
30579         * posix/regex_internal.h (__attribute): Remove.
30580         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30581         (re_string_context_at): Likewise.
30582         (bitset_not): Use __attribute__ and mark function as possibly
30583         unused.
30584         (bitset_merge): Likewise.
30585         (bitset_mask): Likewise.
30586         (re_string_char_size_at): Likewise.
30587         (re_string_wchar_at): Likewise.
30588         (re_string_elem_size_at): Likewise.
30590 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30592         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30593         code.
30594         (cc32): Likewise.
30596         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30597         (__acr): Likewise.
30598         (__cpy): Likewise.
30599         (norm): Likewise.
30600         (denorm): Likewise.
30601         (__dbl_mp): Likewise.
30602         (add_magnitudes): Likewise.
30603         (sub_magnitudes): Likewise.
30604         (__mul): Likewise.
30605         (__inv): Likewise.
30607         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30608         style.
30610         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30611         style.
30613         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30614         code.
30616         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30617         up changes with default code.
30618         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30619         Likewise.
30621 2013-02-24  Allan McRae  <allan@archlinux.org>
30623         * manual/socket.texi (The Internet Namespace): Order menu items
30624         to match that in the file.
30626         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30627         node listing of the info page menu.
30629 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30631         [BZ #13550]
30632         * sysdeps/i386/bp-asm.h: Remove file.
30633         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30634         (PARMS): Do not use macros from bp-asm.h.
30635         (S1): Likewise.
30636         (S2): Likewise.
30637         (SIZE): Likewise.
30638         (__mpn_add_n): Do not use BP_SYM
30639         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30640         "bp-asm.h".
30641         (PARMS): Do not use macros from bp-asm.h.
30642         (S1): Likewise.
30643         (SIZE): Likewise.
30644         (__mpn_addmul_1): Do not use BP_SYM
30645         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30646         "bp-asm.h".
30647         (PARMS): Do not use macros from bp-asm.h.
30648         (SIGMSK): Likewise.
30649         (_setjmp): Likewise.  Do not use BP_SYM.
30650         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30651         "bp-asm.h".
30652         (PARMS): Do not use macros from bp-asm.h.
30653         (SIGMSK): Likewise.
30654         (setjmp): Likewise.  Do not use BP_SYM.
30655         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30656         "bp-asm.h".
30657         (PARMS): Do not use macros from bp-asm.h.
30658         (__frexp): Do not use BP_SYM.
30659         (frexp): Likewise.
30660         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30661         "bp-asm.h".
30662         (PARMS): Do not use macros from bp-asm.h.
30663         (__frexpf): Do not use BP_SYM.
30664         (frexpf): Likewise.
30665         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30666         "bp-asm.h".
30667         (PARMS): Do not use macros from bp-asm.h.
30668         (__frexpl): Do not use BP_SYM.
30669         (frexpl): Likewise.
30670         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30671         "bp-asm.h".
30672         (PARMS): Do not use macros from bp-asm.h.
30673         (__remquo): Do not use BP_SYM.
30674         (remquo): Likewise.
30675         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30676         "bp-asm.h".
30677         (PARMS): Do not use macros from bp-asm.h.
30678         (__remquof): Do not use BP_SYM.
30679         (remquof): Likewise.
30680         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30681         "bp-asm.h".
30682         (PARMS): Do not use macros from bp-asm.h.
30683         (__remquol): Do not use BP_SYM.
30684         (remquol): Likewise.
30685         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30686         "bp-asm.h".
30687         (PARMS): Do not use macros from bp-asm.h.
30688         (DEST): Likewise.
30689         (SRC): Likewise.
30690         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30691         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30692         "bp-asm.h".
30693         (PARMS): Do not use macros from bp-asm.h.
30694         (strlen): Do not use BP_SYM.
30695         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30696         "bp-asm.h".
30697         (PARMS): Do not use macros from bp-asm.h.
30698         (S1): Likewise.
30699         (S2): Likewise.
30700         (SIZE): Likewise.
30701         (__mpn_add_n): Do not use BP_SYM.
30702         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30703         "bp-asm.h".
30704         (PARMS): Do not use macros from bp-asm.h.
30705         (S1): Likewise.
30706         (SIZE): Likewise.
30707         (__mpn_addmul_1): Do not use BP_SYM.
30708         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30709         weak_alias.
30710         (bzero): Likewise.
30711         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30712         "bp-asm.h".
30713         (PARMS): Do not use macros from bp-asm.h.
30714         (S): Likewise.
30715         (SIZE): Likewise.
30716         (__mpn_lshift): Do not use BP_SYM.
30717         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30718         "bp-asm.h".
30719         (PARMS): Do not use macros from bp-asm.h.
30720         (DEST): Likewise.
30721         (SRC): Likewise.
30722         (LEN): Likewise.
30723         (memcpy): Likewise.  Do not use BP_SYM.
30724         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30725         libc_hidden_def and weak_alias.
30726         (mempcpy): Do not use BP_SYM in weak_alias.
30727         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30728         "bp-asm.h".
30729         (PARMS): Do not use macros from bp-asm.h.
30730         (DEST): Likewise.
30731         (LEN): Likewise.
30732         [!BZERO_P] (CHR): Likewise.
30733         (memset): Likewise.  Do not use BP_SYM.
30734         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30735         "bp-asm.h".
30736         (PARMS): Do not use macros from bp-asm.h.
30737         (S1): Likewise.
30738         (SIZE): Likewise.
30739         (__mpn_mul_1): Do not use BP_SYM.
30740         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30741         "bp-asm.h".
30742         (PARMS): Do not use macros from bp-asm.h.
30743         (S): Likewise.
30744         (SIZE): Likewise.
30745         (__mpn_rshift): Do not use BP_SYM.
30746         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30747         "bp-asm.h".
30748         (PARMS): Do not use macros from bp-asm.h.
30749         (STR): Likewise.
30750         (CHR): Likewise.
30751         (strchr): Likewise.  Do not use BP_SYM.
30752         (index): Do not use BP_SYM in weak_alias.
30753         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30754         "bp-asm.h".
30755         (PARMS): Do not use macros from bp-asm.h.
30756         (DEST): Likewise.
30757         (SRC): Likewise.
30758         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30759         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30760         "bp-asm.h".
30761         (PARMS): Do not use macros from bp-asm.h.
30762         (strlen): Do not use BP_SYM.
30763         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30764         "bp-asm.h".
30765         (PARMS): Do not use macros from bp-asm.h.
30766         (S1): Likewise.
30767         (S2): Likewise.
30768         (SIZE): Likewise.
30769         (__mpn_sub_n): Do not use BP_SYM.
30770         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30771         "bp-asm.h".
30772         (PARMS): Do not use macros from bp-asm.h.
30773         (S1): Likewise.
30774         (SIZE): Likewise.
30775         (__mpn_submul_1): Do not use BP_SYM.
30776         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30777         "bp-asm.h".
30778         (PARMS): Do not use macros from bp-asm.h.
30779         (S1): Likewise.
30780         (S2): Likewise.
30781         (SIZE): Likewise.
30782         (__mpn_add_n): Do not use BP_SYM.
30783         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30784         weak_alias.
30785         (bzero): Likewise.
30786         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30787         "bp-asm.h".
30788         (PARMS): Do not use macros from bp-asm.h.
30789         (BLK2): Likewise.
30790         (LEN): Likewise.
30791         (memcmp): Do not use BP_SYM.
30792         (bcmp): Do not use BP_SYM in weak_alias.
30793         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30794         "bp-asm.h".
30795         (PARMS): Do not use macros from bp-asm.h.
30796         (DEST): Likewise.
30797         (SRC): Likewise.
30798         (LEN): Likewise.
30799         (memcpy): Likewise.  Do not use BP_SYM.
30800         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30801         "bp-asm.h".
30802         (PARMS): Do not use macros from bp-asm.h.
30803         (DEST): Likewise.
30804         (SRC): Likewise.
30805         (LEN): Likewise.
30806         (memmove): Likewise.  Do not use BP_SYM.
30807         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30808         "bp-asm.h".
30809         (PARMS): Do not use macros from bp-asm.h.
30810         (DEST): Likewise.
30811         (SRC): Likewise.
30812         (LEN): Likewise.
30813         (__mempcpy): Likewise.  Do not use BP_SYM.
30814         (mempcpy): Do not use BP_SYM in weak_alias.
30815         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30816         "bp-asm.h".
30817         (PARMS): Do not use macros from bp-asm.h.
30818         (DEST): Likewise.
30819         (LEN): Likewise.
30820         [!BZERO_P] (CHR): Likewise.
30821         (memset): Likewise.  Do not use BP_SYM.
30822         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30823         "bp-asm.h".
30824         (PARMS): Do not use macros from bp-asm.h.
30825         (STR2): Likewise.
30826         (strcmp): Do not use BP_SYM.
30827         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30828         "bp-asm.h".
30829         (PARMS): Do not use macros from bp-asm.h.
30830         (STR): Likewise.
30831         (DELIM): Likewise.
30832         [USE_AS_STRTOK_R] (SAVE): Likewise.
30833         (FUNCTION): Likewise.  Do not use BP_SYM.
30834         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30835         aliases.
30836         (strtok_r): Likewise.
30837         (__GI___strtok_r): Likewise.
30838         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30839         (PARMS): Do not use macros from bp-asm.h.
30840         (S): Likewise.
30841         (SIZE): Likewise.
30842         (__mpn_lshift): Do not use BP_SYM.
30843         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30844         (PARMS): Do not use macros from bp-asm.h.
30845         (STR): Likewise.
30846         (CHR): Likewise.
30847         (__memchr): Do not use BP_SYM.
30848         (memchr): Do not use BP_SYM in weak_alias.
30849         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30850         (PARMS): Do not use macros from bp-asm.h.
30851         (BLK2): Likewise.
30852         (LEN): Likewise.
30853         (memcmp): Do not use BP_SYM.
30854         (bcmp): Do not use BP_SYM in weak_alias.
30855         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30856         (PARMS): Do not use macros from bp-asm.h.
30857         (S1): Likewise.
30858         (SIZE): Likewise.
30859         (__mpn_mul_1): Do not use BP_SYM.
30860         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30861         "bp-asm.h".
30862         (PARMS): Do not use macros from bp-asm.h.
30863         (STR): Likewise.
30864         (CHR): Likewise.
30865         (__rawmemchr): Do not use BP_SYM.
30866         (rawmemchr): Do not use BP_SYM in weak_alias.
30867         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30868         (PARMS): Do not use macros from bp-asm.h.
30869         (S): Likewise.
30870         (SIZE): Likewise.
30871         (__mpn_rshift): Do not use BP_SYM.
30872         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30873         (PARMS): Do not use macros from bp-asm.h.
30874         (SIGMSK): Likewise.
30875         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30876         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30877         (_start): Do not use BP_SYM.
30878         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30879         (PARMS): Do not use macros from bp-asm.h.
30880         (DEST): Likewise.
30881         (SRC): Likewise.
30882         (__stpcpy): Likewise.  Do not use BP_SYM.
30883         (stpcpy): Do not use BP_SYM in weak_alias.
30884         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30885         "bp-asm.h".
30886         (PARMS): Do not use macros from bp-asm.h.
30887         (DEST): Likewise.
30888         (SRC): Likewise.
30889         (LEN): Likewise.
30890         (__stpncpy): Likewise.  Do not use BP_SYM.
30891         (stpncpy): Do not use BP_SYM in weak_alias.
30892         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30893         (PARMS): Do not use macros from bp-asm.h.
30894         (STR): Likewise.
30895         (CHR): Likewise.
30896         (strchr): Likewise.  Do not use BP_SYM.
30897         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30898         "bp-asm.h".
30899         (PARMS): Do not use macros from bp-asm.h.
30900         (STR): Likewise.
30901         (CHR): Likewise.
30902         (__strchrnul): Likewise.  Do not use BP_SYM.
30903         (strchrnul): Do not use BP_SYM in weak_alias.
30904         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30905         "bp-asm.h".
30906         (PARMS): Do not use macros from bp-asm.h.
30907         (STOP): Likewise.
30908         (strcspn): Do not use BP_SYM.
30909         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30910         "bp-asm.h".
30911         (PARMS): Do not use macros from bp-asm.h.
30912         (STR): Likewise.
30913         (STOP): Likewise.
30914         (strpbrk): Likewise.  Do not use BP_SYM.
30915         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30916         "bp-asm.h".
30917         (PARMS): Do not use macros from bp-asm.h.
30918         (STR): Likewise.
30919         (CHR): Likewise.
30920         (strrchr): Likewise.  Do not use BP_SYM.
30921         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30922         (PARMS): Do not use macros from bp-asm.h.
30923         (SKIP): Likewise.
30924         (strspn): Do not use BP_SYM.
30925         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30926         (PARMS): Do not use macros from bp-asm.h.
30927         (STR): Likewise.
30928         (DELIM): Likewise.
30929         (SAVE): Likewise.
30930         (FUNCTION): Likewise.  Do not use BP_SYM.
30931         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30932         aliases.
30933         (strtok_r): Likewise.
30934         (__GI___strtok_r): Likewise.
30935         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30936         (PARMS): Do not use macros from bp-asm.h.
30937         (S1): Likewise.
30938         (S2): Likewise.
30939         (SIZE): Likewise.
30940         (__mpn_sub_n): Do not use BP_SYM.
30941         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30942         "bp-asm.h".
30943         (PARMS): Do not use macros from bp-asm.h.
30944         (S1): Likewise.
30945         (SIZE): Likewise.
30946         (__mpn_submul_1): Do not use BP_SYM.
30947         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30948         <bp-sym.h>.
30949         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30950         and <bp-asm.h>.
30951         (PARMS): Do not use macros from bp-asm.h.
30952         (FLAGS): Likewise.
30953         (PTID): Likewise.
30954         (TLS): Likewise.
30955         (CTID): Likewise.
30956         (__clone): Do not use BP_SYM.
30957         (clone): Do not use BP_SYM in weak_alias.
30958         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30959         and <bp-asm.h>.
30960         (PARMS): Do not use macros from bp-asm.h.
30961         (LEN): Likewise.
30962         (__mmap64): Do not use BP_SYM.
30963         (mmap64): Do not use BP_SYM in weak_alias.
30964         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30965         <bp-sym.h> and <bp-asm.h>.
30966         (PARMS): Do not use macros from bp-asm.h.
30967         (__posix_fadvise64_l64): Do not use BP_SYM.
30968         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30969         (PARMS): Do not use macros from bp-asm.h.
30970         (NSOPS): Likewise.
30971         (semtimedop): Do not use BP_SYM.
30972         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30973         and <bp-asm.h>.
30975 2013-02-21  Allan McRae  <allan@archlinux.org>
30977         * manual/message.texi (Charset conversion in gettext):
30978         Move @end statement to beginning of line.
30980 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30983         static.
30984         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30985         Likewise.
30987         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30988         (denorm): Likewise.
30989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30990         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30992 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30994         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30995         tail-call to the resolved function if pltexit isn't needed.
30997 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30999         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31000         or Y being zero as being unlikely.
31001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31002         Likewise.
31004 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
31006         * manual/nss.texi (System Databases and Name Service Switch):
31007         Remove frobnicate @pxref.
31009 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31011         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31012         __attribute__ ((unused)) to __attribute__ ((__unused__)).
31014 2013-02-20  Petr Machata  <pmachata@redhat.com>
31016         * elf/elf.h (R_ARM_TARGET1): New macro.
31017         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31018         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31019         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31020         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31021         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31022         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31023         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31024         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31025         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31026         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31027         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31028         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31029         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31030         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31031         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31032         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31033         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31034         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31035         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31036         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31037         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31038         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31039         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31040         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31041         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31042         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31043         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31044         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31045         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31046         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31047         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31048         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31049         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31050         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31051         (R_ARM_THM_GOT_BREL12): Likewise.
31052         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31053         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31054         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31055         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31056         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31057         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31058         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31059         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31060         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31062 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31064         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31065         __attribute_used__ to __attribute__ ((unused)).
31067 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31069         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31070         powerpc mpa.c.
31071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31072         comment formatting.
31073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31075 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
31077         [BZ #13550]
31078         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31079         Remove macro.
31080         (ENTER): Remove both macro definitions.
31081         (LEAVE): Likewise.
31082         (CHECK_BOUNDS_LOW): Likewise.
31083         (CHECK_BOUNDS_HIGH): Likewise.
31084         (CHECK_BOUNDS_BOTH): Likewise.
31085         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31086         (RETURN_BOUNDED_POINTER): Likewise.
31087         (RETURN_NULL_BOUNDED_POINTER): Likewise.
31088         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31089         (POP_ERRNO_LOCATION_RETURN): Likewise.
31090         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31091         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31092         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31093         macros.
31094         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31095         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31096         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31097         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31098         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31099         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31100         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31101         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31102         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31103         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31104         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31105         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31106         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31107         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31108         removed macros.
31109         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31110         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31111         macros.
31112         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31113         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31114         * sysdeps/i386/i586/memset.S (memset): Likewise.
31115         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31116         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31117         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31118         macros.
31119         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31120         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31121         Change uses of L(2) to L(out).
31122         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31123         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31124         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31125         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31126         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31127         removed macros.
31128         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31129         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31130         macros.
31131         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31132         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31133         (RETURN): Do not use macro LEAVE.
31134         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31135         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31136         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31137         * sysdeps/i386/i686/memset.S (memset): Likewise.
31138         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31139         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31140         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31141         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31142         Likewise.
31143         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31144         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31145         L(1_2) and L(1_3) into L(1).
31146         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31147         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31148         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31149         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31150         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31151         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31152         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31153         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31154         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31155         macros.
31156         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31157         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31158         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31159         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31160         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31161         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31162         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31163         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31164         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31165         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31166         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31167         * sysdeps/i386/strspn.S (strspn): Likewise.
31168         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31169         conditional code.
31170         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31171         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31172         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31173         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31174         L(1_3) into L(1_1).
31175         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31176         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31177         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31178         macros.
31179         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31181 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31183         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31184         macro.
31186 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31188         * math/atest-exp.c (exp_mpn): Remove ROUND.
31189         * math/atest-exp2.c (exp_mpn): Likewise.
31190         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31192         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31193         * stdlib/tst-tls-atexit-lib.c: Likewise.
31194         * stdlib/tst-tls-atexit.c: Likewise.
31196 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31198         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31199         and __attribute_alloc_size__.
31201 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31203         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31204         __attribute_alloc_size__.
31205         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31206         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31208 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31210         * include/programs/xmalloc.h: New file.
31211         * catgets/gencat.c: Include it.
31212         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31213         * elf/pldd.c: Likewise.
31214         * iconv/iconv_charmap.c: Likewise.
31215         * iconv/iconvconfig.c: Likewise.
31216         * iconv/strtab.c: Likewise.
31217         * locale/programs/locale.c: Likewise.
31218         * locale/programs/localedef.h: Likewise.
31219         * locale/programs/simple-hash.c: Likewise.
31220         * nscd/nscd.h: Likewise.
31221         * nss/makedb.c: Likewise.
31222         * sysdeps/generic/ldconfig.h: Likewise.
31224 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31226         * Versions.def: Add GLIBC_2.18.
31227         * include/link.h (struct link_map): New member l_tls_dtor_count.
31228         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31229         (__call_tls_dtors): Likewise.
31230         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31231         __cxa_thread_atexit_impl.
31232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31233         Likewise.
31234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31235         Likewise.
31236         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31237         Likewise.
31238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31239         Likewise.
31240         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31242         Likewise.
31243         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31244         Likewise.
31245         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31246         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31247         Likewise.
31248         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31249         (tests): Add test case tst-tls-atexit.
31250         (modules-names): Add shared library for tst-tls-atexit.
31251         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31252         (GLIBC_PRIVATE): Add __call_tls_dtors.
31253         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31254         for libstdc++.
31255         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31256         * stdlib/tst-tls-atexit.c: New test case.
31257         * stdlib/tst-tls-atexit-lib.c: New test case.
31259         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31261         * elf/Versions (ld): Add _dl_find_dso_for_object.
31262         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31263         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31264         (dl_open_worker): Use _dl_find_dso_for_object.
31265         * elf/dl-sym.c (do_sym): Likewise.
31266         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31268 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31270         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31271         Syntactic changes only.
31272         (_dl_runtime_profile): Do a tail-call to the resolved function.
31274 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31276         [BZ #13550]
31277         * sysdeps/x86_64/bp-asm.h: Remove file.
31278         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31279         <bp-sym.h> and <bp-asm.h>.
31280         (__clone): Do not use BP_SYM.
31281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31282         <bp-sym.h> and <bp-asm.h>.
31283         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31284         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31285         "bp-asm.h".
31286         (_setjmp): Do not use BP_SYM.
31287         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31288         "bp-asm.h".
31289         (setjmp): Do not use BP_SYM.
31290         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31291         libc_hidden_def.
31292         (mempcpy): Do not use BP_SYM in weak_alias.
31293         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31294         "bp-asm.h".
31295         (strchr): Do not use BP_SYM.
31296         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31297         "bp-asm.h".
31298         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31299         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31300         (_start): Do not use BP_SYM.
31301         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31302         "bp-asm.h".
31303         (strcat): Do not use BP_SYM.
31304         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31305         "bp-asm.h".
31306         (STRCMP): Do not use BP_SYM.
31307         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31308         "bp-asm.h".
31309         (STRCPY): Do not use BP_SYM.
31310         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31311         "bp-asm.h".
31312         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31313         "bp-asm.h".
31314         (FUNCTION): Do not use BP_SYM.
31315         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31316         weak_alias.
31317         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31319 2013-02-17  Andreas Jaeger  <aj@suse.de>
31321         * time/Versions: Sort entries.
31322         * string/Versions: Likewise.
31323         * resolv/Versions: Likewise.
31324         * posix/Versions: Likewise.
31325         * iconv/Versions: Likewise.
31326         * elf/Versions: Likewise.
31327         * wcsmbs/Versions: Likewise.
31329 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31331         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31332         loop termination condition.
31334         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31335         variable to calculate EZ.
31336         (__sqr): Likewise.
31338         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31339         the lower precision input.
31341 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31343         [BZ #13550]
31344         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31345         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31346         (run-via-rtld-prefix): Do not handle %-bp tests.
31347         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31348         (all-object-suffixes): Remove .ob.
31349         (bppfx): Remove variable.
31350         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31351         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31352         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31353         [$(build-bounded) = yes] (libtype.ob): Likewise.
31354         * Makerules (elide-routines.ob): Remove variable.
31355         (do-tests-clean): Do not handle *-bp.out.
31356         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31357         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31358         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31359         (tests): Do not include $(tests-bp.out).
31360         (xtests): Do not include $(xtests-bp.out).
31361         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31362         [$(build-bounded) = yes] ($(addprefix
31363         $(objpfx),$(binaries-bounded))): Remove rule.
31364         ($(objpfx)%-bp.out): Remove rule.
31365         * config.make.in (build-bounded): Remove variable.
31366         * crypt/Makefile [$(build-bounded) = yes]
31367         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31368         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31369         append to variable.
31370         [$(build-bounded) = yes] (install-lib): Likewise.
31371         [$(build-bounded) = yes] (generated): Likewise.
31372         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31373         Remove rule.
31374         * intl/Makefile [$(build-bounded) = yes]
31375         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31376         * math/Makefile [$(build-bounded) = yes]
31377         ($(tests:%=$(objpfx)%-bp): Likewise.
31378         * misc/Makefile [$(build-bounded) = yes]
31379         ($(objpfx)tst-tsearch-bp): Likewise.
31380         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31381         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31382         Remove dependency.
31383         * string/Makefile (o-objects.ob): Remove variable.
31384         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31385         (CFLAGS-.ob): Remove variable.
31386         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31387         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31388         both definitions of variable.
31389         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31390         (ASFLAGS-.ob): Remove variable.
31392 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31394         [BZ #13550]
31395         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31396         Remove __BOUNDED_POINTERS__ from condition.
31397         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31398         * string/bits/string2.h [!__NO_STRING_INLINES &&
31399         !__BOUNDED_POINTERS__]: Likewise.
31400         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31401         Likewise.
31402         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31403         Remove conditional code.
31404         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31405         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31406         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31407         condition.
31409         [BZ #13550]
31410         * csu/libc-start.c: Do not include <bp-sym.h>.
31411         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31412         * elf/dl-open.c: Do not include <bp-sym.h>.
31413         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31414         * math/fegetenv.c: Do not include <bp-sym.h>.
31415         (fegetenv): Do not use BP_SYM in versioned symbols.
31416         * nptl/sysdeps/pthread/bits/libc-lockP.h
31417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31418         <bp-sym.h>.
31419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31420         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31422         (__pthread_mutex_destroy): Likewise.
31423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31424         (__pthread_mutex_lock): Likewise.
31425         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31426         (__pthread_mutex_trylock): Likewise.
31427         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31428         (__pthread_mutex_unlock): Likewise.
31429         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31430         (__pthread_mutexattr_init): Likewise.
31431         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31432         (__pthread_mutexattr_destroy): Likewise.
31433         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31434         (__pthread_mutexattr_settype): Likewise.
31435         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31436         (__pthread_rwlock_init): Likewise.
31437         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31438         (__pthread_rwlock_destroy): Likewise.
31439         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31440         (__pthread_rwlock_rdlock): Likewise.
31441         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31442         (__pthread_rwlock_tryrdlock): Likewise.
31443         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31444         (__pthread_rwlock_wrlock): Likewise.
31445         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31446         (__pthread_rwlock_trywrlock): Likewise.
31447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31448         (__pthread_rwlock_unlock): Likewise.
31449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31450         (__pthread_key_create): Likewise.
31451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31452         (__pthread_setspecific): Likewise.
31453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31454         (__pthread_getspecific): Likewise.
31455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31456         Likewise.
31457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31458         (_pthread_cleanup_push_defer): Likewise.
31459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31460         (_pthread_cleanup_pop_restore): Likewise.
31461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31462         (pthread_setcancelstate): Likewise.
31463         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31464         <bp-sym.h>.
31465         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31466         (memchr): Do not use BP_SYM in weak_alias.
31467         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31468         (fegetenv): Do not use BP_SYM in versioned symbols.
31469         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31470         (fesetenv): Do not use BP_SYM in versioned symbols.
31471         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31472         (feupdateenv): Do not use BP_SYM in versioned symbols.
31473         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31474         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31475         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31476         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31477         (open64): Do not use BP_SYM in weak_alias.
31478         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31479         (fegetenv): Do not use BP_SYM in versioned symbols.
31480         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31481         (fesetenv): Do not use BP_SYM in versioned symbols.
31482         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31483         (feupdateenv): Do not use BP_SYM in versioned symbols.
31484         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31485         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31486         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31487         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31488         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31489         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31490         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31491         <bp-sym.h>.
31492         (__libc_start_main): Do not use BP_SYM.
31494 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31497         redundant return line.
31498         (norm): Likewise.
31499         (denorm): Likewise.
31500         (dbl_mp): Likewise.
31501         (sub_magnitudes): Likewise.
31502         (__add): Likewise.
31503         (__sub): Likewise.
31504         (__mul): Likewise.
31505         (__inv): Likewise.
31506         (__dvd): Likewise.
31507         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31508         (norm): Likewise.
31509         (denorm): Likewise.
31510         (dbl_mp): Likewise.
31511         (sub_magnitudes): Likewise.
31512         (__add): Likewise.
31513         (__sub): Likewise.
31514         (__mul): Likewise.
31515         (__inv): Likewise.
31516         (__dvd): Likewise.
31518         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31519         instead of __mul.
31520         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31521         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31522         (cc32): Likewise.
31524         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31525         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31526         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31527         of __mul for squares.
31528         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31529         function
31530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31531         Likewise.
31532         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31533         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31535 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31537         [BZ #13550]
31538         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31539         code.
31540         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31541         prototype or function definition.  Rename ubp_* variables and
31542         parameters.  Remove argv definitions conditional on
31543         [__BOUNDED_POINTERS__].
31544         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31545         * elf/dl-runtime.c (_dl_fixup): Likewise.
31546         * include/set-hooks.h (RUN_HOOK): Likewise.
31547         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31548         definition.
31549         * string/strcpy.c (strcpy): Do not use __unbounded.
31550         * sysdeps/generic/frame.h (struct layout): Likewise.
31551         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31552         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31553         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31554         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31555         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31556         (__backtrace): Likewise.
31557         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31558         use __ptrvalue.
31559         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31560         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31561         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31562         Likewise.
31563         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31564         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31565         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31566         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31567         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31568         Do not use __unbounded.
31569         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31570         Rename __unboundedrlimits parameter to rlimits in prototype.
31571         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31572         Do not use __unbounded.
31573         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31574         not use __ptrvalue.
31575         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31576         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31577         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31578         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31579         __ptrvalue or __unbounded.
31580         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31581         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31582         use __unbounded.
31583         (__new_msgctl): Do not use __ptrvalue.
31584         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31585         __unbounded.
31586         (__libc_msgrcv): Do not use __ptrvalue.
31587         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31588         startup_info): Do not use __unbounded.
31589         (__libc_start_main): Likewise.  Rename ubp_* variables and
31590         parameters.  Remove argv definitions conditional on
31591         [__BOUNDED_POINTERS__].
31592         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31593         __ptrvalue.
31594         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31595         use __unbounded.
31596         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31597         or __ptrvalue.
31598         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31599         use __unbounded.
31600         (__new_shmctl): Do not use __ptrvalue.
31601         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31602         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31603         Likewise.
31604         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31605         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31606         (__libc_sigaction): Likewise.
31607         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31608         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31609         Likewise.
31610         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31612 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31614         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31616         * string/mempcpy.c: Implement by calling memcpy.
31618 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31622         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31623         evaluation.
31625         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31626         values in the mantissa.
31628         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31629         minimize writes to Z.
31630         (sub_magnitudes): Simplify code a bit.
31632 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31634         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31635         from the message.  The linker prefixes all warnings with that already.
31637 2013-02-12  Andreas Schwab  <schwab@suse.de>
31639         [BZ #15078]
31640         * posix/regexec.c (extend_buffers): Add parameter min_len.
31641         (check_matching): Pass minimum needed length.
31642         (clean_state_log_if_needed): Likewise.
31643         (get_subexp): Likewise.
31644         * posix/Makefile (tests): Add bug-regex34.
31645         (bug-regex34-ENV): Define.
31646         * posix/bug-regex34.c: New file.
31648         [BZ #11561]
31649         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31650         elements compare against the byte sequence of it, not its name.
31651         * posix/Makefile (tests): Add bug-regex35.
31652         (bug-regex35-ENV): Define.
31653         * posix/bug-regex35.c: New file.
31655 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31657         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31658         comment.
31659         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31660         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31661         (CHECK_EOL): Add undef.
31663 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31665         * bits/stdlib-bsearch.h: New file.
31666         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31667         * stdlib/stdlib.h: Likewise.
31669 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31671         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31672         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31673         declaration.
31674         * manual/search.texi (Array Search Function): Add missing const in
31675         lfind prototype.
31676         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31677         declaration to use rlim_t.
31678         (Basic Scheduling Functions): Remove erroneous const from
31679         sched_getparam prototype.  Remove erroneous * from
31680         sched_get_priority_max and sched_get_priority_min prototypes.
31681         (Resource Usage): Fix summary @comment on vtimes to refer to
31682         sys/vtimes.h rather than vtimes.h.
31683         Add missing *s in vtimes prototype.
31684         (Limits on Resources): Fix ulimit prototype to return long int.
31685         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31686         prototypes to use long int rather than double.
31687         (BSD Random): Fix initstate and setstate to use char *, not void *.
31688         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31689         prototype to make second argument 'struct aiocb64 *const[]'.
31690         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31691         (Status of AIO Operations): Remove erroneous const in aio_return and
31692         aio_return64 prototypes.
31693         (Synchronizing I/O): Fix sync prototype to return void.
31694         * manual/startup.texi (Suboptions): Remove an erroneous const in
31695         getsubopt prototype.
31696         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31697         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31698         use size_t rather than int.
31699         (Scanning All Users): Likewise for getpwent_r.
31700         (Setting Groups): Add missing const to setgroups prototype.
31701         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31702         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31703         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31704         'const void *' rather than 'const char *'.
31705         (Host Address Functions): Likewise for inet_ntop.
31706         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31707         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31708         ssize_t for return value.
31709         (Sending Data): Likewise for send, sendto, sendmsg.
31710         (Socket Option Functions): Add a missing const in setsockopt prototype.
31711         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31712         use wchar_t for the argument.
31713         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31714         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31715         take no arguments.
31716         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31717         double/float/long double for second argument.
31718         Fix return types of significand, significandf, significandl.
31719         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31720         argument in fchmod prototype.
31721         (File Owner): Use uid_t and gid_t in fchown prototype.
31722         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31723         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31724         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31725         use 'const struct dirent **' as argument types to CMP function pointer
31726         argument.
31727         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31728         (File Times): Fix summary magic @comment for struct utimbuf and utime
31729         to refer to utime.h, not time.h.
31730         * manual/string.texi (Argz Functions): Add missing const in
31731         argz_extract and argz_next prototypes.
31732         (Finding Tokens in a String): Likewise for basename.
31733         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31734         (Copying and Concatenation): Fix typo in wmemmove prototype.
31735         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31736         (Signal Stack): Remove erroneous const in sigstack prototype.
31737         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31738         prototype.
31739         (Simple Calendar Time): Likewise for stime.
31740         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31741         prototype.
31742         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31743         say sys/sysctl.h instead.
31744         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31745         and vsyslog prototypes.
31747 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31749         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31750         Remove.
31752 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31754         * misc/sys/mman.h: Fix typo in mremap comment.
31756 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31758         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31759         the '\0' terminator.
31761 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31763         [BZ #13550]
31764         * debug/segfault.c: Don't include <bp-checks.h>.
31765         * sysdeps/generic/bp-checks.h: Remove file.
31766         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31767         (__GETDENTS): Don't use CHECK_N.
31768         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31769         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31770         (__getgroups): Don't use CHECK_N.
31771         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31772         (setgroups): Don't use CHECK_N.
31773         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31774         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31775         (__libc_msgrcv): Don't use CHECK_N.
31776         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31777         (__libc_msgsnd): Don't use CHECK_N.
31778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31779         <bp-checks.h>.
31780         (__libc_pread): Don't use CHECK_N.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31782         include <bp-checks.h>.
31783         (__libc_pread64): Don't use CHECK_N.
31784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31785         include <bp-checks.h>.
31786         (__libc_pwrite): Don't use CHECK_N.
31787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31788         include <bp-checks.h>.
31789         (__libc_pwrite64): Don't use CHECK_N.
31790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31791         <bp-checks.h>.
31792         (__libc_pread): Don't use CHECK_N.
31793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31794         include <bp-checks.h>.
31795         (__libc_pread64): Don't use CHECK_N.
31796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31797         include <bp-checks.h>.
31798         (__libc_pwrite): Don't use CHECK_N.
31799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31800         include <bp-checks.h>.
31801         (__libc_pwrite64): Don't use CHECK_N.
31802         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31803         (do_pread): Don't use CHECK_N.
31804         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31805         (do_pread64): Don't use CHECK_N.
31806         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31807         (do_pwrite): Don't use CHECK_N.
31808         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31809         (do_pwrite64): Don't use CHECK_N.
31810         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31811         (__libc_readv): Don't use CHECK_N.
31812         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31813         (semop): Don't use CHECK_N.
31814         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31815         <bp-checks.h>.
31816         (semtimedop): Don't use CHECK_N.
31817         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31818         (__libc_pread): Don't use CHECK_N.
31819         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31820         <bp-checks.h>.
31821         (__libc_pread64): Don't use CHECK_N.
31822         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31823         <bp-checks.h>.
31824         (__libc_pwrite): Don't use CHECK_N.
31825         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31826         <bp-checks.h>.
31827         (__libc_pwrite64): Don't use CHECK_N.
31828         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31829         <bp-checks.h>.
31830         (__libc_msgrcv): Don't use CHECK_N.
31831         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31832         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31833         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31834         (__libc_writev): Don't use CHECK_N.
31836 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31838         * string/strcpy.c: Removed unused variable.
31840         * Makeconfig (+sysdep-includes): Define with := rather than =.
31841         Use an existing include/ subdir of each sysdeps dir before it.
31843 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31845         * nscd/connection.c (register_traced_file): Comment function.
31846         [HAVE_INOTIFY] (union __inev): Define.
31847         [HAVE_INOTIFY] (inotify_check_files): New function.
31848         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31849         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31850         clear_db_cache.
31851         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31853 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31855         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31856         loaded if not already and that a failure is permanent.
31858 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31860         [BZ #15006]
31861         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31862         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31864 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31866         [BZ #13550]
31867         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31868         (CHECK_1_NULL_OK): Likewise.
31869         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31870         (__fxstat): Do not use CHECK_1.
31871         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31872         <bp-checks.h>.
31873         (___fxstat64): Do not use CHECK_1.
31874         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31875         <bp-checks.h>.
31876         (__fxstatat): Do not use CHECK_1.
31877         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31878         <bp-checks.h>.
31879         (__fxstatat64): Do not use CHECK_1.
31880         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31881         <bp-checks.h>.
31882         (__fxstat): Do not use CHECK_1.
31883         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31884         <bp-checks.h>.
31885         (__fxstatat): Do not use CHECK_1.
31886         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31887         <bp-checks.h>.
31888         (__getresgid): Do not use CHECK_1.
31889         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31890         <bp-checks.h>.
31891         (__getresuid): Do not use CHECK_1.
31892         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31893         <bp-checks.h>.
31894         (__lxstat): Do not use CHECK_1.
31895         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31896         <bp-checks.h>.
31897         (__old_msgctl): Do not use CHECK_1.
31898         (__new_msgctl): Likewise.
31899         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31900         <bp-checks.h>.
31901         (__new_setrlimit): Do not use CHECK_1.
31902         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31903         <bp-checks.h>.
31904         (__old_shmctl): Do not use CHECK_1.
31905         (__new_shmctl): Likewise.
31906         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31907         <bp-checks.h>.
31908         (__xstat): Do not use CHECK_1.
31909         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31910         (__lxstat): Do not use CHECK_1.
31911         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31912         <bp-checks.h>.
31913         (___lxstat64): Do not use CHECK_1.
31914         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31915         (__old_msgctl): Do not use CHECK_1.
31916         (__new_msgctl): Likewise.
31917         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31918         <bp-checks.h>.
31919         (__gettimeofday): Do not use CHECK_1.
31920         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31921         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31922         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31923         <bp-checks.h>.
31924         (__gettimeofday): Do not use CHECK_1.
31925         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31926         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31927         (__new_shmctl): Do not use CHECK_1.
31928         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31929         <bp-checks.h>.
31930         (do_sigtimedwait): Do not use CHECK_1.
31931         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31932         <bp-checks.h>.
31933         (do_sigwaitinfo): Do not use CHECK_1.
31934         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31935         <bp-checks.h>.
31936         (msgctl): Do not use CHECK_1.
31937         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31938         <bp-checks.h>.
31939         (shmctl): Do not use CHECK_1.
31940         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31941         (ustat): Do not use CHECK_1.
31942         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31943         <bp-checks.h>.
31944         (__fxstat): Do not use CHECK_1.
31945         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31946         <bp-checks.h>.
31947         (__fxstatat): Do not use CHECK_1.
31948         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31949         <bp-checks.h>.
31950         (__lxstat): Do not use CHECK_1.
31951         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31952         <bp-checks.h>.
31953         (__xstat): Do not use CHECK_1.
31954         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31955         (__xstat): Do not use CHECK_1.
31956         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31957         (___xstat64): Do not use CHECK_1.
31959         [BZ #13550]
31960         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31961         definitions.
31962         (CHECK_BOUNDS_HIGH): Likewise.
31963         * string/strcpy.c: Do not include <bp-checks.h>.
31964         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31966 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31968         * nscd/nscd-client.h (__nscd_drop_map_ref):
31969         Add __attribute__ ((unused)).
31970         * nis/nss-nisplus.h (niserr2nss): Likewise.
31972         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31973         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31975         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31976         Remove inline keyword.
31977         * include/rounding-mode.h (round_away): Likewise.
31978         * libio/wfileops.c (adjust_wide_data): Likewise.
31979         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31980         (__m128i_strloadu_tolower): Likewise.
31981         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31982         (__m128i_strloadu_tolower): Likewise.
31983         * time/mktime.c (ydhms_diff): Likewise.
31984         * locale/elem-hash.h (elem_hash): Likewise.
31985         * locale/setlocale.c (setdata): Likewise.
31986         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31987         (re_string_wchar_at): Likewise.
31988         (bitset_not, bitset_merge, bitset_mask): Likewise.
31989         [!(__GNUC__ > 3)] (inline): Remove macro.
31990         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31991         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31992         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31993         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31994         * string/memcmp.c (memcmp_bytes): Likewise.
31995         * locale/programs/locarchive.c (compute_hashval): Likewise.
31996         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31997         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31998         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31999         * nss/getent.c (print_rpc, print_protocols): Likewise.
32000         (print_passwd, print_group, print_aliases): Likewise.
32001         * nis/nss-nisplus.h (niserr2nss): Likewise.
32002         * nscd/connections.c (restart_p): Likewise.
32003         Change return type to bool.
32005 2013-02-05  Roland McGrath  <roland@hack.frob.com>
32007         * Makeconfig (all-Depend-files): Add existing
32008         $(sorted-subdirs:=/Depend) files.
32009         (all-subdirs): Remove nss.
32010         * sysdeps/unix/inet/Subdirs: Add it here instead.
32011         * hesiod/Depend: New file.
32013         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32014         instead of calling alloca.
32016         * io/lseek.c (__lseek): Rename to __libc_lseek.
32017         Define __lseek as an alias.
32019         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32021 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
32023         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32024         else clause and remove check for non-standard endianness.
32026 2013-02-04  David S. Miller  <davem@davemloft.net>
32028         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32030 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
32032         [BZ #13550]
32033         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32034         (__ubp_memchr): Remove prototype.
32035         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32036         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32037         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32038         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32039         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32040         Remove alias.
32041         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32042         (__ubp_memchr): Likewise.
32043         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32044         (__ubp_memchr): Likewise.
32045         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32046         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32047         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32048         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32049         CHECK_STRING.
32050         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32051         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32052         (__getcwd): Do not use CHECK_STRING.
32053         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32054         <bp-checks.h>.
32055         (__real_chown): Do not use CHECK_STRING.
32056         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32057         <bp-checks.h>.
32058         (fchownat): Do not use CHECK_STRING.
32059         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32060         CHECK_STRING.
32061         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32062         <bp-checks.h>.
32063         (__lchown): Do not use CHECK_STRING.
32064         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32065         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32066         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32067         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32069         include <bp-checks.h>.
32070         (truncate64): Do not use CHECK_STRING.
32071         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32072         <bp-checks.h>.
32073         (__real_chown): Do not use CHECK_STRING.
32074         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32075         <bp-checks.h>.
32076         (__lchown): Do not use CHECK_STRING.
32077         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32078         <bp-checks.h>.
32079         (__chown): Do not use CHECK_STRING.
32080         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32081         <bp-checks.h>.
32082         (truncate64): Do not use CHECK_STRING.
32083         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32084         Likewise.
32085         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32086         (__xmknod): Do not use CHECK_STRING.
32087         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32088         <bp-checks.h>.
32089         (__xmknodat): Do not use CHECK_STRING.
32090         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32091         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32093 2013-02-04  Andreas Schwab  <schwab@suse.de>
32095         [BZ #14142]
32096         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32097         * include/netdb.h: Likewise for h_errno.
32098         * elf/tst-stackguard1.c: Include <tls.h>.
32100 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
32102         * elf/link.h (struct link_map): Extend the l_addr comment.
32103         * include/link.h (struct link_map): Likewise.
32105 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
32107         [BZ #13550]
32108         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32109         (BOUNDED_1): Remove macro.
32110         * debug/backtrace.c: Don't include <bp-checks.h>.
32111         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32112         (__backtrace): Likewise.
32113         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32114         <bp-checks.h>.
32115         (__backtrace): Don't use BOUNDED_1.
32116         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32117         <bp-checks.h>.
32118         (__backtrace): Don't use BOUNDED_1.
32119         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32120         (__backtrace): Don't use BOUNDED_1.
32121         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32122         (shmat): Don't use BOUNDED_N.
32124 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32126         [BZ #13550]
32127         * sysdeps/generic/bp-start.h: Remove file.
32128         * csu/libc-start.c: Don't include <bp-start.h>.
32129         (LIBC_START_MAIN): Set up __environ directly instead of using
32130         INIT_ARGV_and_ENVIRON.
32131         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32132         <bp-start.h>.
32134         [BZ #13550]
32135         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32136         definitions.
32137         (CHECK_FCNTL): Likewise.
32138         (CHECK_N_PAGES): Likewise.
32140         [BZ #13550]
32141         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32142         definitions.
32143         (CHECK_SIGSET_NULL_OK): Likewise.
32144         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32145         <bp-checks.h>.
32146         (sigpending): Don't use CHECK_SIGSET.
32147         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32148         <bp-checks.h>.
32149         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32150         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32151         <bp-checks.h>.
32152         (do_sigsuspend): Don't use CHECK_SIGSET.
32153         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32154         use CHECK_SIGSET.
32155         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32156         (do_sigwait): Don't use CHECK_SIGSET.
32157         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32158         use CHECK_SIGSET.
32159         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32160         include <bp-checks.h>.
32161         (sigpending): Don't use CHECK_SIGSET.
32162         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32163         include <bp-checks.h>.
32164         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32165         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32166         <bp-checks.h>.
32167         (sigpending): Don't use CHECK_SIGSET.
32168         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32169         <bp-checks.h>.
32170         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32172         [BZ #13550]
32173         * sysdeps/generic/bp-semctl.h: Remove file.
32174         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32175         <bp-checks.h> and <bp-semctl.h>.
32176         (__old_semctl): Don't use CHECK_SEMCTL.
32177         (__new_semctl): Likewise.
32178         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32179         and <bp-semctl.h>.
32180         (__old_semctl): Don't use CHECK_SEMCTL.
32181         (__new_semctl): Likewise.
32182         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32183         <bp-checks.h> and <bp-semctl.h>.
32184         (__old_semctl): Don't use CHECK_SEMCTL.
32185         (__new_semctl): Likewise.
32186         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32187         <bp-checks.h> and <bp-semctl.h>.
32188         (semctl): Don't use CHECK_SEMCTL.
32190         [BZ #13550]
32191         * Makerules (elide-bp-thunks): Remove variable.
32192         (elide-routines.oS): Don't use $(elide-bp-thunks).
32193         (elide-routines.os): Likewise.
32194         (elide-routines.o): Likewise.
32195         (elide-routines.op): Likewise.
32196         (elide-routines.og): Likewise.
32197         (objects): Don't use $(bp-thunks).
32198         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32199         include.
32200         (common-generated): Do not add s-proto-bp.d.
32201         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32202         (int): Likewise.
32203         (typ): Likewise.
32204         Do not generate makefile rules for bounded-pointer thunks.
32205         * sysdeps/generic/bp-thunks.h: Remove file.
32206         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32207         * sysdeps/unix/s-proto-bp.S: Likewise.
32209         [BZ #15062]
32210         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32211         parts of result separately when argument is not close to line from
32212         -i to i and one part of argument is small.
32213         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32214         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32215         * math/libm-test.inc (cacos_test): Add more tests.
32216         (casin_test): Likewise.
32217         (casinh_test): Likewise.
32218         * sysdeps/i386/fpu/libm-test-ulps: Update.
32219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32221 2013-01-31  David S. Miller  <davem@davemloft.net>
32223         * po/de.po: Update from translation team.
32225 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32227         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32229 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32231         * configure.in (_AC_PROG_CC_C89): New definition.
32232         * configure: Regenerate.
32234         * configure.in (AC_PROG_CPP): New definition.
32235         * configure: Regenerate.
32237 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32239         * debug/tst-backtrace.h: New file.
32240         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32241         (ret): Remove variable.
32242         (x): Likewise.
32243         (FAIL): Remove macro.
32244         (NO_INLINE): Likewise.
32245         (fn1): Use match function instead of strstr.
32246         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32247         (ret): Remove variable.
32248         (x): Likewise.
32249         (FAIL): Remove macro.
32250         (NO_INLINE): Likewise.
32251         (fn): Use match function instead of strstr.
32252         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32253         (ret): Remove variable.
32254         (x): Likewise.
32255         (FAIL): Remove macro.
32256         (NO_INLINE): Likewise.
32257         (handle_signal): Use match function instead of strstr.
32258         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32259         (ret): Remove variable.
32260         (x): Likewise.
32261         (FAIL): Remove macro.
32262         (NO_INLINE): Likewise.
32263         (handle_signal): Use match function instead of strstr.
32265 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32267         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32269 2013-01-23  David S. Miller  <davem@davemloft.net>
32271         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32272         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32273         argument of CAS if possible.
32274         * sysdeps/sparc/sparc64/bits/atomic.h
32275         (__arch_compare_and_exchange_val_32_acq): Likewise.
32276         (__arch_compare_and_exchange_val_64_acq): Likewise.
32278 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32280         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32281         * sysdeps/posix/ulimit.c: ... this.
32282         Include <limits.h>.
32283         * sysdeps/unix/bsd/ulimit.c: Remove file.
32285 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32287         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32288         (LDFLAGS-tst-array5): Likewise.
32290 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32292         [BZ #15036]
32293         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32294         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32295         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32296         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32298 2013-01-21  David S. Miller  <davem@davemloft.net>
32300         * sysdeps/sparc/backtrace.c: New file.
32301         * sysdeps/sparc/sparc32/backtrace.h: New file.
32302         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32303         * sysdeps/sparc/sparc64/backtrace.h: New file.
32304         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32305         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32306         -funwind-tables.
32308 2013-01-21  Andreas Schwab  <schwab@suse.de>
32310         [BZ #15020]
32311         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32312         closed its stdout.
32314 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32317         "mpa2.h".
32318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32320 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32321             Mark Mitchell  <mark@codesourcery.com>
32322             Tom de Vries  <tom@codesourcery.com>
32323             Paul Pluzhnikov  <ppluzhnikov@google.com>
32325         * debug/tst-backtrace2.c: New file.
32326         * debug/tst-backtrace3.c: Likewise.
32327         * debug/tst-backtrace4.c: Likewise.
32328         * debug/tst-backtrace5.c: Likewise.
32329         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32330         (CFLAGS-tst-backtrace3.c): Likewise.
32331         (CFLAGS-tst-backtrace4.c): Likewise.
32332         (CFLAGS-tst-backtrace5.c): Likewise.
32333         (LDFLAGS-tst-backtrace2): Likewise.
32334         (LDFLAGS-tst-backtrace3): Likewise.
32335         (LDFLAGS-tst-backtrace4): Likewise.
32336         (LDFLAGS-tst-backtrace5): Likewise.
32337         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32338         tst-backtrace4 and tst-backtrace5.
32340 2013-01-18  Anton Blanchard  <anton@samba.org>
32341             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32343         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32344         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32345         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32346         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32348         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32349         "+r" and remove output regs list as redundant.  Add explicit inline
32350         asm to specify register of return val to work around compiler codegen
32351         bug.  Remove (int) cast on return value.  Add return type parameter to
32352         use in macro so that this macro does not truncate return value for
32353         64-bit values.
32354         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32355         pass to INTERNAL_VSYSCALL_NCS.
32356         (INLINE_VSYSCALL): Add 'long int' as return type to
32357         INTERNAL_VSYSCALL_NCS macro invocation.
32358         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32359         INTERNAL_VSYSCALL_NCS macro invocation.
32360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32362 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32364         [BZ #14496]
32365         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32366         Fix application of SIMD FP exception mask.
32368         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32369         mp_no from a power of two.
32370         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32371         __mpexp_twomm1.  Use __pow_mp.
32373         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32374         multiplication.
32376 2013-01-17  David S. Miller  <davem@davemloft.net>
32378         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32380 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32382         [BZ #15023]
32383         * include/complex.h: Condition contents on [!_COMPLEX_H].
32384         (__kernel_casinhf): New prototype.
32385         (__kernel_casinh): Likewise.
32386         (__kernel_casinhl): Likewise.
32387         * math/Makefile (libm_calls): Add k_casinh.
32388         * math/k_casinh.c: New file.
32389         * math/k_casinhf.c: Likewise.
32390         * math/k_casinhl.c: Likewise.
32391         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32392         finite nonzero arguments.
32393         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32394         finite nonzero arguments.
32395         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32396         finite nonzero arguments.
32397         * math/s_casinh.c: Do not include <float.h>.
32398         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32399         * math/s_casinhf.c: Do not include <float.h>.
32400         (__casinhf): Move code for finite nonzero arguments to
32401         k_casinhf.c.
32402         * math/s_casinhl.c: Do not include <float.h>.
32403         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32404         redefine.
32405         (__casinhl): Move code for finite nonzero arguments to
32406         k_casinhl.c.
32407         * math/libm-test.inc (cacos_test): Add more tests.
32408         * sysdeps/i386/fpu/libm-test-ulps: Update.
32409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32411 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32413         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32414         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32415         [!HAVE_MREMAP]: Remove [defined linux] case.
32416         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32418 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32420         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32422 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32424         * elf/elf.h (R_386_SIZE32): New relocation.
32425         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32426         R_386_SIZE32.
32427         (elf_machine_rela): Likewise.
32428         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32429         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32431 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32433         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32434         (FP_FAST_FMA): Do not define.
32435         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32436         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32437         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32438         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32439         !_SOFT_FLOAT]: Likewise.
32440         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32441         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32442         value.
32443         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32444         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32445         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32446         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32447         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32448         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32449         file.
32451 2013-01-16  Andreas Schwab  <schwab@suse.de>
32453         [BZ #14327]
32454         * include/stdlib.h (__mktemp): Add declaration.
32455         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32456         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32458 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32460         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32461         definitions.
32462         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32463         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32464         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32465         definitions here.
32466         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32467         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32468         definitions.
32469         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32470         and ONE.
32471         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32472         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32473         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32474         definitions.
32475         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32476         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32477         definitions.
32478         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32480         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32482 2013-01-15  David S. Miller  <davem@davemloft.net>
32484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32485         trunc{,f} to libm-sysdep_routes.
32486         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32488         file.
32489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32491         file.
32492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32493         file.
32494         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32495         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32496         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32497         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32498         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32499         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32500         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32501         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32504         nearbyint{,f} to libm-sysdep_routes.
32505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32507         New file.
32508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32509         file.
32510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32511         New file.
32512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32513         file.
32514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32516         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32517         file.
32518         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32519         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32520         file.
32521         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32522         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32523         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32525         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32526         libc_feholdexcept and libc_fesetenv.
32528 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32530         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32532 2013-01-14  David S. Miller  <davem@davemloft.net>
32534         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32535         (SPARC_ASM_VIS2_IFUNC): Likewise.
32536         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32538         use of 'siam' instruction.
32539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32540         Likewise.
32541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32542         Likewise.
32543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32544         Likewise.
32545         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32546         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32547         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32548         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32549         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32550         file.
32551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32552         file.
32553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32554         file.
32555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32556         file.
32557         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32558         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32562         new VIS2 routines.
32563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32566         Likewise.
32567         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32568         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32569         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32570         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32572         routines to libm-sysdep_routines.
32573         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32576         fdim/fdimf to libm-sysdep_routines.
32577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32578         file.
32579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32581         file.
32582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32584         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32585         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32586         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32587         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32588         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32590 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32592         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32593         to optimize copies.
32595         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32597         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32599         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32600         local variable MPTWO.
32601         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32602         Likewise.
32604 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32606         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32607         GLOB_NOESCAPE.
32609 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32611         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32613 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32615         * manual/pattern.texi (glob_t): Document gl_flags.
32616         (glob64_t): Likewise.
32618 2013-01-11  David S. Miller  <davem@davemloft.net>
32620         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32621         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32622         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32623         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32624         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32625         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32626         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32627         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32628         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32629         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32630         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32631         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32632         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32634         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32635         sparc V9 rather than using V8 code.
32636         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32637         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32639         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32640         Move to...
32641         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32642         Here.
32644 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32646         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32647         not in the main loop.
32648         * configure: Regenerated.
32650 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32652         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32653         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32654         to just #else.
32655         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32656         [!__GLIBC_HAVE_LONG_LONG] case.
32657         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32658         condition to just #else.
32659         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32660         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32661         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32662         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32663         unconditional.
32664         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32665         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32666         #elif condition to just #else.
32667         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32668         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32669         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32670         #elif condition to just #else.
32672 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32674         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32675         (EF_MIPS_ARCH_64): Fix value.
32676         (EF_MIPS_ARCH_32R2): New.
32677         (EF_MIPS_ARCH_64R2): New.
32679 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32681         * Makeconfig (+link-pie-before-libc): New.
32682         (+link-pie-after-libc): Likewise.
32683         (+link-pie-tests): Likewise.
32684         (+link-pie): Rewritten.
32685         (link-before-libc): Remove $(config-LDFLAGS).
32686         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32687         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32688         (config-LDFLAGS): Renamed to ...
32689         (rtld-LDFLAGS): This.
32690         (rtld-tests-LDFLAGS): New macro.
32691         (link-libc-rpath-link): Likewise.
32692         (link-libc-tests-rpath-link): Likewise.
32693         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32694         (link-libc): Prepand $(link-libc-rpath-link).
32695         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32696         (test-program-prefix): New macro.
32697         (test-via-rtld-prefix): Likewise.
32698         (test-program-cmd): Likewise.
32699         (host-test-program-cmd): Likewise.
32700         * Makefile ($(common-objpfx)testrun.sh): Replace
32701         $(run-program-prefix) with $(test-program-prefix).
32702         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32703         $(rtld-LDFLAGS).
32704         ($(common-objpfx)shlib.lds): Likewise.
32705         (build-module-helper): Likewise.
32706         ($(common-objpfx)format.lds): Likewise.
32707         * Rules (binaries-pie-tests): New.
32708         (binaries-pie-notests): Likewise.
32709         (binaries-pie): Rewritten.
32710         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32711         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32712         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32713         (make-test-out): Replace $(host-built-program-cmd) with
32714         $(host-test-program-cmd).
32715         * config.make.in (build-hardcoded-path-in-tests): New variable.
32716         * configure.in (--enable-hardcoded-path-in-tests): New configure
32717         option.
32718         (hardcoded_path_in_tests): New AC_SUBST.
32719         * configure: Regenerated.
32720         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32721         $(built-program-cmd) with $(test-program-cmd).
32722         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32723         (test_program_cmd): This.
32724         * elf/Makefile ($(objpfx)order.out): Run test with
32725         $(test-program-prefix).
32726         ($(objpfx)order2.out): Likewise.
32727         ($(objpfx)tst-initorder.out): Likewise.
32728         ($(objpfx)tst-initorder2.out): Likewise.
32729         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32730         $(test-program-cmd).
32731         ($(objpfx)tst-array1-static.out): Likewise.
32732         ($(objpfx)tst-array2.out): Likewise.
32733         ($(objpfx)tst-array3.out): Likewise.
32734         ($(objpfx)tst-array4.out): Likewise.
32735         ($(objpfx)tst-array5.out): Likewise.
32736         ($(objpfx)tst-array5-static.out): Likewise.
32737         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32738         $(test-program-cmd).
32739         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32740         $(run-program-prefix) with $(test-program-prefix).
32741         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32742         (test_program_prefix): This.
32743         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32744         $(run-program-prefix) with $(test-program-prefix).
32745         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32746         (test_program_prefix): This.
32747         * iconvdata/tst-tables.sh: Likewise.
32748         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32749         $(run-program-prefix) with $(test-program-prefix).
32750         ($(objpfx)tst-translit.out): Likewise.
32751         ($(objpfx)tst-gettext2.out): Likewise.
32752         ($(objpfx)tst-gettext4.out): Likewise.
32753         ($(objpfx)tst-gettext6.out): Likewise.
32754         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32755         (test_program_prefix): This.
32756         * intl/tst-gettext2.sh: Likewise.
32757         * intl/tst-gettext4.sh  Likewise.
32758         * intl/tst-gettext6.sh: Likewise.
32759         * intl/tst-translit.sh: Likewise.
32760         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32761         with $(test-program-cmd).
32762         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32763         $(run-program-prefix) with $(test-program-prefix).
32764         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32765         (test_program_prefix): This.
32766         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32767         $(run-program-prefix) with $(test-program-prefix).
32768         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32769         (test_program_prefix): This.
32770         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32771         * posix/Makefile ($(objpfx)globtest.out): Replace
32772         $(run-via-rtld-prefix) and $(test-wrapper) with
32773         $(test-program-prefix) and $(test-via-rtld-prefix).
32774         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32775         $(test-program-prefix).
32776         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32777         $(host-test-program-cmd).
32778         (tst-spawn-ARGS): Likewise.
32779         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32780         $(test-program-prefix).
32781         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32782         (test_via_rtld_prefix): This.
32783         (test_wrapper): Renamed to ...
32784         (test_program_prefix): This.
32785         (run_program_prefix): Replaced by test_program_prefix.
32786         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32787         (test_program_prefix): This.
32788         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32789         with $(host-test-program-cmd).
32790         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32791         $(run-program-prefix) with $(test-program-prefix).
32792         ($(objpfx)tst-printf.out): Likewise.
32793         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32794         $(test-program-cmd).
32795         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32796         (test_program_prefix): This.
32797         * stdio-common/tst-unbputc.sh: Likewise.
32798         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32799         $(run-program-prefix) with $(test-program-prefix).
32800         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32801         (test_program_prefix): This.
32802         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32803         $(built-program-cmd) with $(test-program-cmd).
32805 2013-01-11  Andreas Jaeger  <aj@suse.de>
32807         [BZ #15003]
32808         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32809         value. Sync with Linux 3.7.
32811 2013-01-10  David S. Miller  <davem@davemloft.net>
32813         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32814         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32815         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32817 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32819         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32820         never set.
32821         * configure: Regenerated.
32823 2013-01-10  David S. Miller  <davem@davemloft.net>
32825         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32826         sparc V9 rather than using V8 code.
32827         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32828         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32830 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32832         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32833         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32834         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32835         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32836         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32837         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32838         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32839         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32840         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32841         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32842         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32843         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32844         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32845         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32846         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32847         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32848         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32849         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32850         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32851         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32852         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32853         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32854         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32855         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32856         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32857         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32858         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32860 2013-01-10  David S. Miller  <davem@davemloft.net>
32862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32864 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32866         * posix/Makefile (tests-static): New variable.
32867         (tests): Add $(tests-static).
32868         (tst-exec-static-ARGS): New variable.
32869         (tst-spawn-static-ARGS): Likewise.
32870         * posix/tst-exec-static.c: New file.
32871         * posix/tst-spawn-static.c: Likewise.
32872         * posix/tst-exec.c: Support run directly.
32873         * posix/tst-spawn.c: Likewise.
32875 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32877         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32878         long.
32879         * math/bits/mathcalls.h (llrint): Likewise.
32880         (llround): Likewise.
32881         * stdlib/stdlib.h (struct drand48_data): Likewise.
32882         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32883         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32884         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32885         Likewise.
32886         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32887         Likewise.
32888         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32889         (elf_greg_t): Likewise.
32890         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32891         (__jmp_buf): Likewise.
32892         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32893         definitions.
32894         (llrint): Likewise, for all definitions.
32895         (llrintl): Likewise.
32897         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32898         Remove [__GNUC__] condition.
32899         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32900         condition to just [__USE_ISOC99].
32901         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32903 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32905         [BZ #14200]
32906         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32907         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32908         defined.
32909         (_POSIX_V6_ILP32_OFF32): Likewise.
32910         (_XBS5_ILP32_OFF32): Likewise.
32911         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32912         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32914 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32916         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32918         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32919         doubles __mpexp_twomm1.  Adjust usage.
32920         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32921         Remove.
32923 2013-01-10  Andreas Schwab  <schwab@suse.de>
32925         [BZ #14964]
32926         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32927         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32929 2013-01-09  David S. Miller  <davem@davemloft.net>
32931         [BZ #15003]
32932         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32933         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32934         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32935         (TCP_FASTOPEN): Define.
32936         (tcp_repair_opt): New structure.
32937         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32938         enum values.
32939         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32940         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32941         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32942         (tcp_cookie_transactions): New structure.
32944 2013-01-09  Anton Blanchard  <anton@samba.org>
32946         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32947         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32948         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32949         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32951 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32953         * include/features.h (__USE_ANSI): Remove.
32955 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32957         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32959         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32961 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32963         * sysdeps/s390/fpu/libm-test-ulps: Update.
32965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32967         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32968         (__acr): Likewise.
32969         (__cpy): Likewise.
32970         (norm): Likewise.
32971         (denorm): Likewise.
32972         (__mp_dbl): Likewise.
32973         (__dbl_mp): Likewise.
32974         (add_magnitudes): Likewise.
32975         (sub_magnitudes): Likewise.
32976         (__add): Likewise.
32977         (__sub): Likewise.
32978         (__mul): Likewise.
32979         (__inv): Likewise.
32980         (__dvd): Likewise.
32981         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32982         (__acr): Likewise.
32983         (__cpy): Likewise.
32984         (norm): Likewise.
32985         (denorm): Likewise.
32986         (__mp_dbl): Likewise.
32987         (__dbl_mp): Likewise.
32988         (add_magnitudes): Likewise.
32989         (sub_magnitudes): Likewise.
32990         (__add): Likewise.
32991         (__sub): Likewise.
32992         (__mul): Likewise.
32993         (__inv): Likewise.
32994         (__dvd): Likewise.
32995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32996         (__acr): Likewise.
32997         (__cpy): Likewise.
32998         (norm): Likewise.
32999         (denorm): Likewise.
33000         (__mp_dbl): Likewise.
33001         (__dbl_mp): Likewise.
33002         (add_magnitudes): Likewise.
33003         (sub_magnitudes): Likewise.
33004         (__add): Likewise.
33005         (__sub): Likewise.
33006         (__mul): Likewise.
33007         (__inv): Likewise.
33008         (__dvd): Likewise.
33010 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
33012         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33013         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33014         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33015         2 && __USE_EXTERN_INLINES]: Likewise.
33017 2013-01-08  Andreas Jaeger  <aj@suse.de>
33019         [BZ# 14985]
33020         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33021         Remove.
33022         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33023         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33025 2013-01-07  Anton Blanchard  <anton@samba.org>
33027         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33028         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33029         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33030         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33031         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33032         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33033         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33034         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33035         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33036         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33037         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33038         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33039         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33040         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33041         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33042         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33043         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33044         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33045         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33046         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33047         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33048         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33049         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33050         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33051         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33052         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33053         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33054         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33056         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33057         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33058         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33059         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33060         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33061         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33062         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33063         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33064         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33065         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33066         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33067         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33068         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33069         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33071 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
33073         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33074         (__MALLOC_PMT): Likewise.
33075         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33076         [__GNUC__], only on [_LIBC].
33077         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33078         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33079         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33080         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33081         forward declaration.
33082         (realloc_hook_ini): Likewise.
33083         (memalign_hook_ini): Likewise.
33084         (__libc_memalign): Do not use __MALLOC_PMT in variable
33085         declaration.
33086         (__libc_valloc): Likewise.
33087         (__libc_pvalloc): Likewise.
33088         (__libc_calloc): Likewise.
33089         (__posix_memalign): Likewise.
33091         [BZ #14996]
33092         * math/s_casinh.c: Include <float.h>.
33093         (__casinh): Do not do computation with squaring and square root
33094         for large arguments.
33095         * math/s_casinhf.c: Include <float.h>.
33096         (__casinhf): Do not do computation with squaring and square root
33097         for large arguments.
33098         * math/s_casinhl.c: Include <float.h>.
33099         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33100         (__casinhl): Do not do computation with squaring and square root
33101         for large arguments.
33102         * math/libm-test.inc (casin_test): Add more tests.
33103         (casinh_test): Likewise.
33104         * sysdeps/i386/fpu/libm-test-ulps: Update.
33105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33107 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33109         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33110         (__x86_64_raw_data_cache_size): Likewise.
33111         (__x86_64_data_cache_size_half): Likewise.
33112         (__x86_64_raw_data_cache_size_half): Likewise.
33113         (__x86_64_shared_cache_size): Likewise.
33114         (__x86_64_raw_shared_cache_size): Likewise.
33115         (__x86_64_shared_cache_size_half): Likewise.
33116         (__x86_64_raw_shared_cache_size_half): Likewise.
33117         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33118         to ...
33119         (__x86_data_cache_size): This.
33120         (__x86_64_raw_data_cache_size): Renamed to ...
33121         (__x86_raw_data_cache_size): This.
33122         (__x86_64_data_cache_size_half): Renamed to ...
33123         (__x86_data_cache_size_half): This.
33124         (__x86_64_raw_data_cache_size_half): Renamed to ...
33125         (__x86_raw_data_cache_size_half): This.
33126         (__x86_64_shared_cache_size): Renamed to ...
33127         (__x86_shared_cache_size): This.
33128         (__x86_64_raw_shared_cache_size): Renamed to ...
33129         (__x86_raw_shared_cache_size): This.
33130         (__x86_64_shared_cache_size_half): Renamed to ...
33131         (__x86_shared_cache_size_half): This.
33132         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33133         (__x86_raw_shared_cache_size_half): This.
33134         * sysdeps/x86_64/memcpy.S: Updated.
33135         * sysdeps/x86_64/memset.S: Likewise.
33136         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33137         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33138         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33140 2013-01-04  David S. Miller  <davem@davemloft.net>
33142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33144 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33146         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33147         1 to avoid redefinition warning.
33148         (__USE_GNU): Don't define.
33149         (init_signaling_nan): Protoize.
33151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33153 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33155         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33156         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33157         (__cpymn): Likewise.
33158         (norm): Remove commented code.
33159         (denorm): Likewise.
33160         (__mp_dbl): Likewise.
33161         (__inv): Likewise.
33162         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33163         (__cpymn): Likewise.
33164         (norm): Remove commented code.
33165         (denorm): Likewise.
33166         (__mp_dbl): Likewise.
33167         (__inv): Likewise.
33169         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33170         mp_no value for 1.0 and 2.0.
33171         (norm): Use RADIXI instead of radixi.d.
33172         (denorm): Likewise.
33173         (__mul): Use 0.0 instead of zero.d.
33174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33175         mp_no value for 1.0 and 2.0.
33176         (norm): Use RADIXI instead of radixi.d.
33177         (denorm): Likewise.
33178         (__mul): Use 0.0 instead of zero.d.
33180 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33182         [BZ #14994]
33183         * math/s_casinh.c (__casinh): Reduce finite argument to first
33184         quadrant then set signs of results at the end.
33185         * math/s_casinhf.c (__casinhf): Likewise.
33186         * math/s_casinhl.c (__casinhl): Likewise.
33187         * math/libm-test.inc (casin_test): Add more tests.
33188         (casinh_test): Likewise.
33189         * sysdeps/i386/fpu/libm-test-ulps: Update.
33190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33192 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33194         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33196         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33198         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33199         declarations.
33200         (denorm): Likewise.
33201         (__mp_dbl): Likewise.
33202         (__inv): Likewise.
33204         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33205         and adjust the header comment.
33207         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33208         variable name from declaration.
33210 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33213         Initialize COMMON_CPUID_INDEX_7 element.
33214         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33215         (CPUID_RTM): Likewise.
33216         (HAS_RTM): Likewise.
33217         (COMMON_CPUID_INDEX_7): New enum.
33219 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33221         [BZ #14981]
33222         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33223         size is zero, record memory as freed.
33225 2013-01-03  Andreas Jaeger  <aj@suse.de>
33227         * po/ia.po: Add new Interlingua translation.
33229 2012-01-03  Allan McRae  <allan@archlinux.org>
33231         * locale/programs/localedef.c: Fix description of '--posix' flag.
33233 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33235         * NEWS: Update dates in second copyright notice.
33236         * README: Update copyright dates in example.
33237         * manual/libc.texinfo: Update copyright dates.
33238         * scripts/test-installation.pl: Update copyright date in --version
33239         output.
33241         * hurd/ctty-input.c: Fix copyright notice formatting.
33242         * hurd/ctty-output.c: Likewise.
33243         * hurd/dtable.c: Likewise.
33244         * hurd/hurd-raise.c: Likewise.
33245         * hurd/hurdprio.c: Likewise.
33246         * hurd/msgportdemux.c: Likewise.
33247         * misc/sys/file.h: Likewise.
33248         * misc/sys/ioctl.h: Likewise.
33249         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33250         * sysdeps/mach/hurd/chdir.c: Likewise.
33251         * sysdeps/mach/hurd/fchdir.c: Likewise.
33252         * sysdeps/mach/hurd/rename.c: Likewise.
33253         * sysdeps/mach/hurd/rmdir.c: Likewise.
33254         * sysdeps/mach/hurd/seekdir.c: Likewise.
33255         * sysdeps/mach/hurd/setsid.c: Likewise.
33256         * sysdeps/posix/wait3.c: Likewise.
33258         * All files with FSF copyright notices: Update copyright dates
33259         using scripts/update-copyrights.
33260         * intl/plural.c: Regenerated.
33261         * locale/programs/charmap-kw.h: Likewise.
33262         * locale/programs/locfile-kw.h: Likewise.
33264 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33266         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33267         four values.
33269         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33270         calculation loop and add branch prediction.
33272         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33273         check access beyond bounds of m1np.
33275         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33276         MPTWO.
33277         (__inv): Remove local variable MPTWO to use the global
33278         constant.
33279         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33280         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33281         variable MPTWO.
33282         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33283         MP3HALFS static const.
33285 2013-01-01  David S. Miller  <davem@davemloft.net>
33287         * po/ca.po: Update from translation team.
33289 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33291         * scripts/update-copyrights: New file.
33292         * Makeconfig: Reformat copyright notice.
33293         * ctype/ctype.h: Likewise.
33294         * debug/swprintf_chk.c: Likewise.
33295         * elf/dl-cache.c: Likewise.
33296         * elf/dl-debug.c: Likewise.
33297         * elf/dl-object.c: Likewise.
33298         * grp/initgroups.c: Likewise.
33299         * hurd/Makefile: Likewise.
33300         * hurd/hurd/signal.h: Likewise.
33301         * hurd/hurdfault.c: Likewise.
33302         * hurd/hurdioctl.c: Likewise.
33303         * hurd/hurdlookup.c: Likewise.
33304         * hurd/intr-msg.c: Likewise.
33305         * iconv/gconv_open.c: Likewise.
33306         * libio/swprintf.c: Likewise.
33307         * locale/lc-ctype.c: Likewise.
33308         * locale/nl_langinfo.c: Likewise.
33309         * mach/Machrules: Likewise.
33310         * mach/Makefile: Likewise.
33311         * malloc/obstack.h: Likewise.
33312         * manual/Makefile: Likewise.
33313         * manual/tsort.awk: Likewise.
33314         * misc/bits/stab.def: Likewise.
33315         * nis/nis_print_group_entry.c: Likewise.
33316         * nis/nis_table.c: Likewise.
33317         * nis/nss_compat/compat-pwd.c: Likewise.
33318         * nis/nss_compat/compat-spwd.c: Likewise.
33319         * po/Makefile: Likewise.
33320         * posix/fnmatch.c: Likewise.
33321         * posix/regex.h: Likewise.
33322         * resolv/Makefile: Likewise.
33323         * resolv/nss_dns/dns-network.c: Likewise.
33324         * resolv/res_hconf.c: Likewise.
33325         * scripts/gen-sorted.awk: Likewise.
33326         * soft-fp/soft-fp.h: Likewise.
33327         * stdio-common/printf.h: Likewise.
33328         * stdlib/monetary.h: Likewise.
33329         * stdlib/random.c: Likewise.
33330         * stdlib/random_r.c: Likewise.
33331         * sysdeps/generic/Makefile: Likewise.
33332         * sysdeps/gnu/Makefile: Likewise.
33333         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33334         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33335         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33336         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33337         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33338         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33339         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33340         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33341         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33342         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33343         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33344         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33345         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33346         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33347         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33348         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33349         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33350         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33351         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33352         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33353         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33354         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33355         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33356         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33357         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33358         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33359         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33360         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33361         * sysdeps/mach/hurd/errnos.awk: Likewise.
33362         * sysdeps/mach/hurd/fork.c: Likewise.
33363         * sysdeps/mach/hurd/getcwd.c: Likewise.
33364         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33365         * sysdeps/mach/hurd/mmap.c: Likewise.
33366         * sysdeps/mach/hurd/utimes.c: Likewise.
33367         * sysdeps/mach/hurd/xmknod.c: Likewise.
33368         * sysdeps/posix/profil.c: Likewise.
33369         * sysdeps/posix/readdir_r.c: Likewise.
33370         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33371         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33372         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33373         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33374         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33375         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33376         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33377         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33379         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33380         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33381         * sysdeps/pthread/lio_listio.c: Likewise.
33382         * sysdeps/sparc/dl-procinfo.h: Likewise.
33383         * sysdeps/unix/i386/sysdep.S: Likewise.
33384         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33385         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33386         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33387         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33389         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33390         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33391         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33392         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33393         * sysdeps/wordsize-32/divdi3.c: Likewise.
33394         * time/sys/time.h: Likewise.
33395         * wcsmbs/Makefile: Likewise.
33397 2013-01-01  David S. Miller  <davem@davemloft.net>
33399         * po/fr.po: Update from translation team.
33401         * catgets/gencat.c: Update copyright year.
33402         * csu/version.c: Likewise.
33403         * debug/catchsegv.sh: Likewise.
33404         * debug/pcprofiledump.c: Likewise.
33405         * debug/xtrace.sh: Likewise.
33406         * elf/ldconfig.c: Likewise.
33407         * elf/ldd.bash.in: Likewise.
33408         * elf/pldd.c: Likewise.
33409         * elf/sotruss.ksh: Likewise.
33410         * elf/sprof.c: Likewise.
33411         * iconv/iconv_prog.c: Likewise.
33412         * iconv/iconvconfig.c: Likewise.
33413         * locale/programs/locale.c: Likewise.
33414         * locale/programs/localedef.c: Likewise.
33415         * login/programs/pt_chown.c: Likewise.
33416         * malloc/memusage.sh: Likewise.
33417         * malloc/memusagestat.c: Likewise.
33418         * malloc/mtrace.pl: Likewise.
33419         * nscd/nscd.c: Likewise.
33420         * nss/getent.c: Likewise.
33421         * nss/makedb.c: Likewise.
33422         * posix/getconf.c: Likewise.
33424 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33426         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33427         numbers.
33429 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33431         * math/bits/mathcalls.h (modf): Use __nonnull.
33433 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33435         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33436         (split): Use macro CN instead of the bare value.
33437         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33438         could be used.
33439         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33440         instead of the bare value.
33441         (power1): Likewise.
33443 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33445         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33446         __ATAN_TWOM.
33447         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33449         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33450         their values.
33451         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33452         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33453         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33454         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33456 2012-12-28  Andreas Jaeger  <aj@suse.de>
33458         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33459         values are from Linux 3.7.
33461         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33462         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33464 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33466         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33467         TRUE case.
33469         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33470         (norm): Likewise.
33471         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33472         variables with preprocessor constants.
33473         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33474         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33475         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33477 2012-12-27  Bruno Haible  <bruno@clisp.org>
33479         [BZ #14317]
33480         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33481         only if needed.
33483 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33485         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33486         and use variable directly.
33487         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33489         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33490         MPONE.
33491         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33492         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33493         variable MPONE.
33494         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33495         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33496         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33497         include directive.  Remove local variable MPONE.
33498         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33499         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33500         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33502 2012-12-25  David S. Miller  <davem@davemloft.net>
33504         * version.h (RELEASE): Set to "development".
33505         (VERSION): Set to "2.17.90".
33506         * NEWS: Add 2.18 section.
33508 2012-12-21  David S. Miller  <davem@davemloft.net>
33510         * po/hr.po: Update from translation team.
33512 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33514         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33516 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33518         * NEWS:  Mention new memcpy for MIPS.
33520 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33522         * manual/contrib.texi (Contributors): Spelling correction.
33524 2012-12-15  David S. Miller  <davem@davemloft.net>
33526         * po/ru.po: Update from translation team.
33528 2012-12-13  David S. Miller  <davem@davemloft.net>
33530         * NEWS: Mention IFUNC testsuite enhancements.
33532         * po/pl.po: Update from translation team.
33533         * po/bg.po: Likewise.
33535         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33536         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33538 2012-12-11  David S. Miller  <davem@davemloft.net>
33540         * po/sv.po: Update from translation team.
33542         * po/vi.po: Update from translation team.
33544         * po/cs.po: Update from translation team.
33546         * po/de.po: Update from translation team.
33547         * po/eo.po: Likewise.
33548         * po/nl.po: Likewise.
33550 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33552         [BZ #14246]
33553         * manual/argp.texi (Argp Helper Functions): Move node to follow
33554         Argp Parsing State.
33556         [BZ #14872]
33557         * manual/conf.texi (Limits on File System Capacity): Mention if
33558         terminating null is included in the max size.
33560 2012-12-10  Andreas Jaeger  <aj@suse.de>
33562         * po/cs.po: Update from translation team.
33564 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33566         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33567         void pointer and cast to uintptr_t.
33568         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33569         path.
33570         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33571         * sysdeps/s390/s390-64/memset.S: Likewise.
33573 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33575         [BZ #14833]
33576         * menual/message.texi (Message Translation): Fix typos.
33577         (Helper programs for gettext): Likewise.
33579 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33581         [BZ #14898]
33582         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33583         Change to -1.
33585 2012-12-07  David S. Miller  <davem@davemloft.net>
33587         * po/libc.pot: Update.
33589 2012-12-07  Richard Henderson  <rth@redhat.com>
33591         [BZ #10114]
33592         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33593         normal/normal case to before the switch.
33594         (_FP_DIV): Likewise.
33596 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33597             Mike Frysinger  <vapier@gentoo.org>
33599         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33600         check for __NR_fadvise64_64.
33602 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33604         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33605         0, not just to plain "0" as a statement.
33606         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33607         with cw.
33609 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33611         * NEWS: Use sourceware.org in Bugzilla URL.
33613 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33616         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33618         * stdio-common/tst-put-error.c (do_test): Add newline to the
33619         padded test to ensure flush.
33621 2012-12-05  Jeff Law  <law@redhat.com>
33623         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33625 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33627         * README: Don't refer to ports add-on as distributed separately.
33628         Mention AArch64 in list of systems supported in the ports add-on.
33630         * LICENSES: Add more non-FSF copyright and license notices.
33632         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33633         ((unused)).
33635         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33637         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33638         10000 as width of padded output.
33640 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33642         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33644         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33645         variable LX with __attribute__ ((unused)).
33646         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33647         Likewise.
33648         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33649         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33650         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33651         with __attribute__ ((unused)).
33653 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33655         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33657 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33659         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33660         (CFLAGS-nldbl-acos.c): New variable.
33661         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33662         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33663         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33664         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33665         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33666         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33667         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33668         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33669         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33670         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33671         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33672         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33673         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33674         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33675         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33676         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33677         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33678         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33679         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33680         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33681         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33682         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33683         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33684         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33685         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33686         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33687         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33688         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33689         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33690         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33691         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33692         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33693         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33694         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33695         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33696         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33697         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33698         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33699         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33700         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33701         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33702         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33703         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33704         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33705         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33706         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33707         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33708         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33709         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33710         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33711         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33712         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33713         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33714         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33715         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33716         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33717         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33718         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33719         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33720         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33721         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33722         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33723         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33724         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33725         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33726         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33727         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33728         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33729         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33730         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33731         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33732         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33733         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33734         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33735         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33736         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33737         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33738         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33739         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33740         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33741         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33742         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33743         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33744         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33745         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33746         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33747         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33748         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33749         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33750         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33751         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33752         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33753         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33754         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33755         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33756         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33757         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33760         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33762         [BZ #14914]
33763         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33764         whole low double instead of just low 47 bits when splitting values
33765         into two parts.
33767 2012-12-03  Allan McRae  <allan@archlinux.org>
33769         * manual/stdio.texi (Predefined Printf Handlers): Remove
33770         @hsep and @vsep usage.
33772 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33774         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33775         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33777 2012-12-03  Jeff Law  <law@redhat.com>
33779         * time/sys/time.h (settimeofday): Do not mark TV argument
33780         as __nonnull.
33782 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33784         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33785         when currently writing and seek to current position when not.
33786         * libio/Makefile (tests): Remove bug-fclose1.
33787         * libio/bug-fclose1.c: Delete.
33789 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33791         * manual/arith.texi (feenableexcept): Fix typo.
33792         (fedisableexcept): Likewise.
33794 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33796         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33797         second, differently-typed declaration, rather than a cast.
33799 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33801         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33802         * include/rpc/svc.h: ... here.
33804 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33806         [BZ #13013]
33807         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33808         depending n and resplen2 to catch cases where answer
33809         equals answerp2.
33811 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33813         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33814         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33816 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33818         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33820 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33822         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33824 2012-11-28  Jeff Law  <law@redhat.com>
33826         [BZ #13761]
33827         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33828         dataset_temporary.  Track alloca usage into alloca_used.
33829         If dataset is large allocate and release it via malloc/free.
33831 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33833         [BZ #14197]
33834         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33836 2012-11-28  David S. Miller  <davem@davemloft.net>
33838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33840 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33842         [BZ #14803]
33843         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33844         of pi/2 rounded to nearest to 64 bits.
33845         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33846         nearest to 64 bits.
33847         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33848         bits.
33850 2012-11-28  Jeff Law <law@redhat.com>
33851             Martin Osvald <mosvald@redhat.com>
33853         [BZ #14889]
33854         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33855         * sunrpc/svc.c: Include time.h.
33856         (__svc_accept_failed): New function.
33857         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33858         any reason other than EINTR, call __svc_accept_failed.
33859         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33860         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33862 2012-11-28  Andreas Schwab  <schwab@suse.de>
33864         * scripts/abilist.awk: Also handle indirect functions in .opd
33865         section.
33867 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33869         [BZ #13881]
33870         * sysdeps/x86/fpu/powl_helper.c: New file.
33871         * sysdeps/x86/fpu/Makefile: Likewise.
33872         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33873         (p3): New object.
33874         (__ieee754_powl): Use __powl_helper for finite arguments except
33875         integer exponents below 8.
33876         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33877         (p3): New object.
33878         (__ieee754_powl): Use __powl_helper for finite arguments except
33879         integer exponents below 8.
33880         * math/libm-test.inc (pow_test): Add more tests and enable some
33881         previously disabled tests.
33882         * sysdeps/i386/fpu/libm-test-ulps: Update.
33883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33885 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33886             Carlos O'Donell  <carlos_odonell@mentor.com>
33888         * nss/makedb.c (is_prime): Assert that input is odd and greater
33889         than 4.  Note that fact in a comment too.
33890         (next_prime): Add 4 to input.
33892 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33894         [BZ #11741]
33895         * libio/Makefile (tests): Add test case tst-fwrite-error.
33896         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33897         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33898         * libio/tst-fwrite-error.c: New test case.
33900 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33902         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33903         before casting to void *.
33904         * include/libc-internal.h (__pointer_type): New macro.
33905         (__integer_if_pointer_type_sub): Likewise.
33906         (__integer_if_pointer_type): Likewise.
33907         (cast_to_integer): Likewise.
33908         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33909         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33910         before casting to atomic64_t.
33911         (atomic_exchange_acq): Likewise.
33912         (__arch_exchange_and_add_body): Likewise.
33913         (__arch_add_body): Likewise.
33914         (atomic_add_negative): Likewise.
33915         (atomic_add_zero): Likewise.
33917 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33919         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33920         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33921         (add_fdes): Likewise.
33922         (linear_search_fdes): Likewise.
33923         (binary_search_unencoded_fdes): Likewise.
33925 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33927         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33929 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33931         * configure.in: Autodetect C++ header directories.
33932         * configure: Regenerated.
33934 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33936         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33938 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33940         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33942 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33944         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33945         LDBL_MANT_DIG == 106]: Disable some tests.
33946         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33947         Likewise.
33948         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33949         Likewise.
33951         [BZ #14871]
33952         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33953         input for small inputs.  Return +/- pi/2 for large inputs.
33954         * math/libm-test.inc (atan_test): Add more tests.
33956         * sysdeps/generic/unwind-dw2-fde-glibc.c
33957         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33958         __attribute__ ((unused)).
33960         [BZ #14645]
33961         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33962         x * y if x and y are nonzero and z is zero.
33964         [BZ #14811]
33965         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33966         nonzero exponents with absolute value below 0x1p-117 to +/-
33967         0x1p-117.
33969         [BZ #14869]
33970         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33971         up arguments below 2**-450, not just those below 2**-500.
33972         * math/libm-test.inc (hypot_test): Add another test.
33974         [BZ #14868]
33975         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33976         Return a+b for ratio over 2**120, not 2**60.
33977         * math/libm-test.inc (hypot_test): Add another test.
33979         * math/libm-test.inc (clog_test): Use
33980         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33981         (clog10_test): Likewise.
33983         [BZ #6778]
33984         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33986 2012-11-22  Andreas Schwab  <schwab@suse.de>
33988         * sysdeps/i386/fpu/libm-test-ulps: Update.
33990 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33992         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33993         printf output with newline.
33995 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33997         [BZ #14865]
33998         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33999         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34000         -z nodlopen, -z initfirst and -z execstack support.
34001         * configure: Regenerated.
34003         * elf/elf.h (DF_1_NODIRECT): New macro.
34004         (DF_1_IGNMULDEF): Likewise.
34005         (DF_1_NOKSYMS): Likewise.
34006         (DF_1_NOHDR): Likewise.
34007         (DF_1_EDITED): Likewise.
34008         (DF_1_NORELOC): Likewise.
34009         (DF_1_SYMINTPOSE): Likewise.
34010         (DF_1_GLOBAUDIT): Likewise.
34011         (DF_1_SINGLETON): Likewise.
34012         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34013         DT_1_SUPPORTED_MASK bits.
34014         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34016 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
34018         * sysdeps/unix/make-syscalls.sh: Document prefixes.
34020 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
34022         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34023         macro.
34025         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34026         (sendmmsg): Move declarations...
34027         * socket/sys/socket.h: ... here.
34028         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34029         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34030         include it from...
34031         * socket/recvmmsg.c: ... this new file.
34032         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34033         (sendmmsg): Rename to __sendmmsg, create weak alias and make
34034         definition of __sendmmsg hidden.
34035         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34036         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34037         Move ENOSYS stub into and include it from...
34038         * socket/sendmmsg.c: ... this new file.
34039         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34040         (sysdep_routines): Move recvmmsg and sendmmsg...
34041         * socket/Makefile (routines): ... here.
34042         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34043         (GLIBC_PRIVATE): Add __sendmmsg.
34044         * include/sys/socket.h (__sendmmsg): Add declarations.
34045         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34046         sendmmsg.
34048 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
34050         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34051         variable I1 with __attribute__ ((unused)).
34052         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34054 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34056         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34057         DUMMY variables with __attribute__ ((unused)).
34059         * bits/byteswap.h: Include <bits/types.h>.
34060         (__bswap_64): Use __uint64_t instead of unsigned long long int.
34062 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34064         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34065         string_t.  Do not manually set errno.
34066         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34067         length with __strnlen.  Make sure to both set errno and return it on
34068         failure.
34070 2012-11-19  David S. Miller  <davem@davemloft.net>
34072         With help from Joseph Myers.
34073         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34074         very large arguments properly.
34075         * math/libm-test.inc (atan_test): New tests.
34076         (atan2_test): New tests.
34077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34078         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34080 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34082         [BZ #14856]
34083         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34084         Define to 3.
34086         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34087         [POSIX] (EADDRNOTAVAIL): Likewise.
34088         [POSIX] (EAFNOSUPPORT): Likewise.
34089         [POSIX] (EALREADY): Likewise.
34090         [POSIX] (ECONNABORTED): Likewise.
34091         [POSIX] (ECONNREFUSED): Likewise.
34092         [POSIX] (ECONNRESET): Likewise.
34093         [POSIX] (EDESTADDRREQ): Likewise.
34094         [POSIX] (EDQUOT): Likewise.
34095         [POSIX] (EHOSTUNREACH): Likewise.
34096         [POSIX] (EIDRM): Likewise.
34097         [POSIX] (EISCONN): Likewise.
34098         [POSIX] (ELOOP): Likewise.
34099         [POSIX] (EMULTIHOP): Likewise.
34100         [POSIX] (ENETDOWN): Likewise.
34101         [POSIX] (ENETUNREACH): Likewise.
34102         [POSIX] (ENOBUFS): Likewise.
34103         [POSIX] (ENODATA): Likewise.
34104         [POSIX] (ENOLINK): Likewise.
34105         [POSIX] (ENOMSG): Likewise.
34106         [POSIX] (ENOPROTOOPT): Likewise.
34107         [POSIX] (ENOSR): Likewise.
34108         [POSIX] (ENOSTR): Likewise.
34109         [POSIX] (ENOTCONN): Likewise.
34110         [POSIX] (ENOTSOCK): Likewise.
34111         [POSIX] (EOPNOTSUPP): Likewise.
34112         [POSIX] (EOVERFLOW): Likewise.
34113         [POSIX] (EPROTO): Likewise.
34114         [POSIX] (EPROTONOSUPPORT): Likewise.
34115         [POSIX] (EPROTOTYPE): Likewise.
34116         [POSIX] (ESTALE): Likewise.
34117         [POSIX] (ETIME): Likewise.
34118         [POSIX] (ETXTBSY): Likewise.
34119         [POSIX] (EWOULDBLOCK): Likewise.
34120         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34121         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34122         [POSIX] (SEEK_CUR): Likewise.
34123         [POSIX] (SEEK_END): Likewise.
34124         [POSIX || UNIX98] (mode_t): Do not require.
34125         [POSIX] (off_t): Likewise.
34126         [POSIX] (pid_t): Likewise.
34127         [POSIX] (sys/stat.h): Do not allow header.
34128         [POSIX] (unistd.h): Likewise.
34129         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34130         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34131         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34132         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34133         require.
34134         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34135         sigevent): Specify elements.
34136         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34137         entry.
34138         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34139         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34141         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34142         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34143         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34144         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34145         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34146         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34147         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34148         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34149         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34150         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34151         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34152         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34153         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34154         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34155         Likewise.
34156         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34157         Likewise.
34158         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34159         Likewise.
34160         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34161         Likewise.
34162         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34163         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34164         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34165         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34166         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34167         Specify lower bound on value.
34168         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34169         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34170         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34171         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34172         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34173         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34174         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34175         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34176         value.
34177         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34178         as optional.
34179         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34180         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34181         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34182         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34183         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34184         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34185         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34186         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34187         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34188         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34189         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34190         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34191         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34192         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34193         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34194         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34195         entry.
34196         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34197         optional.
34198         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34199         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34200         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34201         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34202         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34203         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34204         Likewise.
34205         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34206         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34207         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34208         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34209         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34210         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34211         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34212         as optional.
34213         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34214         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34215         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34216         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34217         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34218         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34219         specify as optional.
34220         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34221         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34222         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34223         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34224         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34225         [XPG3] (NL_LANGMAX): Likewise.
34226         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34227         [POSIX || XPG3] (NL_NMAX): Likewise.
34228         [POSIX || XPG3] (NL_SETMAX): Likewise.
34229         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34230         [XPG3] (NZERO): Likewise.
34231         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34232         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34233         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34234         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34235         (REG_ERANGE): Expect.
34236         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34237         optional-constant.
34238         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34239         Use (void) in prototype.
34240         [POSIX] (*_t): Allow.
34241         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34242         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34243         (WRDE_BADVAL): Expect.
34245         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34246         expect.
34247         [XPG3 || XPG4] (O_RSYNC): Likewise.
34248         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34249         Likewise.
34250         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34251         [XPG3 || XPG4] (sigqueue): Likewise.
34252         [XPG3 || XPG4] (sigtimedwait): Likewise.
34253         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34254         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34255         [XPG3 || XPG4] (vsnprintf): Likewise.
34256         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34257         Likewise.
34258         [XPG3 || XPG4] (blksize_t): Likewise.
34259         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34260         Likewise.
34261         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34262         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34263         [XPG3 || XPG4] (struct itimerspec): Likewise.
34264         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34265         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34266         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34267         [XPG3 || XPG4] (clockid_t): Likewise.
34268         [XPG3 || XPG4] (timer_t): Likewise.
34269         [XPG3 || XPG4] (clock_getres): Likewise.
34270         [XPG3 || XPG4] (clock_gettime): Likewise.
34271         [XPG3 || XPG4] (clock_settime): Likewise.
34272         [XPG3 || XPG4] (nanosleep): Likewise.
34273         [XPG3 || XPG4] (timer_create): Likewise.
34274         [XPG3 || XPG4] (timer_delete): Likewise.
34275         [XPG3 || XPG4] (timer_gettime): Likewise.
34276         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34277         [XPG3 || XPG4] (timer_settime): Likewise.
34278         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34279         [XPG3 || XPG4] (getlogin_r): Likewise.
34280         [XPG3 || XPG4] (pread): Likewise.
34281         [XPG3 || XPG4] (pthread_atfork): Likewise.
34282         [XPG3 || XPG4] (pwrite): Likewise.
34284         [BZ #14835]
34285         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34286         <bits/siginfo.h>.
34288 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34290         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34291         finalizing MALLSTREAM.
34293         * sysdeps/mach/hurd/syncfs.c: New file.
34295 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34297         [BZ #14719]
34298         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34299         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34300         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34301         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34302         (_nss_dns_gethostbyname4_r): Likewise.
34303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34304         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34306 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34308         [BZ #13763]
34309         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34311 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34313         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34314         * elf/cache.c (print_entry): Print ",AArch64" for
34315         FLAG_AARCH64_LIB64
34317         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34318         * elf/cache.c (print_entry): Print ",hard-float" for
34319         FLAG_ARM_LIBHF.
34321 2012-11-18  David S. Miller  <davem@davemloft.net>
34323         With help from Joseph Myers.
34324         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34325         cutoff to 2**-13.
34326         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34327         cutoff to 2**-25.
34328         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34329         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34330         small.
34331         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34332         * math/libm-test.inc (y0_test): New tests.
34333         (y1_test): New tests.
34334         * sysdeps/i386/fpu/libm-test-ulps: Update.
34335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34338 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34340         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34341         64-bit targets.
34342         * configure: Regenerated.
34344 2012-11-17  David S. Miller  <davem@davemloft.net>
34346         [BZ #14811]
34347         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34348         nonzero exponents with absolute value below 0x1p-128 to +/-
34349         0x1p-128.
34351 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34353         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34355         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34357         * posix/getconf-speclist.c: New file.
34358         * posix/posix-envs.def: Likewise.
34359         * posix/confstr.c (START_ENV_GROUP): New macro.
34360         (END_ENV_GROUP): Likewise.
34361         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34362         (KNOWN_PRESENT_ENV_STRING): Likewise.
34363         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34364         (UNKNOWN_ENVIRONMENT): Likewise.
34365         (confstr): Include posix-envs.def instead of handling
34366         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34367         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34368         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34369         (END_ENV_GROUP): Likewise.
34370         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34371         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34372         (UNKNOWN_ENVIRONMENT): Likewise.
34373         (__sysconf): Include posix-envs.def instead of handling associated
34374         cases directly here.
34375         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34376         preprocessing getconf-speclist.c rather than running getconf or
34377         generating empty file.
34379 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34381         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34383 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34385         [BZ #14672]
34386         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34388 2012-11-16  David S. Miller  <davem@davemloft.net>
34390         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34391         smaller than LDBL_EPSILON/2.0L, just return xm1.
34393 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34395         * elf/tst-array1.c (init): Set constructor priority to 1000.
34396         (fini): Set destructor priority to 1000.
34397         * elf/tst-array2dep.c: Likewise.
34399 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34401         [BZ #11741]
34402         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34403         (_IO_new_file_xsputn): Also return EOF if none of the input
34404         data was written when overflow failed.
34405         * libio/iopadn.c (_IO_padn): Likewise.
34406         * libio/iowpadn.c (_IO_wpadn): Likewise.
34407         * stdio-common/tst-put-error.c: Add copyright notice.
34408         (do_test): Add case for printing padded string.
34409         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34410         _IO_padn returned error.
34411         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34412         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34413         return EOF.
34415 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34417         * libio/libioP.h: Add comment note that the references to C++
34418         bits are now obsolete.
34420 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34422         * math/libm-test.inc (check_complex): Use asprintf.
34424 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34426         * debug/pcprofiledump.c (print_version): Update copyright year.
34427         * malloc/memusagestat.c (print_version): Likewise.
34429 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34431         [BZ #14831]
34432         * elf/Makefile (tests): Add tst-audit8.
34433         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34434         ($(objpfx)tst-audit8.out): New target.
34435         (tst-audit8-ENV): New variable.
34436         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34437         audit if l_reloc_result is NULL.
34438         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34439         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34440         * elf/tst-audit8.c: New file.
34442 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34444         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34445         * misc/Makefile (CFLAGS-select.c): Define.
34446         * posix/Makefile (CFLAGS-pause.c): Define.
34448 2012-11-13  David S. Miller  <davem@davemloft.net>
34450         * crypt/Makefile: Move test targets after toplevel Rules
34451         inclusion.  Grab any necessary sysdep routines when linking.
34452         * crypt/md5.c (md5_process_block): Remove define, we will always
34453         name it __md5_process_block.
34454         (md5_finish_ctx): Update md5_process_block call.
34455         (md5_stream): Likewise.
34456         (md5_process_bytes): Likewise.
34457         (md5_process_block): Rename to __md5_process_block and move to ...
34458         * crypt/md5-block.c: ... here.
34459         * crypt/sha256.c (sha256_process_block): Move to ...
34460         * crypt/sha256-block.c: ... here.
34461         * crypt/sha512.c (sha512_process_block): Move to ...
34462         * crypt/sha512-block.c: ... here.
34463         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34464         path.
34465         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34466         * sysdeps/sparc/sparc64/multiarch/Makefile
34467         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34468         crypt subdir.
34469         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34470         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34471         multiarch changes.
34472         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34473         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34474         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34475         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34476         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34477         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34478         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34479         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34480         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34481         file.
34482         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34483         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34484         file.
34485         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34487 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34489         * timezone/tzselect.ksh: Update from tzcode git revision
34490         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34491         * timezone/zdump.c: Likewise.
34492         * timezone/zic.c: Likewise.
34493         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34494         in TZVERSION setting, not $(PKGVERSION).
34495         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34496         REPORT_BUGS_TO settings.
34498         [BZ #14838]
34499         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34500         macro.
34502 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34504         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34505         detection to immediately after _FP_ROUND().
34506         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34507         bits are 0.
34509 2012-11-11  David S. Miller  <davem@davemloft.net>
34511         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34512         inttypes.h
34513         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34514         __close rather than their public counterparts.
34516 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34518         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34519         file.
34520         [UNIX98] (sem_timedwait): Do not expect.
34521         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34522         [XPG4 || UNIX98] (sockatmark): Do not expect.
34523         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34524         (clock_getcpuclockid): Do not expect.
34525         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34526         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34527         Do not expect.
34528         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34529         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34530         [UNIX98] (vwscanf): Likewise.
34531         [UNIX98] (vswscanf): Likewise.
34533 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34535         * timezone/version.h: Remove file.
34536         * timezone/README: Do not refer to version.h.
34537         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34538         $(objpfx)version.h.
34539         ($(objpfx)zdump.o): Likewise.
34540         ($(objpfx)version.h): New target.
34542         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34543         2012i.
34544         * timezone/README: Don't mention modification to tzselect.ksh.
34545         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34546         work on unmodified tzselect.ksh.  Substitute version numbers in
34547         tzselect.ksh.
34549         * Makefile (format-me): Remove.
34550         (INSTALL): Adjust indentation.  Use commands directly instead of
34551         using $(format-me).
34553         * aclocal.m4 (ACX_PKGVERSION): New macro.
34554         (ACX_BUGURL): Likewise.
34555         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34556         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34557         (REPORT_BUGS_TO): Likewise.
34558         * configure: Regenerated.
34559         * config.h.in (PKGVERSION): New macro.
34560         (REPORT_BUGS_TO): Likewise.
34561         * config.make.in (PKGVERSION): New variable.
34562         (PKGVERSION_TEXI): Likewise.
34563         (REPORT_BUGS_TO): Likewise.
34564         (REPORT_BUGS_TEXI): Likewise.
34565         * Makefile (format-me): Use -I$(common-objpfx)manual.
34566         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34567         ($(common-objpfx)manual/%): New target.
34568         (manual/%): Remove target.
34569         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34570         (print_version): Use PKGVERSION.
34571         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34572         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34573         and REPORT_BUGS_TO.
34574         ($(objpfx)xtrace): Likewise.
34575         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34576         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34577         (print_version): Use PKGVERSION.
34578         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34579         (do_version): Use PKGVERSION.
34580         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34581         REPORT_BUGS_TO.
34582         (common-ldd-rewrite): Likewise.
34583         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34584         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34585         (print_version): Use PKGVERSION.
34586         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34587         * elf/pldd.c (argp_program_bug_address): Remove variable.
34588         (more_help): New function.
34589         (argp): Use more_help.
34590         (print_version): Use PKGVERSION.
34591         * elf/sln.c (main): Use PKGVERSION.
34592         (usage): Use REPORT_BUGS_TO.
34593         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34594         (top level): Use PKGVERSION.
34595         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34596         (print_version): Use PKGVERSION.
34597         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34598         (print_version): Use PKGVERSION.
34599         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34600         (print_version): Use PKGVERSION.
34601         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34602         (print_version): Use PKGVERSION.
34603         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34604         (print_version): Use PKGVERSION.
34605         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34606         (print_version): Use PKGVERSION.
34607         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34608         and BUGURL.
34609         ($(objpfx)memusage): Likewise.
34610         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34611         (do_version): Use PKGVERSION.
34612         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34613         (print_version): Use PKGVERSION.
34614         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34615         ($PKGVERSION): New variable.
34616         ($REPORT_BUGS_TO): Likewise.
34617         (usage): Use $REPORT_BUGS_TO.
34618         (top level): Use $PKGVERSION.
34619         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34620         ($(objpfx)pkgvers.texi): New rule.
34621         ($(objpfx)stamp-pkgvers): Likewise.
34622         * manual/install.texi: Include pkgvers.texi.
34623         (--with-pkgversion): Document new configure option.
34624         (--with-bugurl): Likewise.
34625         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34626         than necessarily for this particular distribution.  Use
34627         REPORT_BUGS_TO for where to report bugs.
34628         * INSTALL: Regenerated.
34629         * manual/libc.texinfo: Include pkgvers.texi.
34630         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34631         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34632         (print_version): Use PKGVERSION.
34633         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34634         (print_version): Use PKGVERSION.
34635         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34636         (print_version): Use PKGVERSION.
34637         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34638         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34639         macro.
34640         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34641         (print_version): Use PKGVERSION.
34642         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34643         (print_version): Use PKGVERSION.
34644         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34645         and PKGVERSION.
34647         * timezone/checktab.awk: Update from tzcode 2012i.
34648         * timezone/ialloc.c: Likewise.
34649         * timezone/private.h: Likewise.
34650         * timezone/scheck.c: Likewise.
34651         * timezone/tzfile.h: Likewise.
34652         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34653         (TZVERSION): Hardcode tzcode version number.
34654         * timezone/zdump.c: Update from tzcode 2012i.
34655         * timezone/zic.c: Likewise.
34656         * timezone/version.h: New file.
34657         * timezone/README: Describe version.h.  Update upstream location.
34659         [BZ #14824]
34660         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34661         (mktemp): Enable declaration.
34662         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34663         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34664         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34665         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34666         Likewise.
34667         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34668         Likewise.
34669         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34670         Likewise.
34671         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34672         Likewise.
34673         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34674         Likewise.
34675         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34676         Likewise.
34678         [BZ #14821]
34679         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34680         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34681         for copies of such integer values.
34682         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34683         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34685 2012-11-09  Andreas Jaeger  <aj@suse.de>
34687         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34688         definitions and declarations that are provided by
34689         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34691 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34693         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34694         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34695         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34696         definition.
34698 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34700         * elf/elf.h: Update comment before AArch64 relocations.
34702 2012-11-07  David S. Miller  <davem@davemloft.net>
34704         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34705         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34706         (__start_context): Declare.
34707         (__makecontext_ret): Delete.
34708         (__makecontext): Hook up __start_context instead of
34709         __makecontext_ret.
34710         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34711         (sysdep_routines): Add __start_context when in stdlib.
34713 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34715         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34716         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34717         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34718         hardcoded "nm".
34719         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34720         (READELF): New variable.  Use it instead of hardcoded "readelf".
34722 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34724         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34725         * sysdeps/x86/Makefile: Here.
34726         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34727         * sysdeps/x86/tst-xmmymm.sh: This.
34729 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34731         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34732         expectations.
34733         [UNIX98] (pthread_barrier_t): Do not expect.
34734         [UNIX98] (pthread_barrierattr_t): Likewise.
34735         [UNIX98] (pthread_spinlock_t): Likewise.
34736         [UNIX98] (pthread_barrier_destroy): Likewise.
34737         [UNIX98] (pthread_barrier_init): Likewise.
34738         [UNIX98] (pthread_barrier_wait): Likewise.
34739         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34740         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34741         [UNIX98] (pthread_barrierattr_init): Likewise.
34742         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34743         [UNIX98] (pthread_getcpuclockid): Likewise.
34744         [UNIX98] (pthread_mutex_timedlock): Likewise.
34745         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34746         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34747         [UNIX98] (pthread_sigmask): Likewise.
34748         [UNIX98] (pthread_spin_destroy): Likewise.
34749         [UNIX98] (pthread_spin_init): Likewise.
34750         [UNIX98] (pthread_spin_lock): Likewise.
34751         [UNIX98] (pthread_spin_trylock): Likewise.
34752         [UNIX98] (pthread_spin_unlock): Likewise.
34753         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34754         Do not expect.
34755         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34756         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34757         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34758         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34759         [XPG3 || XPG4] (pthread_key_t): Likewise.
34760         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34761         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34762         [XPG3 || XPG4] (pthread_once_t): Likewise.
34763         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34764         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34765         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34766         [XPG3 || XPG4] (pthread_t): Likewise.
34768         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34769         not expect.
34770         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34772         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34773         Change function return type to int.
34775         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34776         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34777         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34778         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34779         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34780         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34781         [!POSIX] (posix_madvise): Likewise.
34782         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34783         && !UNIX98].
34784         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34785         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34786         (mode_t): Likewise.
34787         (posix_mem_offset): Likewise.
34788         (posix_typed_mem_get_info): Likewise.
34789         (posix_typed_mem_open): Likewise.
34791         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34792         Change condition to [XOPEN2K8].
34794         * conform/conformtest.pl: Preprocess allow-header data with -x c
34795         instead of from stdin.
34796         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34797         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34798         [C99-based standards] (cerfc): Likewise.
34799         [C99-based standards] (cexp2): Likewise.
34800         [C99-based standards] (cexpm1): Likewise.
34801         [C99-based standards] (clog10): Likewise.
34802         [C99-based standards] (clog1p): Likewise.
34803         [C99-based standards] (clog2): Likewise.
34804         [C99-based standards] (clgamma): Likewise.
34805         [C99-based standards] (ctgamma): Likewise.
34806         [C99-based standards] (cerff): Likewise.
34807         [C99-based standards] (cerfcf): Likewise.
34808         [C99-based standards] (cexp2f): Likewise.
34809         [C99-based standards] (cexpm1f): Likewise.
34810         [C99-based standards] (clog10f): Likewise.
34811         [C99-based standards] (clog1pf): Likewise.
34812         [C99-based standards] (clog2f): Likewise.
34813         [C99-based standards] (clgammaf): Likewise.
34814         [C99-based standards] (ctgammaf): Likewise.
34815         [C99-based standards] (cerfl): Likewise.
34816         [C99-based standards] (cerfcl): Likewise.
34817         [C99-based standards] (cexp2l): Likewise.
34818         [C99-based standards] (cexpm1l): Likewise.
34819         [C99-based standards] (clog10l): Likewise.
34820         [C99-based standards] (clog1pl): Likewise.
34821         [C99-based standards] (clog2l): Likewise.
34822         [C99-based standards] (clgammal): Likewise.
34823         [C99-based standards] (ctgammal): Likewise.
34824         * conform/data/inttypes.h-data [C99-based standards]: Include
34825         stdint.h-data.  Remove all expectations for stdint.h contents.
34826         [C99-based standards] (PRI*): Do not allow.
34827         [C99-based standards] (SCN*): Likewise.
34828         [C99-based standards] (*_t): Likewise.
34829         [C99-based-standards] (PRId8): Expect macro.
34830         [C99-based-standards] (PRIi8): Likewise.
34831         [C99-based-standards] (PRIo8): Likewise.
34832         [C99-based-standards] (PRIu8): Likewise.
34833         [C99-based-standards] (PRIx8): Likewise.
34834         [C99-based-standards] (PRIX8): Likewise.
34835         [C99-based-standards] (SCNd8): Likewise.
34836         [C99-based-standards] (SCNi8): Likewise.
34837         [C99-based-standards] (SCNo8): Likewise.
34838         [C99-based-standards] (SCNu8): Likewise.
34839         [C99-based-standards] (SCNx8): Likewise.
34840         [C99-based-standards] (PRIdLEAST8): Likewise.
34841         [C99-based-standards] (PRIiLEAST8): Likewise.
34842         [C99-based-standards] (PRIoLEAST8): Likewise.
34843         [C99-based-standards] (PRIuLEAST8): Likewise.
34844         [C99-based-standards] (PRIxLEAST8): Likewise.
34845         [C99-based-standards] (PRIXLEAST8): Likewise.
34846         [C99-based-standards] (SCNdLEAST8): Likewise.
34847         [C99-based-standards] (SCNiLEAST8): Likewise.
34848         [C99-based-standards] (SCNoLEAST8): Likewise.
34849         [C99-based-standards] (SCNuLEAST8): Likewise.
34850         [C99-based-standards] (SCNxLEAST8): Likewise.
34851         [C99-based-standards] (PRIdFAST8): Likewise.
34852         [C99-based-standards] (PRIiFAST8): Likewise.
34853         [C99-based-standards] (PRIoFAST8): Likewise.
34854         [C99-based-standards] (PRIuFAST8): Likewise.
34855         [C99-based-standards] (PRIxFAST8): Likewise.
34856         [C99-based-standards] (PRIXFAST8): Likewise.
34857         [C99-based-standards] (SCNdFAST8): Likewise.
34858         [C99-based-standards] (SCNiFAST8): Likewise.
34859         [C99-based-standards] (SCNoFAST8): Likewise.
34860         [C99-based-standards] (SCNuFAST8): Likewise.
34861         [C99-based-standards] (SCNxFAST8): Likewise.
34862         [C99-based-standards] (PRId16): Likewise.
34863         [C99-based-standards] (PRIi16): Likewise.
34864         [C99-based-standards] (PRIo16): Likewise.
34865         [C99-based-standards] (PRIu16): Likewise.
34866         [C99-based-standards] (PRIx16): Likewise.
34867         [C99-based-standards] (PRIX16): Likewise.
34868         [C99-based-standards] (SCNd16): Likewise.
34869         [C99-based-standards] (SCNi16): Likewise.
34870         [C99-based-standards] (SCNo16): Likewise.
34871         [C99-based-standards] (SCNu16): Likewise.
34872         [C99-based-standards] (SCNx16): Likewise.
34873         [C99-based-standards] (PRIdLEAST16): Likewise.
34874         [C99-based-standards] (PRIiLEAST16): Likewise.
34875         [C99-based-standards] (PRIoLEAST16): Likewise.
34876         [C99-based-standards] (PRIuLEAST16): Likewise.
34877         [C99-based-standards] (PRIxLEAST16): Likewise.
34878         [C99-based-standards] (PRIXLEAST16): Likewise.
34879         [C99-based-standards] (SCNdLEAST16): Likewise.
34880         [C99-based-standards] (SCNiLEAST16): Likewise.
34881         [C99-based-standards] (SCNoLEAST16): Likewise.
34882         [C99-based-standards] (SCNuLEAST16): Likewise.
34883         [C99-based-standards] (SCNxLEAST16): Likewise.
34884         [C99-based-standards] (PRIdFAST16): Likewise.
34885         [C99-based-standards] (PRIiFAST16): Likewise.
34886         [C99-based-standards] (PRIoFAST16): Likewise.
34887         [C99-based-standards] (PRIuFAST16): Likewise.
34888         [C99-based-standards] (PRIxFAST16): Likewise.
34889         [C99-based-standards] (PRIXFAST16): Likewise.
34890         [C99-based-standards] (SCNdFAST16): Likewise.
34891         [C99-based-standards] (SCNiFAST16): Likewise.
34892         [C99-based-standards] (SCNoFAST16): Likewise.
34893         [C99-based-standards] (SCNuFAST16): Likewise.
34894         [C99-based-standards] (SCNxFAST16): Likewise.
34895         [C99-based-standards] (PRId32): Likewise.
34896         [C99-based-standards] (PRIi32): Likewise.
34897         [C99-based-standards] (PRIo32): Likewise.
34898         [C99-based-standards] (PRIu32): Likewise.
34899         [C99-based-standards] (PRIx32): Likewise.
34900         [C99-based-standards] (PRIX32): Likewise.
34901         [C99-based-standards] (SCNd32): Likewise.
34902         [C99-based-standards] (SCNi32): Likewise.
34903         [C99-based-standards] (SCNo32): Likewise.
34904         [C99-based-standards] (SCNu32): Likewise.
34905         [C99-based-standards] (SCNx32): Likewise.
34906         [C99-based-standards] (PRIdLEAST32): Likewise.
34907         [C99-based-standards] (PRIiLEAST32): Likewise.
34908         [C99-based-standards] (PRIoLEAST32): Likewise.
34909         [C99-based-standards] (PRIuLEAST32): Likewise.
34910         [C99-based-standards] (PRIxLEAST32): Likewise.
34911         [C99-based-standards] (PRIXLEAST32): Likewise.
34912         [C99-based-standards] (SCNdLEAST32): Likewise.
34913         [C99-based-standards] (SCNiLEAST32): Likewise.
34914         [C99-based-standards] (SCNoLEAST32): Likewise.
34915         [C99-based-standards] (SCNuLEAST32): Likewise.
34916         [C99-based-standards] (SCNxLEAST32): Likewise.
34917         [C99-based-standards] (PRIdFAST32): Likewise.
34918         [C99-based-standards] (PRIiFAST32): Likewise.
34919         [C99-based-standards] (PRIoFAST32): Likewise.
34920         [C99-based-standards] (PRIuFAST32): Likewise.
34921         [C99-based-standards] (PRIxFAST32): Likewise.
34922         [C99-based-standards] (PRIXFAST32): Likewise.
34923         [C99-based-standards] (SCNdFAST32): Likewise.
34924         [C99-based-standards] (SCNiFAST32): Likewise.
34925         [C99-based-standards] (SCNoFAST32): Likewise.
34926         [C99-based-standards] (SCNuFAST32): Likewise.
34927         [C99-based-standards] (SCNxFAST32): Likewise.
34928         [C99-based-standards] (PRId64): Likewise.
34929         [C99-based-standards] (PRIi64): Likewise.
34930         [C99-based-standards] (PRIo64): Likewise.
34931         [C99-based-standards] (PRIu64): Likewise.
34932         [C99-based-standards] (PRIx64): Likewise.
34933         [C99-based-standards] (PRIX64): Likewise.
34934         [C99-based-standards] (SCNd64): Likewise.
34935         [C99-based-standards] (SCNi64): Likewise.
34936         [C99-based-standards] (SCNo64): Likewise.
34937         [C99-based-standards] (SCNu64): Likewise.
34938         [C99-based-standards] (SCNx64): Likewise.
34939         [C99-based-standards] (PRIdLEAST64): Likewise.
34940         [C99-based-standards] (PRIiLEAST64): Likewise.
34941         [C99-based-standards] (PRIoLEAST64): Likewise.
34942         [C99-based-standards] (PRIuLEAST64): Likewise.
34943         [C99-based-standards] (PRIxLEAST64): Likewise.
34944         [C99-based-standards] (PRIXLEAST64): Likewise.
34945         [C99-based-standards] (SCNdLEAST64): Likewise.
34946         [C99-based-standards] (SCNiLEAST64): Likewise.
34947         [C99-based-standards] (SCNoLEAST64): Likewise.
34948         [C99-based-standards] (SCNuLEAST64): Likewise.
34949         [C99-based-standards] (SCNxLEAST64): Likewise.
34950         [C99-based-standards] (PRIdFAST64): Likewise.
34951         [C99-based-standards] (PRIiFAST64): Likewise.
34952         [C99-based-standards] (PRIoFAST64): Likewise.
34953         [C99-based-standards] (PRIuFAST64): Likewise.
34954         [C99-based-standards] (PRIxFAST64): Likewise.
34955         [C99-based-standards] (PRIXFAST64): Likewise.
34956         [C99-based-standards] (SCNdFAST64): Likewise.
34957         [C99-based-standards] (SCNiFAST64): Likewise.
34958         [C99-based-standards] (SCNoFAST64): Likewise.
34959         [C99-based-standards] (SCNuFAST64): Likewise.
34960         [C99-based-standards] (SCNxFAST64): Likewise.
34961         [C99-based-standards] (PRIdMAX): Likewise.
34962         [C99-based-standards] (PRIiMAX): Likewise.
34963         [C99-based-standards] (PRIoMAX): Likewise.
34964         [C99-based-standards] (PRIuMAX): Likewise.
34965         [C99-based-standards] (PRIxMAX): Likewise.
34966         [C99-based-standards] (PRIXMAX): Likewise.
34967         [C99-based-standards] (SCNdMAX): Likewise.
34968         [C99-based-standards] (SCNiMAX): Likewise.
34969         [C99-based-standards] (SCNoMAX): Likewise.
34970         [C99-based-standards] (SCNuMAX): Likewise.
34971         [C99-based-standards] (SCNxMAX): Likewise.
34972         [C99-based-standards] (PRIdPTR): Likewise.
34973         [C99-based-standards] (PRIiPTR): Likewise.
34974         [C99-based-standards] (PRIoPTR): Likewise.
34975         [C99-based-standards] (PRIuPTR): Likewise.
34976         [C99-based-standards] (PRIxPTR): Likewise.
34977         [C99-based-standards] (PRIXPTR): Likewise.
34978         [C99-based-standards] (SCNdPTR): Likewise.
34979         [C99-based-standards] (SCNiPTR): Likewise.
34980         [C99-based-standards] (SCNoPTR): Likewise.
34981         [C99-based-standards] (SCNuPTR): Likewise.
34982         [C99-based-standards] (SCNxPTR): Likewise.
34983         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34984         allow.
34985         * conform/data/stdint.h-data: Update comments to clarify
34986         requirements.
34987         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34988         type.
34989         [C99-based standards] (INT8_MAX): Likewise.
34990         [C99-based standards] (INT16_MIN): Likewise.
34991         [C99-based standards] (INT16_MAX): Likewise.
34992         [C99-based standards] (INT32_MIN): Likewise.
34993         [C99-based standards] (INT32_MAX): Likewise.
34994         [C99-based standards] (INT64_MIN): Likewise.
34995         [C99-based standards] (INT64_MAX): Likewise.
34996         [C99-based standards] (UINT8_MAX): Likewise.
34997         [C99-based standards] (UINT16_MAX): Likewise.
34998         [C99-based standards] (UINT32_MAX): Likewise.
34999         [C99-based standards] (UINT64_MAX): Likewise.
35000         [C99-based standards] (INT_LEAST8_MIN): Likewise.
35001         [C99-based standards] (INT_LEAST8_MAX): Likewise.
35002         [C99-based standards] (INT_LEAST16_MIN): Likewise.
35003         [C99-based standards] (INT_LEAST16_MAX): Likewise.
35004         [C99-based standards] (INT_LEAST32_MIN): Likewise.
35005         [C99-based standards] (INT_LEAST32_MAX): Likewise.
35006         [C99-based standards] (INT_LEAST64_MIN): Likewise.
35007         [C99-based standards] (INT_LEAST64_MAX): Likewise.
35008         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35009         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35010         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35011         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35012         [C99-based standards] (INT_FAST8_MIN): Likewise.
35013         [C99-based standards] (INT_FAST8_MAX): Likewise.
35014         [C99-based standards] (INT_FAST16_MIN): Likewise.
35015         [C99-based standards] (INT_FAST16_MAX): Likewise.
35016         [C99-based standards] (INT_FAST32_MIN): Likewise.
35017         [C99-based standards] (INT_FAST32_MAX): Likewise.
35018         [C99-based standards] (INT_FAST64_MIN): Likewise.
35019         [C99-based standards] (INT_FAST64_MAX): Likewise.
35020         [C99-based standards] (UINT_FAST8_MAX): Likewise.
35021         [C99-based standards] (UINT_FAST16_MAX): Likewise.
35022         [C99-based standards] (UINT_FAST32_MAX): Likewise.
35023         [C99-based standards] (UINT_FAST64_MAX): Likewise.
35024         [C99-based standards] (INTPTR_MIN): Likewise.
35025         [C99-based standards] (INTPTR_MAX): Likewise.
35026         [C99-based standards] (UINTPTR_MAX): Likewise.
35027         [C99-based standards] (INTMAX_MIN): Likewise.
35028         [C99-based standards] (INTMAX_MAX): Likewise.
35029         [C99-based standards] (UINTMAX_MAX): Likewise.
35030         [C99-based standards] (PTRDIFF_MIN): Likewise.
35031         [C99-based standards] (PTRDIFF_MAX): Likewise.
35032         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35033         [C99-based standards] (SIZE_MAX): Likewise.
35034         [C99-based standards] (WCHAR_MAX): Likewise.
35035         [C99-based standards] (WINT_MAX): Likewise.
35036         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
35037         constraint on value.
35038         [C99-based standards] (WCHAR_MIN): Likewise.
35039         [C99-based standards] (WINT_MIN): Likewise.
35040         [C99-based standards] (*_t): Allow.
35041         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35042         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35043         Include math.h-data and complex.h-data.  Remove all expectations
35044         of math.h and complex.h contents.
35045         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35046         at end of line.
35047         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35048         (struct tm): Expect tag.
35049         [C99-based-standards] (wcstof): Expect function.
35050         [C99-based-standards] (wcstold): Likewise.
35051         [C99-based-standards] (wcstoll): Likewise.
35052         [C99-based-standards] (wcstoull): Likewise.
35053         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35054         macro-int-constant.  Specify type.
35055         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
35056         constraint on value.
35057         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35058         Specify type.
35059         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35060         Specify value.
35061         [ISO C standards]: Do not allow headers.
35062         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35063         wcs[abcdefghijklmnopqrstuvwxyz]*.
35064         [ISO C standards] (*_t): Do not allow.
35065         * conform/data/wctype.h-data [C99-based standards] (iswblank):
35066         Expect function.
35067         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35068         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35069         Specify type.
35070         [ISO C standards]: Do not allow headers.
35071         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35072         is[abcdefghijklmnopqrstuvwxyz]*.
35073         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35074         to[abcdefghijklmnopqrstuvwxyz]*.
35075         [ISO C standards] (*_t): Do not allow.
35076         * conform/data/stdalign.h-data: New file.
35077         * conform/data/stdbool.h-data: Likewise.
35078         * conform/data/stdnoreturn.h-data: Likewise.
35080 2012-11-07  Roland McGrath  <roland@hack.frob.com>
35082         [BZ #14815]
35083         * manual/filesys.texi (Directory Entries): Typo fix.
35084         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35086 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35088         * elf/elf.h (EM_AARCH64): New macro.
35089         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35090         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35091         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35092         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35093         (R_AARCH64_TLSDESC): Likewise.
35094         (NT_ARM_TLS): Likewise.
35095         (NT_ARM_HW_BREAK): Likewise.
35096         (NT_ARM_HW_WATCH): Likewise.
35098 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35100         [BZ #14811]
35101         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35102         (__ieee754_powl): Saturate nonzero exponents with absolute value
35103         below 0x1p-79 to +/- 0x1p-79.
35104         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35105         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35106         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35107         nonzero exponents with absolute value below 0x1p-32 to +/-
35108         0x1p-32.
35109         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35110         (__ieee754_powl): Saturate nonzero exponents with absolute value
35111         below 0x1p-79 to +/- 0x1p-79.
35112         * math/libm-test.inc (pow_test): Add more tests.
35114 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35116         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35117         _dl_s390_cap_flags with kernel. Increase string length.
35118         (_dl_s390_platforms): Add z196 and zEC12.
35120 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35122         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35123         Change XOPEN21K to XOPEN2K.
35125 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35127         * string/memmove.c: Use memcpy when possible.
35129 2012-11-06  Andreas Jaeger  <aj@suse.de>
35131         * po/eo.po: Update from translation team.
35133 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35135         [BZ #14793]
35136         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35137         exponent and small x and y exponents, scale x or y up.  Increase
35138         by 2 the exponent used in scaling up.
35139         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35140         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35141         * math/libm-test.inc (fma_test): Add more tests.
35142         (fma_test_towardzero): Likewise.
35143         (fma_test_downward): Likewise.
35144         (fma_test_upward): Likewise.
35146 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35148         [BZ #14805]
35149         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35150         fenv_t *.
35152         [BZ #14801]
35153         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35154         namespace for names of struct fields.
35155         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35156         fenv_t fields.
35157         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35158         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35160 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35162         [BZ #3665]
35163         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35165 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35167         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35168         PTR_DEMANGLE.
35170         [BZ #5246]
35171         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35172         PTR_DEMANGLE.
35174 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35176         [BZ #14797]
35177         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35178         definitely overflow as x * y not x * y + z.
35179         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35180         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35181         * math/libm-test.inc (fma_test): Add more tests.
35182         (fma_test_towardzero): Likewise.
35183         (fma_test_downward): Likewise.
35184         (fma_test_upward): Likewise.
35186 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35188         [BZ #157]
35190         * include/stub-tag.h: Remove file.
35191         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35192         '#include' of it.
35193         * manual/maint.texi (Porting): Don't reference it.
35194         * Makerules ($(objpfx)stubs): Likewise.
35195         * dirent/closedir.c: Don't include <stub-tag.h>.
35196         * dirent/dirfd.c: Likewise.
35197         * dirent/fdopendir.c: Likewise.
35198         * dirent/getdents.c: Likewise.
35199         * dirent/getdents64.c: Likewise.
35200         * dirent/opendir.c: Likewise.
35201         * dirent/readdir.c: Likewise.
35202         * dirent/readdir64.c: Likewise.
35203         * dirent/readdir64_r.c: Likewise.
35204         * dirent/readdir_r.c: Likewise.
35205         * dirent/rewinddir.c: Likewise.
35206         * dirent/seekdir.c: Likewise.
35207         * dirent/telldir.c: Likewise.
35208         * gmon/profil.c: Likewise.
35209         * grp/setgroups.c: Likewise.
35210         * inet/if_index.c: Likewise.
35211         * io/access.c: Likewise.
35212         * io/chdir.c: Likewise.
35213         * io/chmod.c: Likewise.
35214         * io/chown.c: Likewise.
35215         * io/close.c: Likewise.
35216         * io/dup.c: Likewise.
35217         * io/dup2.c: Likewise.
35218         * io/dup3.c: Likewise.
35219         * io/euidaccess.c: Likewise.
35220         * io/faccessat.c: Likewise.
35221         * io/fchdir.c: Likewise.
35222         * io/fchmod.c: Likewise.
35223         * io/fchmodat.c: Likewise.
35224         * io/fchown.c: Likewise.
35225         * io/fchownat.c: Likewise.
35226         * io/fcntl.c: Likewise.
35227         * io/flock.c: Likewise.
35228         * io/fstatfs.c: Likewise.
35229         * io/fstatfs64.c: Likewise.
35230         * io/fstatvfs.c: Likewise.
35231         * io/fstatvfs64.c: Likewise.
35232         * io/futimens.c: Likewise.
35233         * io/fxstat.c: Likewise.
35234         * io/fxstat64.c: Likewise.
35235         * io/fxstatat.c: Likewise.
35236         * io/fxstatat64.c: Likewise.
35237         * io/getcwd.c: Likewise.
35238         * io/isatty.c: Likewise.
35239         * io/lchmod.c: Likewise.
35240         * io/lchown.c: Likewise.
35241         * io/link.c: Likewise.
35242         * io/linkat.c: Likewise.
35243         * io/lseek.c: Likewise.
35244         * io/lseek64.c: Likewise.
35245         * io/lxstat64.c: Likewise.
35246         * io/mkdir.c: Likewise.
35247         * io/mkdirat.c: Likewise.
35248         * io/mkfifo.c: Likewise.
35249         * io/mkfifoat.c: Likewise.
35250         * io/open.c: Likewise.
35251         * io/open64.c: Likewise.
35252         * io/openat.c: Likewise.
35253         * io/openat64.c: Likewise.
35254         * io/pipe.c: Likewise.
35255         * io/pipe2.c: Likewise.
35256         * io/poll.c: Likewise.
35257         * io/posix_fadvise.c: Likewise.
35258         * io/posix_fadvise64.c: Likewise.
35259         * io/posix_fallocate.c: Likewise.
35260         * io/posix_fallocate64.c: Likewise.
35261         * io/read.c: Likewise.
35262         * io/readlink.c: Likewise.
35263         * io/readlinkat.c: Likewise.
35264         * io/rmdir.c: Likewise.
35265         * io/sendfile.c: Likewise.
35266         * io/sendfile64.c: Likewise.
35267         * io/statfs.c: Likewise.
35268         * io/statfs64.c: Likewise.
35269         * io/statvfs.c: Likewise.
35270         * io/statvfs64.c: Likewise.
35271         * io/symlink.c: Likewise.
35272         * io/symlinkat.c: Likewise.
35273         * io/ttyname.c: Likewise.
35274         * io/ttyname_r.c: Likewise.
35275         * io/umask.c: Likewise.
35276         * io/unlink.c: Likewise.
35277         * io/unlinkat.c: Likewise.
35278         * io/utime.c: Likewise.
35279         * io/utimensat.c: Likewise.
35280         * io/write.c: Likewise.
35281         * io/xmknod.c: Likewise.
35282         * io/xmknodat.c: Likewise.
35283         * io/xstat.c: Likewise.
35284         * io/xstat64.c: Likewise.
35285         * login/getpt.c: Likewise.
35286         * login/grantpt.c: Likewise.
35287         * login/unlockpt.c: Likewise.
35288         * math/e_acoshl.c: Likewise.
35289         * math/e_acosl.c: Likewise.
35290         * math/e_asinl.c: Likewise.
35291         * math/e_atan2l.c: Likewise.
35292         * math/e_atanhl.c: Likewise.
35293         * math/e_coshl.c: Likewise.
35294         * math/e_expl.c: Likewise.
35295         * math/e_fmodl.c: Likewise.
35296         * math/e_gammal_r.c: Likewise.
35297         * math/e_hypotl.c: Likewise.
35298         * math/e_j0l.c: Likewise.
35299         * math/e_j1l.c: Likewise.
35300         * math/e_jnl.c: Likewise.
35301         * math/e_lgammal_r.c: Likewise.
35302         * math/e_log10l.c: Likewise.
35303         * math/e_log2l.c: Likewise.
35304         * math/e_logl.c: Likewise.
35305         * math/e_powl.c: Likewise.
35306         * math/e_rem_pio2l.c: Likewise.
35307         * math/e_sinhl.c: Likewise.
35308         * math/e_sqrtl.c: Likewise.
35309         * math/fclrexcpt.c: Likewise.
35310         * math/fedisblxcpt.c: Likewise.
35311         * math/feenablxcpt.c: Likewise.
35312         * math/fegetenv.c: Likewise.
35313         * math/fegetexcept.c: Likewise.
35314         * math/fegetround.c: Likewise.
35315         * math/feholdexcpt.c: Likewise.
35316         * math/fesetenv.c: Likewise.
35317         * math/fesetround.c: Likewise.
35318         * math/feupdateenv.c: Likewise.
35319         * math/fgetexcptflg.c: Likewise.
35320         * math/fraiseexcpt.c: Likewise.
35321         * math/fsetexcptflg.c: Likewise.
35322         * math/ftestexcept.c: Likewise.
35323         * math/k_cosl.c: Likewise.
35324         * math/k_rem_pio2l.c: Likewise.
35325         * math/k_sinl.c: Likewise.
35326         * math/k_tanl.c: Likewise.
35327         * math/s_asinhl.c: Likewise.
35328         * math/s_atanl.c: Likewise.
35329         * math/s_cbrtl.c: Likewise.
35330         * math/s_erfl.c: Likewise.
35331         * math/s_expm1l.c: Likewise.
35332         * math/s_log1pl.c: Likewise.
35333         * math/s_tanhl.c: Likewise.
35334         * misc/acct.c: Likewise.
35335         * misc/brk.c: Likewise.
35336         * misc/chflags.c: Likewise.
35337         * misc/chroot.c: Likewise.
35338         * misc/fchflags.c: Likewise.
35339         * misc/fgetxattr.c: Likewise.
35340         * misc/flistxattr.c: Likewise.
35341         * misc/fremovexattr.c: Likewise.
35342         * misc/fsetxattr.c: Likewise.
35343         * misc/fsync.c: Likewise.
35344         * misc/ftruncate.c: Likewise.
35345         * misc/futimes.c: Likewise.
35346         * misc/futimesat.c: Likewise.
35347         * misc/getdomain.c: Likewise.
35348         * misc/getdtsz.c: Likewise.
35349         * misc/gethostid.c: Likewise.
35350         * misc/gethostname.c: Likewise.
35351         * misc/getloadavg.c: Likewise.
35352         * misc/getpagesize.c: Likewise.
35353         * misc/getsysstats.c: Likewise.
35354         * misc/getxattr.c: Likewise.
35355         * misc/gtty.c: Likewise.
35356         * misc/ioctl.c: Likewise.
35357         * misc/lgetxattr.c: Likewise.
35358         * misc/listxattr.c: Likewise.
35359         * misc/llistxattr.c: Likewise.
35360         * misc/lremovexattr.c: Likewise.
35361         * misc/lsetxattr.c: Likewise.
35362         * misc/lutimes.c: Likewise.
35363         * misc/madvise.c: Likewise.
35364         * misc/mincore.c: Likewise.
35365         * misc/mlock.c: Likewise.
35366         * misc/mlockall.c: Likewise.
35367         * misc/mmap.c: Likewise.
35368         * misc/mprotect.c: Likewise.
35369         * misc/msync.c: Likewise.
35370         * misc/munlock.c: Likewise.
35371         * misc/munlockall.c: Likewise.
35372         * misc/munmap.c: Likewise.
35373         * misc/preadv.c: Likewise.
35374         * misc/preadv64.c: Likewise.
35375         * misc/ptrace.c: Likewise.
35376         * misc/pwritev.c: Likewise.
35377         * misc/pwritev64.c: Likewise.
35378         * misc/readv.c: Likewise.
35379         * misc/reboot.c: Likewise.
35380         * misc/remap_file_pages.c: Likewise.
35381         * misc/removexattr.c: Likewise.
35382         * misc/revoke.c: Likewise.
35383         * misc/select.c: Likewise.
35384         * misc/setdomain.c: Likewise.
35385         * misc/setegid.c: Likewise.
35386         * misc/seteuid.c: Likewise.
35387         * misc/sethostid.c: Likewise.
35388         * misc/sethostname.c: Likewise.
35389         * misc/setregid.c: Likewise.
35390         * misc/setreuid.c: Likewise.
35391         * misc/setxattr.c: Likewise.
35392         * misc/sstk.c: Likewise.
35393         * misc/stty.c: Likewise.
35394         * misc/swapoff.c: Likewise.
35395         * misc/swapon.c: Likewise.
35396         * misc/sync.c: Likewise.
35397         * misc/syncfs.c: Likewise.
35398         * misc/syscall.c: Likewise.
35399         * misc/truncate.c: Likewise.
35400         * misc/ualarm.c: Likewise.
35401         * misc/usleep.c: Likewise.
35402         * misc/ustat.c: Likewise.
35403         * misc/utimes.c: Likewise.
35404         * misc/vhangup.c: Likewise.
35405         * misc/writev.c: Likewise.
35406         * posix/_exit.c: Likewise.
35407         * posix/alarm.c: Likewise.
35408         * posix/execve.c: Likewise.
35409         * posix/fexecve.c: Likewise.
35410         * posix/fork.c: Likewise.
35411         * posix/fpathconf.c: Likewise.
35412         * posix/getaddrinfo.c: Likewise.
35413         * posix/getegid.c: Likewise.
35414         * posix/geteuid.c: Likewise.
35415         * posix/getgid.c: Likewise.
35416         * posix/getgroups.c: Likewise.
35417         * posix/getlogin.c: Likewise.
35418         * posix/getlogin_r.c: Likewise.
35419         * posix/getpgid.c: Likewise.
35420         * posix/getpid.c: Likewise.
35421         * posix/getppid.c: Likewise.
35422         * posix/getresgid.c: Likewise.
35423         * posix/getresuid.c: Likewise.
35424         * posix/getsid.c: Likewise.
35425         * posix/getuid.c: Likewise.
35426         * posix/glob64.c: Likewise.
35427         * posix/nanosleep.c: Likewise.
35428         * posix/pathconf.c: Likewise.
35429         * posix/pause.c: Likewise.
35430         * posix/posix_madvise.c: Likewise.
35431         * posix/pread.c: Likewise.
35432         * posix/pread64.c: Likewise.
35433         * posix/pwrite.c: Likewise.
35434         * posix/pwrite64.c: Likewise.
35435         * posix/sched_getaffinity.c: Likewise.
35436         * posix/sched_getp.c: Likewise.
35437         * posix/sched_gets.c: Likewise.
35438         * posix/sched_primax.c: Likewise.
35439         * posix/sched_primin.c: Likewise.
35440         * posix/sched_rr_gi.c: Likewise.
35441         * posix/sched_setaffinity.c: Likewise.
35442         * posix/sched_setp.c: Likewise.
35443         * posix/sched_sets.c: Likewise.
35444         * posix/sched_yield.c: Likewise.
35445         * posix/setgid.c: Likewise.
35446         * posix/setlogin.c: Likewise.
35447         * posix/setpgid.c: Likewise.
35448         * posix/setresgid.c: Likewise.
35449         * posix/setresuid.c: Likewise.
35450         * posix/setsid.c: Likewise.
35451         * posix/setuid.c: Likewise.
35452         * posix/sleep.c: Likewise.
35453         * posix/spawni.c: Likewise.
35454         * posix/sysconf.c: Likewise.
35455         * posix/times.c: Likewise.
35456         * posix/wait.c: Likewise.
35457         * posix/wait3.c: Likewise.
35458         * posix/wait4.c: Likewise.
35459         * posix/waitpid.c: Likewise.
35460         * resolv/gai_sigqueue.c: Likewise.
35461         * resource/getpriority.c: Likewise.
35462         * resource/getrlimit.c: Likewise.
35463         * resource/getrusage.c: Likewise.
35464         * resource/nice.c: Likewise.
35465         * resource/setpriority.c: Likewise.
35466         * resource/setrlimit.c: Likewise.
35467         * resource/ulimit.c: Likewise.
35468         * rt/aio_cancel.c: Likewise.
35469         * rt/aio_fsync.c: Likewise.
35470         * rt/aio_read.c: Likewise.
35471         * rt/aio_sigqueue.c: Likewise.
35472         * rt/aio_suspend.c: Likewise.
35473         * rt/aio_write.c: Likewise.
35474         * rt/clock_getres.c: Likewise.
35475         * rt/clock_gettime.c: Likewise.
35476         * rt/clock_nanosleep.c: Likewise.
35477         * rt/clock_settime.c: Likewise.
35478         * rt/lio_listio.c: Likewise.
35479         * rt/mq_close.c: Likewise.
35480         * rt/mq_getattr.c: Likewise.
35481         * rt/mq_notify.c: Likewise.
35482         * rt/mq_open.c: Likewise.
35483         * rt/mq_receive.c: Likewise.
35484         * rt/mq_send.c: Likewise.
35485         * rt/mq_setattr.c: Likewise.
35486         * rt/mq_timedreceive.c: Likewise.
35487         * rt/mq_timedsend.c: Likewise.
35488         * rt/mq_unlink.c: Likewise.
35489         * rt/shm_open.c: Likewise.
35490         * rt/shm_unlink.c: Likewise.
35491         * rt/timer_create.c: Likewise.
35492         * rt/timer_delete.c: Likewise.
35493         * rt/timer_getoverr.c: Likewise.
35494         * rt/timer_gettime.c: Likewise.
35495         * rt/timer_settime.c: Likewise.
35496         * setjmp/__longjmp.c: Likewise.
35497         * setjmp/setjmp.c: Likewise.
35498         * signal/kill.c: Likewise.
35499         * signal/killpg.c: Likewise.
35500         * signal/raise.c: Likewise.
35501         * signal/sigaction.c: Likewise.
35502         * signal/sigaltstack.c: Likewise.
35503         * signal/sigblock.c: Likewise.
35504         * signal/sigignore.c: Likewise.
35505         * signal/sigintr.c: Likewise.
35506         * signal/signal.c: Likewise.
35507         * signal/sigpause.c: Likewise.
35508         * signal/sigpending.c: Likewise.
35509         * signal/sigqueue.c: Likewise.
35510         * signal/sigreturn.c: Likewise.
35511         * signal/sigset.c: Likewise.
35512         * signal/sigsetmask.c: Likewise.
35513         * signal/sigstack.c: Likewise.
35514         * signal/sigsuspend.c: Likewise.
35515         * signal/sigtimedwait.c: Likewise.
35516         * signal/sigvec.c: Likewise.
35517         * signal/sigwait.c: Likewise.
35518         * signal/sigwaitinfo.c: Likewise.
35519         * signal/sysv_signal.c: Likewise.
35520         * socket/accept.c: Likewise.
35521         * socket/accept4.c: Likewise.
35522         * socket/bind.c: Likewise.
35523         * socket/connect.c: Likewise.
35524         * socket/getpeername.c: Likewise.
35525         * socket/getsockname.c: Likewise.
35526         * socket/getsockopt.c: Likewise.
35527         * socket/isfdtype.c: Likewise.
35528         * socket/listen.c: Likewise.
35529         * socket/recv.c: Likewise.
35530         * socket/recvfrom.c: Likewise.
35531         * socket/recvmsg.c: Likewise.
35532         * socket/send.c: Likewise.
35533         * socket/sendmsg.c: Likewise.
35534         * socket/sendto.c: Likewise.
35535         * socket/setsockopt.c: Likewise.
35536         * socket/shutdown.c: Likewise.
35537         * socket/sockatmark.c: Likewise.
35538         * socket/socket.c: Likewise.
35539         * socket/socketpair.c: Likewise.
35540         * stdio-common/ctermid.c: Likewise.
35541         * stdio-common/cuserid.c: Likewise.
35542         * stdio-common/remove.c: Likewise.
35543         * stdio-common/rename.c: Likewise.
35544         * stdio-common/renameat.c: Likewise.
35545         * stdio-common/tempname.c: Likewise.
35546         * stdlib/getcontext.c: Likewise.
35547         * stdlib/makecontext.c: Likewise.
35548         * stdlib/setcontext.c: Likewise.
35549         * stdlib/swapcontext.c: Likewise.
35550         * stdlib/system.c: Likewise.
35551         * streams/fattach.c: Likewise.
35552         * streams/fdetach.c: Likewise.
35553         * streams/getmsg.c: Likewise.
35554         * streams/getpmsg.c: Likewise.
35555         * streams/putmsg.c: Likewise.
35556         * streams/putpmsg.c: Likewise.
35557         * sysdeps/unix/bsd/getpt.c: Likewise.
35558         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35559         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35560         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35562         Likewise.
35563         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35564         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35565         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35566         * sysvipc/msgctl.c: Likewise.
35567         * sysvipc/msgget.c: Likewise.
35568         * sysvipc/msgrcv.c: Likewise.
35569         * sysvipc/msgsnd.c: Likewise.
35570         * sysvipc/semctl.c: Likewise.
35571         * sysvipc/semget.c: Likewise.
35572         * sysvipc/semop.c: Likewise.
35573         * sysvipc/semtimedop.c: Likewise.
35574         * sysvipc/shmat.c: Likewise.
35575         * sysvipc/shmctl.c: Likewise.
35576         * sysvipc/shmdt.c: Likewise.
35577         * sysvipc/shmget.c: Likewise.
35578         * termios/tcdrain.c: Likewise.
35579         * termios/tcflow.c: Likewise.
35580         * termios/tcflush.c: Likewise.
35581         * termios/tcgetattr.c: Likewise.
35582         * termios/tcgetpgrp.c: Likewise.
35583         * termios/tcsendbrk.c: Likewise.
35584         * termios/tcsetattr.c: Likewise.
35585         * termios/tcsetpgrp.c: Likewise.
35586         * time/adjtime.c: Likewise.
35587         * time/clock.c: Likewise.
35588         * time/getitimer.c: Likewise.
35589         * time/gettimeofday.c: Likewise.
35590         * time/setitimer.c: Likewise.
35591         * time/settimeofday.c: Likewise.
35592         * time/stime.c: Likewise.
35593         * time/time.c: Likewise.
35595 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35597         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35598         /usr/old/bin.
35600         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35601         instead of spaces.
35602         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35604 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35606         [BZ #14796]
35607         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35608         FE_TONEAREST before applying Dekker multiplication and Knuth
35609         addition.  Clear inexact exceptions and check for exact zero
35610         results afterwards.
35611         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35612         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35613         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35614         * math/libm-test.inc (fma_test): Add more tests.
35615         (fma_test_towardzero): Likewise.
35616         (fma_test_downward): Likewise.
35617         (fma_test_upward): Likewise.
35618         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35619         function.
35620         (libc_fesetround): New macro.
35621         (libc_fesetroundf): Likewise.
35622         (libc_fesetroundl): Likewise.
35623         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35624         function.
35625         (libc_fesetround_387): Likewise.
35626         (libc_fesetroundf): New macro.
35627         (libc_fesetround): Likewise.
35628         (libc_fesetroundl): Likewise.
35629         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35630         function.
35631         (libc_fesetroundf): New macro.
35632         (libc_fesetround): Likewise.
35633         (libc_fesetroundl): Likewise.
35634         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35635         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35636         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35637         libm_hidden_ver.
35638         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35639         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35640         libm_hidden_def.
35641         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35642         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35643         libm_hidden_ver.
35644         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35645         libm_hidden_def.
35647         [BZ #3439]
35648         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35649         integer constant usable in #if and use that to give value to enum
35650         constant.
35651         (FE_DIVBYZERO): Likewise.
35652         (FE_UNDERFLOW): Likewise.
35653         (FE_OVERFLOW): Likewise.
35654         (FE_INVALID): Likewise.
35655         (FE_INVALID_SNAN): Likewise.
35656         (FE_INVALID_ISI): Likewise.
35657         (FE_INVALID_IDI): Likewise.
35658         (FE_INVALID_ZDZ): Likewise.
35659         (FE_INVALID_IMZ): Likewise.
35660         (FE_INVALID_COMPARE): Likewise.
35661         (FE_INVALID_SOFTWARE): Likewise.
35662         (FE_INVALID_SQRT): Likewise.
35663         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35664         (FE_TONEAREST): Likewise.
35665         (FE_TOWARDZERO): Likewise.
35666         (FE_UPWARD): Likewise.
35667         (FE_DOWNWARD): Likewise.
35668         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35669         (FE_DIVBYZERO): Likewise.
35670         (FE_OVERFLOW): Likewise.
35671         (FE_UNDERFLOW): Likewise.
35672         (FE_INEXACT): Likewise.
35673         (FE_TONEAREST): Likewise.
35674         (FE_DOWNWARD): Likewise.
35675         (FE_UPWARD): Likewise.
35676         (FE_TOWARDZERO): Likewise.
35677         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35678         (FE_UNDERFLOW): Likewise.
35679         (FE_OVERFLOW): Likewise.
35680         (FE_DIVBYZERO): Likewise.
35681         (FE_INVALID): Likewise.
35682         (FE_TONEAREST): Likewise.
35683         (FE_TOWARDZERO): Likewise.
35684         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35685         (FE_OVERFLOW): Likewise.
35686         (FE_UNDERFLOW): Likewise.
35687         (FE_DIVBYZERO): Likewise.
35688         (FE_INEXACT): Likewise.
35689         (FE_TONEAREST): Likewise.
35690         (FE_TOWARDZERO): Likewise.
35691         (FE_UPWARD): Likewise.
35692         (FE_DOWNWARD): Likewise.
35693         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35694         (FE_DIVBYZERO): Likewise.
35695         (FE_OVERFLOW): Likewise.
35696         (FE_UNDERFLOW): Likewise.
35697         (FE_INEXACT): Likewise.
35698         (FE_TONEAREST): Likewise.
35699         (FE_DOWNWARD): Likewise.
35700         (FE_UPWARD): Likewise.
35701         (FE_TOWARDZERO): Likewise.
35703 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35705         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35707 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35709         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35710         commands.  Quote $PWD.
35711         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35712         -x" by "export".
35713         (remove_newlines): Remove.
35715 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35717         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35718         * stdlib/stdlib.h (atof): Moved to ...
35719         * include/bits/stdlib-float.h: Here.  New file.
35720         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35721         * stdlib/bits/stdlib-float.h: New file.
35722         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35723         -mno-sse -mno-mmx.
35724         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35725         <xmmintrin.h>.
35727 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35729         * conform/conformtest.pl (@headers): Add fenv.h.
35730         * conform/data/fenv.h-data: New file.
35731         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35732         include of <math/fenv.h>.
35734         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35735         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35736         && !UNIX98].  Enables tests for XOPEN2K8.
35737         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35738         POSIX2008]: Likewise.
35740         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35741         (struct rusage): Do not expect type or its members.
35743         [BZ #3439]
35744         * math/math.h (FP_NAN): Define macro to integer constant usable in
35745         #if and use that to give value to enum constant.
35746         (FP_INFINITE): Likewise.
35747         (FP_ZERO): Likewise.
35748         (FP_SUBNORMAL): Likewise.
35749         (FP_NORMAL): Likewise.
35751 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35753         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35754         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35755         arguments.
35757 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35759         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35760         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35761         autoconf-time if not.
35762         * configure.in: Remove AC_PREREQ.
35764 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35766         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35767         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35768         of the internal implementation.
35770 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35772         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35773         except include of <misc/sys/syslog.h>.
35775 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35778         function returns with a NULL context exit with zero.
35780 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35782         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35784 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35786         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35787         (run_program_cmd): This.
35788         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35789         (tst_langinfo): New variable.  Use it.
35791 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35793         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35794         floating point opcodes.
35796 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35798         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35799         variable.
35801         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35803         * sysdeps/mach/hurd/powerpc: Remove directory.
35804         * sysdeps/mach/powerpc: Likewise.
35806 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35808         * scripts/check-local-headers.sh: Ignore c++ headers.
35810 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35812         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35813         __libc_cleanup_region_start argument.
35815 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35817         [BZ #14784]
35818         [BZ #14785]
35819         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35820         x * y using scaling, not as x * y + z.
35821         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35822         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35823         * math/libm-test.inc (fma_test): Add more tests.
35824         (fma_test_towardzero): Likewise.
35825         (fma_test_downward): Likewise.
35826         (fma_test_upward): Likewise.
35828 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35830         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35832 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35834         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35835         New variable.
35837 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35839         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35841 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35844         Fix sort order.
35845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35846         Likewise.
35848 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35851         Fix the order of the list for glibc 2.17.
35852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35853         Likewise.
35855 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35859 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35861         [BZ #14610]
35862         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35863         for low part of x being zero before using __atanl (y).
35864         * math/libm-test.inc (atan2_test): Add another test.
35866         * manual/install.texi (Configuring and compiling): Document
35867         general use of test-wrapper and test-wrapper-env.
35868         * INSTALL: Regenerated.
35870         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35871         (__fma): Do not extract and scale down low bits on after-rounding
35872         systems when result rounded to normal precision would have normal
35873         exponent.
35874         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35875         (__fmal): Do not extract and scale down low bits on after-rounding
35876         systems when result rounded to normal precision would have normal
35877         exponent.
35878         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35879         (__fmal): Do not extract and scale down low bits on after-rounding
35880         systems when result rounded to normal precision would have normal
35881         exponent.
35882         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35883         macro.
35884         (fma_test): Add more tests.
35885         (fma_test_towardzero): Likewise.
35886         (fma_test_downward): Likewise.
35887         (fma_test_upward): Likewise.
35889 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35891         * sysdeps/i386/tininess.h: Renamed to ...
35892         * sysdeps/x86/tininess.h: This.
35893         * sysdeps/x86_64/tininess.h: Removed.
35895 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35897         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35898         input.  Use $(build-program-cmd).
35899         ($(objpfx)tst-array1-static.out): Likewise.
35900         ($(objpfx)tst-array2.out): Likewise.
35901         ($(objpfx)tst-array3.out): Likewise.
35902         ($(objpfx)tst-array4.out): Likewise.
35903         ($(objpfx)tst-array5.out): Likewise.
35904         ($(objpfx)tst-array5-static.out): Likewise.
35906 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35908         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35909         if defined.
35911         * nss/nsswitch.h (nss_interface_function): Provide new
35912         macro for use with NSS functions.
35913         * grp/initgroups.c: Use new macro.
35914         * nss/getXXbyYY.c: Likewise.
35915         * nss/getXXbyYY_r.c: Likewise.
35916         * nss/getXXent.c: Likewise.
35917         * nss/getXXent_r.c: Likewise.
35918         * sysdeps/posix/getaddrinfo.c: Likewise.
35920 2012-10-30  Andreas Jaeger  <aj@suse.de>
35922         * po/ru.po: Update Russion translation from translation project.
35924 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35926         [BZ #14152]
35927         [BZ #14783]
35928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35929         result and shift together with sticky bit instead of replicating
35930         round-to-nearest rounding.
35931         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35932         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35933         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35934         missing underflow exceptions.
35935         (fma_test_towardzero): Add more tests.
35936         (fma_test_downward): Likewise.
35937         (fma_test_upward): Likewise.
35939         [BZ #14047]
35940         * sysdeps/generic/tininess.h: New file.
35941         * sysdeps/i386/tininess.h: Likewise.
35942         * sysdeps/sh/tininess.h: Likewise.
35943         * sysdeps/x86_64/tininess.h: Likewise.
35944         * stdlib/tst-strtod-underflow.c: Likewise.
35945         * stdlib/tst-tininess.c: Likewise.
35946         * stdlib/strtod_l.c: Include <tininess.h>.
35947         (round_and_return): Do not set errno for exact underflow cases.
35948         Force an underflow exception when setting errno for underflow.
35949         Determine underflow based on rounding to normal precision if
35950         TININESS_AFTER_ROUNDING.
35951         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35952         ERANGE for exact underflow cases.
35953         * stdlib/Makefile (tests): Add tst-tininess and
35954         tst-strtod-underflow.
35955         ($(objpfx)tst-tininess): Use $(link-libm).
35956         ($(objpfx)tst-strtod-underflow): Likewise.
35958 2012-10-30  Andreas Jaeger  <aj@suse.de>
35960         [BZ#14767]
35961         * elf/Makefile (tests): Remove conditional for have-initfini-array
35962         since this is now always required and the variable does not exist
35963         anymore.
35964         (tests-static): Likewise.
35965         (modules-names): Likewise.
35967         * po/eo.po: Add Esperanto translation from translation project.
35969         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35970         merged with constructor/destructor.
35971         (init_array): Likewise.
35972         * elf/tst-array2dep.c (fini_array): Likewise.
35973         (init_array): Likewise.
35975 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35977         * manual/message.texi: Delete @cartouche tags.
35979 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35981         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35982         EOPNOTSUPP.
35983         * sysdeps/mach/hurd/fsync.c: Likewise.
35985         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35986         [_POSIX_REALTIME_SIGNALS]: Change condition to
35987         [_POSIX_REALTIME_SIGNALS > 0].
35989 2012-10-27  Andreas Jaeger  <aj@suse.de>
35991         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35992         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35994         [__WORDSIZE != 64]: Likewise.
35996 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35998         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35999         *  iconvdata/tst-tables.sh: Likewise.
36001 2012-10-25  David S. Miller  <davem@davemloft.net>
36003         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36004         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36005         of strtoull.
36007         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36008         ifunc-impl-list.c
36009         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36010         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36011         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36012         file.
36014 2012-10-25  Roland McGrath  <roland@hack.frob.com>
36016         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36017         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36018         __getdirentries.
36020 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36021             Jim Blandy  <jimb@codesourcery.com>
36023         * scripts/cross-test-ssh.sh: New file.
36024         * manual/install.texi (Configuring and compiling): Document use of
36025         cross-test-ssh.sh.
36026         * INSTALL: Regenerated.
36028 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
36030         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36031         EOPNOTSUPP.
36033 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36035         * Makeconfig (run-program-prefix): Fix comment.
36037 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36038             Jim Blandy  <jimb@codesourcery.com>
36040         * Makeconfig (test-wrapper): New variable,
36041         (test-wrapper-env): Likewise.
36042         [$(cross-compiling) = yes && $(test-wrapper) != ""]
36043         (run-built-tests): Define to yes.
36044         (run-program-prefix): Use $(test-wrapper).
36045         (built-program-cmd): Likewise.
36046         * Rules (make-test-out): Use $(test-wrapper-env) and
36047         $(host-built-program-cmd).
36048         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36049         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36050         tst-pathopt.sh.
36051         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36052         $(test-wrapper-env) to tst-rtld-load-self.sh.
36053         ($(objpfx)order2.out): Use $(test-wrapper).
36054         ($(objpfx)tst-initorder.out): Likewise.
36055         ($(objpfx)tst-initorder2.out): Likewise.
36056         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36057         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36058         (test_wrapper_env): New variable.  Use it to run ld.so.
36059         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36060         Use it to run ld.so.
36061         (test_wrapper_env): Likewise.
36062         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36063         $(test-wrapper) to run-iconv-test.sh.
36064         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36065         (ICONV): Use $test_wrapper.
36066         * posix/Makefile ($(objpfx)globtest.out): Pass
36067         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36068         globtest.sh, not $(run-program-prefix).
36069         * posix/globtest.sh (run_via_rtld_prefix): New variable.
36070         (test_wrapper): Likewise.
36071         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
36072         set together with run_via_rtld_prefix.
36073         (run_program_prefix): Define in terms of test_wrapper and
36074         run_via_rtld_prefix.
36076 2012-10-24  Roland McGrath  <roland@hack.frob.com>
36078         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36079         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36080         Targets removed.
36082         [BZ #14743]
36083         * include/time.h: Remove librt_hidden_proto (clock_gettime).
36084         Declare __clock_getres, __clock_gettime, __clock_settime,
36085         __clock_nanosleep, and __clock_getcpuclockid.
36086         * rt/clock_gettime.c: Define __clock_gettime as an alias.
36087         Remove librt_hidden_def (clock_gettime).
36088         * sysdeps/unix/clock_gettime.c: Likewise.
36089         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36090         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36091         * rt/clock_getres.c: Define __clock_getres as an alias.
36092         * sysdeps/posix/clock_getres.c: Likewise.
36093         * rt/clock_settime.c: Define __clock_settime as an alias.
36094         * sysdeps/unix/clock_settime.c: Likewise.
36095         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36096         * sysdeps/unix/clock_nanosleep.c: Likewise.
36097         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36098         * rt/clock-compat.c: New file.
36099         * rt/Makefile (librt-routines): Add clock-compat and move
36100         $(clock-routines) to ...
36101         (routines): ... here, new variable.
36102         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36103         Don't add get_clockfreq here.
36104         * rt/Versions (libc: GLIBC_2.17): New version set.
36105         Add clock_* symbols here.
36106         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
36107         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36108         (GLIBC_2.17): Add clock_* symbols.
36109         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36111         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36113         Likewise.
36114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36115         Likewise.
36116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36120         * NEWS: Mention the move.
36122         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36123         Use __open, __read, __close rather than their public counterparts.
36124         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36125         (__get_clockfreq_via_cpuinfo): Likewise.
36126         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36127         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36129         * config.h.in (HAVE_IFUNC): New #undef.
36130         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36131         was successful.
36132         * configure: Regenerated.
36134 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36136         * configure.in: Move READELF check to start of file.
36137         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36138         libc_cv_asm_gnu_indirect_function in the process.
36139         * configure: Regenerated.
36141 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36143         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36144         send the output to /dev/null.
36145         (libc_cv_cc_with_libunwind): Likewise.
36146         (libc_cv_as_noexecstack): Likewise.
36147         * configure: Regenerate.
36149 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36151         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36153         * posix/globtest.sh (TMPDIR): Do not set.
36154         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36155         (testout): Likewise.
36157 2012-10-24  Andreas Jaeger  <aj@suse.de>
36159         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36160         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36161         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36162         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36163         posix_fadvise64, posix_fallocate64.
36165         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36166         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36167         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36168         Likewise.
36169         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36170         Likewise.
36171         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36174         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36175         <bits/fcntl-linux.h>.
36176         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36178         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36179         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36180         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36181         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36182         [__WORDSIZE != 64]: Likewise.
36184 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36186         * Makeconfig (run-built-tests): New variable.
36187         * Rules [$(cross-compiling) = yes]: Change condition to
36188         [$(run-built-tests) = no].
36189         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36190         to [$(run-built-tests) = yes].
36191         * elf/Makefile [$(cross-compiling) = no]: Likewise
36192         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36193         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36194         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36195         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36196         * io/Makefile [$(cross-compiling) = no]: Likewise.
36197         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36198         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36199         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36200         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36201         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36202         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36203         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36204         * string/Makefile [$(cross-compiling) = no]: Likewise.
36206         * posix/Makefile ($(objpfx)globtest.out): Pass
36207         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36208         $(rtld-installed-name).
36209         * posix/globtest.sh (elf_objpfx): Remove variable.
36210         (rtld_installed_name): Likewise.
36211         (library_path): Likewise.
36212         (run_program_prefix): New variable.  Use for running globtest
36213         binary.
36215 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36216             Joseph Myers  <joseph@codesourcery.com>
36218         * Makeconfig (host-built-program-cmd): New variable.
36219         * elf/Makefile (tst-stackguard1-ARGS): Use
36220         $(host-built-program-cmd).
36221         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36222         (tst-spawn-ARGS): Likewise.
36223         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36225 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36226             Jim Blandy  <jimb@codesourcery.com>
36228         * Makeconfig (run-via-rtld-prefix): New variable.
36229         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36230         (built-program-cmd): Likewise.
36232 2012-10-22  Andreas Jaeger  <aj@suse.de>
36234         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36235         __O_RSYNC if it exists, otherwise to O_SYNC.
36237 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36238             Joseph Myers  <joseph@codesourcery.com>
36240         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36241         /dev/null.
36242         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36243         from /dev/null
36244         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36245         /dev/null.
36247 2012-10-22  Andreas Jaeger  <aj@suse.de>
36249         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36250         Define always.
36251         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36254         bits/fcntl-linux.h.
36256         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36257         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36259         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36260         to __O_LARGEFILE.
36261         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36262         to __O_LARGEFILE.
36264 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36265             Joseph Myers  <joseph@codesourcery.com>
36267         * config.make.in (NM): New variable.
36269 2012-10-21  Andreas Jaeger  <aj@suse.de>
36271         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36272         definitions and declarations that are provided by
36273         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36275 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36277         [BZ #14683]
36278         * elf/Makefile (tests-static): Add tst-leaks1-static.
36279         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36280         ($(objpfx)tst-leaks1-static): New rule.
36281         ($(objpfx)tst-leaks1-static-mem): Likewise.
36282         (tst-leaks1-static-ENV): New macro.
36283         * elf/dl-open.c (dl_open_worker): Check the main application
36284         only if SHARED is defined.
36285         * elf/tst-leaks1-static.c: New file.
36287 2012-10-20  Andreas Jaeger  <aj@suse.de>
36289         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36290         generic values for Linux.
36291         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36292         and declarations that are provided by <bits/fcntl-linux.h> and
36293         include <bits/fcntl-linux.h>.
36294         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36295         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36297 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36299         * io/fcntl.h: Move include of <bits/types.h> to the top and
36300         include it unconditionally.
36302 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36304         * wcsmbs/Makefile (tests-ifunc): New variable.
36305         (tests): Add $(tests-ifunc).
36306         * wcsmbs/test-wcschr-ifunc.c: New file.
36307         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36308         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36309         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36310         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36311         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36313         * string/Makefile (tests-ifunc): New variable.
36314         (tests): Add $(tests-ifunc).
36315         * string/test-memccpy.c (TEST_NAME): New macro.
36316         * string/test-memchr.c (TEST_NAME): Likewise.
36317         * string/test-memcmp.c (TEST_NAME): Likewise.
36318         * string/test-memcpy.c (TEST_NAME): Likewise.
36319         * string/test-memmem.c (TEST_NAME): Likewise.
36320         * string/test-memmove.c (TEST_NAME): Likewise.
36321         * string/test-memset.c (TEST_NAME): Likewise.
36322         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36323         * string/test-stpcpy.c (TEST_NAME): Likewise.
36324         * string/test-stpncpy.c (TEST_NAME): Likewise.
36325         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36326         * string/test-strcasestr.c (TEST_NAME): Likewise.
36327         * string/test-strcat.c (TEST_NAME): Likewise.
36328         * string/test-strchr.c (TEST_NAME): Likewise.
36329         * string/test-strcmp.c(TEST_NAME): Likewise.
36330         * string/test-strcpy.c (TEST_NAME): Likewise.
36331         * string/test-strcspn.c (TEST_NAME): Likewise.
36332         * string/test-strlen.c (TEST_NAME): Likewise.
36333         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36334         * string/test-strncmp.c (TEST_NAME): Likewise.
36335         * string/test-strncpy.c (TEST_NAME): Likewise.
36336         * string/test-strnlen.c (TEST_NAME): Likewise.
36337         * string/test-strpbrk.c (TEST_NAME): Likewise.
36338         * string/test-strrchr.c (TEST_NAME): Likewise.
36339         * string/test-strspn.c (TEST_NAME): Likewise.
36340         * string/test-strstr.c (TEST_NAME): Likewise.
36341         * string/test-bcopy-ifunc.c: New file.
36342         * string/test-bzero-ifunc.c: Likewise.
36343         * string/test-memccpy-ifunc.c: Likewise.
36344         * string/test-memchr-ifunc.c: Likewise.
36345         * string/test-memcmp-ifunc.c: Likewise.
36346         * string/test-memcpy-ifunc.c: Likewise.
36347         * string/test-memmem-ifunc.c: Likewise.
36348         * string/test-memmove-ifunc.c: Likewise.
36349         * string/test-mempcpy-ifunc.c: Likewise.
36350         * string/test-memset-ifunc.c: Likewise.
36351         * string/test-rawmemchr-ifunc.c: Likewise.
36352         * string/test-stpcpy-ifunc.c: Likewise.
36353         * string/test-stpncpy-ifunc.c: Likewise.
36354         * string/test-strcasecmp-ifunc.c: Likewise.
36355         * string/test-strcasestr-ifunc.c: Likewise.
36356         * string/test-strcat-ifunc.c: Likewise.
36357         * string/test-strchr-ifunc.c: Likewise.
36358         * string/test-strchrnul-ifunc.c: Likewise.
36359         * string/test-strcmp-ifunc.c: Likewise.
36360         * string/test-strcpy-ifunc.c: Likewise.
36361         * string/test-strcspn-ifunc.c: Likewise.
36362         * string/test-strlen-ifunc.c: Likewise.
36363         * string/test-strncasecmp-ifunc.c: Likewise.
36364         * string/test-strncat-ifunc.c: Likewise.
36365         * string/test-strncmp-ifunc.c: Likewise.
36366         * string/test-strncpy-ifunc.c: Likewise.
36367         * string/test-strnlen-ifunc.c: Likewise.
36368         * string/test-strpbrk-ifunc.c: Likewise.
36369         * string/test-strrchr-ifunc.c: Likewise.
36370         * string/test-strspn-ifunc.c: Likewise.
36371         * string/test-strstr-ifunc.c: Likewise.
36373         * debug/Makefile (tests-ifunc): New variable.
36374         (tests): Add $(tests-ifunc).
36375         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36376         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36377         * debug/test-stpcpy_chk-ifunc.c: New file.
36378         * debug/test-strcpy_chk-ifunc.c: Likewise.
36380 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36382         [BZ #13601]
36383         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36384         header is not read in.
36386 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36388         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36389         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36390         directly.  Pass built executable to script as
36391         $(built-program-cmd).
36392         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36393         $testprogram without using LD_LIBRARY_PATH and $ldso.
36395         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36396         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36397         $(rtld-installed-name).
36398         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36399         (rtld_installed_name): Likewise.
36400         (library_path): Likewise.
36401         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36402         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36403         $(run-program-prefix) to tst-tables.sh.
36404         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36405         it to run tst-table-from and tst-table-to.
36406         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36407         Pass it to tst-table.sh.
36408         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36409         $(run-program-prefix) to tst-gettext.sh.
36410         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36411         tst-translit.sh.
36412         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36413         tst-gettext2.sh.
36414         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36415         to run tst-gettext.
36416         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36417         to run tst-gettext2.
36418         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36419         to run tst-translit.
36420         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36421         $(run-program-prefix) to tst-mtrace.sh.
36422         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36423         to run tst-mtrace.
36424         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36425         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36426         $(rtld-installed-name).
36427         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36428         (rtld_installed_name): Likewise.
36429         (run_program_prefix): New variable.  Use it to run wordexp-test.
36431         * Makeconfig (ARCH): Remove all definitions.
36432         (machine): Likewise.
36433         [ARCH]: Remove conditional code.
36434         [!objdir]: Give error.
36435         [!objdir] (objpfx): Remove.
36436         [!objdir] (common-objpfx): Likewise.
36437         [!objdir] (common-objdir): Likewise.
36438         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36439         AC_CONFIG_FILES call.
36440         * configure: Regenerated.
36442         [BZ #13888]
36443         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36444         or TMPDIR.
36445         (testout): Likewise.
36447         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36448         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36449         $(rtld-installed-name).
36450         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36451         (rtld_installed_name): Likwise.
36452         (runit): Remove function.
36453         (run_getconf): New variable,  Use it for running getconf binary.
36455 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36457         [BZ #14716]
36458         * string/test-memmem.c (check_result): New function.
36459         (do_one_test): Use it.
36460         (check1): New function.
36461         (test_main): Use it.
36463 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36465         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36467 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36469         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36470         (_G_LSEEK64): Likewise.
36471         (_G_MMAP64): Likewise.
36472         (_G_FSTAT64): Likewise.
36473         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36474         (_G_LSEEK64): Likewise.
36475         (_G_MMAP64): Likewise.
36476         (_G_FSTAT64): Likewise.
36477         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36478         unconditional.  Call __mmap64 directly.
36479         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36480         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36481         __lseek64 directly.
36482         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36483         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36484         __mmap64 directly.
36485         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36486         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36487         __lseek64 directly.
36488         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36489         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36490         __lseek64 directly.
36491         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36492         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36493         __lseek64 directly.
36494         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36495         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36496         __fxstat64 directly.
36497         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36498         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36499         unconditional.
36500         (freopen64) [!_G_OPEN64]: Remove conditional code.
36501         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36502         unconditional.
36503         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36504         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36505         unconditional.
36506         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36507         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36508         unconditional.
36509         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36510         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36511         unconditional.
36512         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36513         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36514         unconditional.
36515         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36516         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36517         unconditional.
36518         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36519         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36520         unconditional.
36521         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36523 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36525         [BZ #12140]
36526         * manual/memory.texi (Malloc Tunable Parameters): Add note
36527         about free list pointers overwriting some perturb bytes.
36528         Wording suggested by Roland McGrath.
36530 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36532         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36533         (lgamma_test): Likewise.
36534         (tgamma_test): Likewise.
36536 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36538         [BZ #14700]
36539         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36540         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36542 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36544         * NEWS: Mention BZ #14716.
36545         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36546         when removing AVAILABLE1_USES_J macro.
36548 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36550         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36551         (__bswap_64): __uint64_t for unsigned 64-bit int.
36553 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36555         * include/string.h (memmem): Declare libc hidden alias.
36556         * string/memmem.c (memmem): Define libc hidden alias.
36557         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36558         __read, __close instead of open, read, close.
36560 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36562         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36563         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36564         global and hidden.
36565         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36566         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36567         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36568         Likewise.
36569         (__rawmemchr_sse2): Likewise.
36570         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36571         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36572         (__strchr_sse2): Likewise.
36573         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36574         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36575         (__strcasecmp_sse2): Likewise.
36576         (__strncasecmp_sse2): Likewise.
36577         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36578         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36579         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36580         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36581         (__strrchr_sse2): Likewise.
36582         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36583         ifunc-impl-list.c.
36584         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36585         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36586         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36587         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36588         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36589         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36590         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36591         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36592         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36593         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36594         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36595         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36596         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36597         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36598         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36599         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36600         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36601         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36602         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36603         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36604         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36605         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36606         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36607         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36608         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36609         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36610         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36611         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36612         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36613         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36615         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36616         global and hidden.
36617         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36618         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36619         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36620         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36621         Likewise.
36622         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36623         Likewise.
36624         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36625         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36626         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36627         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36628         ifunc-impl-list.c.
36629         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36630         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36631         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36632         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36633         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36634         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36635         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36636         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36637         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36638         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36639         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36640         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36641         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36642         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36643         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36644         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36645         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36646         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36647         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36648         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36649         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36650         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36651         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36652         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36653         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36654         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36655         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36656         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36657         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36658         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36659         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36660         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36661         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36662         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36663         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36664         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36665         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36666         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36667         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36668         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36669         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36671         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36672         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36673         * include/ifunc-impl-list.h: New file.
36674         * misc/ifunc-impl-list.c: Likewise.
36675         * misc/Makefile (routines): Add ifunc-impl-list.
36676         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36677         * string/test-string.h: Include <ifunc-impl-list.h>.
36678         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36679         TEST_NAME]: New variables.
36680         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36681         are defined.
36682         (test_init): Call __libc_ifunc_impl_list to initialize
36683         func_list if TEST_IFUNC and TEST_NAME are defined.
36685         * string/Makefile (strop-tests): Add bcopy and bzero.
36686         * string/test-bcopy.c: New file.
36687         * string/test-bzero.c: Likewise.
36688         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36689         defined.
36690         * string/test-memset.c: Support bzero test if TEST_BZERO is
36691         defined.
36692         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36693         __libc_memmove.
36694         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36695         __libc_memset.
36696         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36697         of memset.
36699 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36701         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36702         * configure: Regenerated.
36704         * Makeconfig (+link-static-before-libc): Don't include
36705         $(link-static-libc).
36707         * libio/libio.h (_IO_pos_t): Remove.
36709 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36711         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36712         McGrath.
36714 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36716         * crypt/crypt-entry.c: Include fips-private.h.
36717         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36718         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36719         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36720         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36722 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36724         * crypt/crypt-private.h: Include stdbool.h.
36725         (_ufc_setup_salt_r): Return bool.
36726         * crypt/crypt-entry.c: Include errno.h.
36727         (__crypt_r): Return NULL with EINVAL for bad salt.
36728         * crypt/crypt_util.c (bad_for_salt): New.
36729         (_ufc_setup_salt_r): Check that salt is long enough and within
36730         the specified alphabet.
36731         * crypt/badsalttest.c: New file.
36732         * crypt/Makefile (tests): Add it.
36733         ($(objpfx)badsalttest): New.
36735 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36737         * NEWS: Add entry for BZ #14602.
36739 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36741         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36742         type-generic.
36743         * math/libm-test.inc: Update comment listing what functions and
36744         macros are tested.
36745         (isgreater_test): New function.
36746         (isgreaterequal_test): Likewise.
36747         (isless_test): Likewise.
36748         (islessequal_test): Likewise.
36749         (islessgreater_test): Likewise.
36750         (isunordered_test): Likewise.
36751         (main): Call the new functions.
36753 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36755         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36756         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36757         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36758         * sysdeps/i386/configure: Regenerated.
36759         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36760         * sysdeps/mach/configure: Regenerated.
36761         * sysdeps/mach/hurd/configure: Regenerated.
36762         * sysdeps/powerpc/configure: Regenerated.
36763         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36764         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36765         * sysdeps/s390/s390-32/configure: Regenerated.
36766         * sysdeps/s390/s390-64/configure: Regenerated.
36767         * sysdeps/sh/configure: Regenerated.
36768         * sysdeps/sparc/configure: Regenerated.
36769         * sysdeps/unix/sysv/linux/configure: Regenerated.
36770         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36771         * sysdeps/x86_64/configure: Regenerated.
36773         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36774         defined.  Don't check if MAP is NULL.
36776 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36778         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36779         (_G_stat64): Likewise.
36780         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36781         (_G_stat64): Likewise.
36782         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36783         instead of struct _G_stat64.
36784         * libio/fileops.c (mmap_remap_check): Likewise.
36785         (decide_maybe_mmap): Likewise.
36786         (_IO_new_file_seekoff): Likewise.
36787         (_IO_file_stat): Likewise.
36788         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36789         _G_off64_t.
36790         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36791         instead of struct _G_stat64.
36792         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36794 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36796         [BZ #14602]
36797         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36798         Replace with ...
36799         (CHECK_EOL): New macro.
36800         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36801         CHECK_EOL.
36802         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36803         Replace with CHECK_EOL.
36804         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36805         Replace with CHECK_EOL.
36807 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36809         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36810         type-generic.
36811         * math/libm-test.inc: Update comment listing what functions and
36812         macros are tested.
36813         (finite_test): New function.
36814         (isinf_test): Likewise.
36815         (isnan_test): Likewise.
36816         (fpclassify_test): Test subnormal input.
36817         (isfinite_test): Likewise.
36818         (isnormal_test): Likewise.
36819         (main): Call the new functions.
36821 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36823         [BZ #14660]
36824         * Makerules (%.dynsym): Force C locale when running
36825         $(OBJDUMP) --dynamic-syms.
36827 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36829         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36830         <stdint.h>.
36832 2012-10-06  David S. Miller  <davem@davemloft.net>
36834         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36835         upper 32-bits of the length value in %o2 since we use branch-on-register
36836         tests which consider the entire 64-bit register.
36838 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36840         * string/test-strstr.c (check2): Add a test for page boundary.
36842 2012-10-05  David S. Miller  <davem@davemloft.net>
36844         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36845         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36846         file.
36847         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36848         sysdep_routines.
36849         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36850         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36851         and bzero when HWCAP_SPARC_CRYPTO is present.
36853 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36855         [BZ #14602]
36856         * string/test-strstr.c (check2): New function.
36857         (test_main): Call check2.
36859         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36860         and bug-strchr1.
36861         * string/bug-strcasestr1.c (do_test): Moved to ...
36862         * string/test-strcasestr.c (check1): Here.  New function.
36863         (do_one_test): Break out result checking code into ...
36864         (check_result): This.  New function.
36865         (do_one_test): Call check_result.
36866         (test_main): Call check1.
36867         * string/bug-strchr1.c (do_test): Moved to ...
36868         * string/test-strchr.c (check1): Here.  New function.
36869         (do_one_test): Break out result checking code into ...
36870         (check_result): This.  New function.
36871         (do_one_test): Call check_result.
36872         (test_main): Call check1.
36873         * string/bug-strstr1.c (main): Moved to ...
36874         * string/test-strstr.c (check1): Here.  New function.
36875         (do_one_test): Break out result checking code into ...
36876         (check_result): This.  New function.
36877         (do_one_test): Call check_result.
36878         (test_main): Call check1.
36879         * string/bug-strcasestr1.c: Removed.
36880         * string/bug-strchr1.c: Likewise.
36881         * string/bug-strstr1.c: Likewise.
36883         * elf/Makefile (dl-routines): Add hwcaps.
36884         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36885         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36886         (_dl_important_hwcaps): Moved to ...
36887         * elf/dl-hwcaps.c: Here.  New file.
36888         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36890         [BZ #14557]
36891         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36892         if IS_IN_rtld isn't defined.
36894         * elf/dl-support.c (_dl_sysinfo_map): New.
36895         Include "get-dynamic-info.h" and "setup-vdso.h".
36896         (_dl_non_dynamic_init): Call setup_vdso.
36897         * elf/dynamic-link.h: Don't include <assert.h>.
36898         (elf_get_dynamic_info): Moved to ...
36899         * elf/get-dynamic-info.h: Here.  New file.
36900         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36901         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36902         * elf/setup-vdso.h: Here.  New file.
36903         * elf/rtld.c: Include "setup-vdso.h".
36904         (dl_main): Call setup_vdso.
36906 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36908         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36909         creal in comment listing functions tested.  List finite, isinf,
36910         isnan, isless, islessequal, isgreater, isgreaterequal,
36911         islessgreater, isunordered, lgamma_r and pow10 as functions and
36912         macros not tested.  Mention which functions not tested are aliases
36913         for other functions.  Fix typo.  Note that signs of NaNs are not
36914         tested.
36916         * scripts/config.guess: Update from config.git.
36917         * scripts/config.sub: Likewise.
36919 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36921         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36922         * misc/madvise.c (madvise): Renamed to __madvise.
36923         Make madvise a weak alias.
36924         * include/sys/mman.h: Declare __madvise.
36925         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36926         * sysdeps/unix/syscalls.list
36927         (madvise): Make __madvise the strong name, and madvise a weak alias.
36928         * sysdeps/unix/sysv/linux/syscalls.list
36929         (madvise, mmap): Remove redundant entries.
36930         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36931         * malloc/malloc.c (mtrim): Likewise.
36932         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36934 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36936         * sysdeps/mach/hurd/dl-cache.c: File removed.
36937         * config.h.in (USE_LDCONFIG): New #undef.
36938         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36939         * configure: Regenerated.
36940         * elf/Makefile (dl-routines): Add dl-cache only under
36941         [$(use-ldconfig) = yes].
36942         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36943         cache on [USE_LDCONFIG].
36944         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36945         [USE_LDCONFIG].
36946         * elf/rtld.c (dl_main): Likewise.
36948 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36950         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36951         _SC_LEVEL4_CACHE_LINESIZE.
36953 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36955         * sysdeps/unix/bsd/confstr.h: File removed.
36957 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36959         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36960         sys/sdt-config.h.
36962 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36964         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36965         Make 'mapoff' field ElfW(Off) rather than off_t.
36967 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36969         * nscd/Makefile: Remove nscd-cflags and all its users.
36970         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36971         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36973         [BZ #10631]
36974         * malloc.c (malloc_printerr): Clarify error message.
36976 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36978         [BZ #14648]
36979         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36980         Set bit_FMA_Usable if FMA is supported.
36981         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36982         macro.
36983         (bit_FMA4_Usable): Updated.
36984         (index_FMA_Usable): New macro.
36985         (CPUID_FMA): Likewise
36986         (HAS_FMA): Defined with bit_FMA_Usable.
36988 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36990         * bits/types.h (__swblk_t): Type removed.
36991         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36992         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36993         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36994         (__SWBLK_T_TYPE): Likewise.
36995         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36996         (__SWBLK_T_TYPE): Likewise.
36997         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36998         (__SWBLK_T_TYPE): Likewise.
36999         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37000         (__SWBLK_T_TYPE): Likewise.
37002 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
37003             Honza Horak <hhorak@redhat.com>
37005         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37006         (xdr_mapname): Use YPMAXMAP as maxsize.
37007         (xdr_peername): Use YPMAXPEER as maxsize.
37008         (xdr_keydat): Use YPAXRECORD as maxsize.
37009         (xdr_valdat): Use YPMAXRECORD as maxsize.
37011 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37013         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37015         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37016         * csu/init-first.c: ... here.
37017         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37018         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37019         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37020         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37021         * sysdeps/i386/init-first.c: File removed.
37022         * sysdeps/sh/init-first.c: File removed.
37024 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
37026         [BZ #14645]
37027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37028         if x * y might underflow to zero and z is zero.
37029         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37030         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37031         * math/libm-test.inc (min_subnorm_value): New variable.
37032         (fma_test): Add more tests.
37033         (fma_test_towardzero): Likewise.
37034         (fma_test_downward): Likewise
37035         (fma_test_upward): Likewise.
37036         (initialize): Set min_subnorm_value.
37038 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
37040         [BZ #14638]
37041         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37042         0 + 0.
37043         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37044         mode for addition resulting in exact zero.
37045         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37046         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37047         exact 0 + 0.
37048         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37049         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37050         * math/libm-test.inc (fma_test): Add more tests.
37051         (fma_test_towardzero): New function.
37052         (fma_test_downward): Likewise.
37053         (fma_test_upward): Likewise.
37054         (main): Call the new functions.
37056 2012-09-28  David S. Miller  <davem@davemloft.net>
37058         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37060 2012-09-28  Roland McGrath  <roland@hack.frob.com>
37062         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37063         instead of SIGALRM.
37065         * sysdeps/gnu/_G_config.h: Moved to ...
37066         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37067         * sysdeps/mach/hurd/_G_config.h: Moved to ...
37068         * sysdeps/generic/_G_config.h: ... here.
37070         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
37072         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37074         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37075         Conditionalize target on [libnss_test1.so-version].
37077         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37079         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37080         (elfobjdir): Move out of conditionals.
37082         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37083         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37084         (__nss_lookup_function): Conditionalize label remove_from_tree on
37085         [!DO_STATIC_NSS || SHARED], matching its only use.
37087 2012-09-28  David S. Miller  <davem@davemloft.net>
37089         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37090         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37091         file.
37092         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37093         sysdep_routines.
37094         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37095         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37096         when HWCAP_SPARC_CRYPTO is present.
37098 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37100         * io/tst-mknodat.c: Create a FIFO instead of a socket.
37102 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
37104         [BZ #6530]
37105         * stdio-common/vfprintf.c (process_string_arg): Revert
37106         2000-07-22 change.
37108 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
37110         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37111         for testcase.
37112         * stdio-common/tst-sprintf.c: Include <locale.h>
37113         (main): Test sprintf's handling of incomplete multibyte
37114         characters.
37116 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37118         * elf/dl-runtime.c (VERSYMIDX): Removed.
37119         * elf/dl-version.c (VERSYMIDX): Likewise.
37120         * elf/do-rel.h (VERSYMIDX): Likewise.
37121         (VALIDX): Likewise.
37122         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37123         * elf/rtld.c (VALIDX): Likewise.
37124         (ADDRIDX): Likewise.
37125         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37126         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37127         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37128         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37129         (VALIDX): Likewise.
37130         (ADDRIDX): Likewise.
37132 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37134         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37136 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37138         [BZ #11438]
37139         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37140         to global scope.
37141         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37142         addresses are in the same scope as 192.0.2/24.
37143         * posix/gai.conf: Document new scope table defaults.
37145 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37147         [BZ #5298]
37148         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37149         for ftell.  Compute offsets from write pointers instead.
37150         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37152 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37154         [BZ #14543]
37155         * libio/Makefile (tests): New test case tst-fseek.
37156         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37157         combination works in wide mode.
37158         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37159         state when the external buffer state changes.
37161 2012-09-27  David S. Miller  <davem@davemloft.net>
37163         [BZ #14376]
37164         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37165         pass reloc->r_addend in as the 'high' argument to
37166         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37170 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37172         * rt/tst-aio2.c: Include <pthread.h>.
37173         * rt/tst-aio3.c: Likewise.
37175 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37177         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37179 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37181         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37182         contents on [SHARED].
37184 2012-09-26  Marek Polacek  <polacek@redhat.com>
37186         [BZ #14530]
37187         [BZ #13741]
37188         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37189         for C++ and GCC <4.3 as well as for non GCC compilers.
37191 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37193         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37195 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37197         * Makefile.in (all, install): Declare with .PHONY.
37198         Reported by Michael Hope <michael.hope@linaro.org>.
37200 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37202         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37203         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37204         system header.
37205         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37206         Likewise.
37207         (sydep_routines): Add the new and the internal functions.
37208         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37209         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37211         (GLIBC_2.17): Add the new function.
37212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37213         (GLIBC_2.17): Likewise.
37214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37215         (GLIBC_2.17): Likewise.
37216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37217         (GLIBC_2.17): Likewise.
37218         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37220 2012-09-25  Alan Modra  <amodra@gmail.com>
37222         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37223         Add release barrier before setting once_control to say
37224         initialisation is done.  Add hints on lwarx.  Use macro in
37225         place of isync.
37226         (clear_once_control): Add release barrier.
37228 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37230         [BZ #13629]
37231         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37232         specially.
37233         * math/s_clog10.c (__clog10): Likewise.
37234         * math/s_clog10f.c (__clog10f): Likewise.
37235         * math/s_clog10l.c (__clog10l): Likewise.
37236         * math/s_clogf.c (__clogf): Likewise.
37237         * math/s_clogl.c (__clogl): Likewise.
37238         * math/Makefile (libm-calls): Add x2y2m1.
37239         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37240         (__x2y2m1): Likewise.
37241         (__x2y2m1l): Likewise.
37242         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37243         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37244         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37245         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37246         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37247         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37248         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37249         * sysdeps/i386/fpu/libm-test-ulps: Update.
37250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37252         [BZ #14621]
37253         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37254         int as type of variable DEPTH.
37255         (glob): Use size_t instead of int as type of variables NEWCOUNT
37256         and OLD_PATHC.
37258 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37260         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37261         Add s_sincosf-sse2.
37262         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37263         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37264         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37265         macros for using routine as __sincosf_ia32.
37266         Use macro for function declaration and weak_alias.
37267         * sysdeps/i386/fpu/libm-test-ulps: Update.
37269         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37270         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37272         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37273         subnormal argument.
37274         * math/s_cexpf.c (__cexpf): Likewise.
37275         * math/s_csinf.c (__csinf): Likewise.
37276         * math/s_csinhf.c (__csinhf): Likewise.
37277         * math/s_ctanf.c (__ctanf): Likewise.
37278         * math/s_ctanhf.c (__ctanhf): Likewise.
37279         * math/s_ccosh.c (__ccoshf): Likewise.
37280         * math/s_cexp.c (__cexpl): Likewise.
37281         * math/s_csin.c (__csin): Likewise.
37282         * math/s_csinh.c (__csinh): Likewise.
37283         * math/s_ctan.c (__ctan): Likewise.
37284         * math/s_ctanh.c (ctanh): Likewise.
37285         * math/s_ccoshl.c (__ccoshl): Likewise.
37286         * math/s_cexpl.c (__cexpl): Likewise.
37287         * math/s_csinl.c (__csinl): Likewise.
37288         * math/s_csinhl.c (__csinhl): Likewise.
37289         * math/s_ctanl.c (__ctanl): Likewise.
37290         * math/s_ctanhl.c (__ctanhl): Likewise.
37292 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37294         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37295         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37296         (_IO_off_t): Define to __off_t, not _G_off_t.
37297         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37298         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37299         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37300         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37301         type of __dummy and __dummy2 fields.
37302         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37303         (_G_ssize_t): Likewise.
37304         (_G_off_t): Likewise.
37305         (_G_pid_t): Likewise.
37306         (_G_uid_t): Likewise.
37307         (_G_wchar_t): Likewise.
37308         (_G_wint_t): Likewise.
37309         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37310         (_G_ssize_t): Likewise.
37311         (_G_off_t): Likewise.
37312         (_G_pid_t): Likewise.
37313         (_G_uid_t): Likewise.
37314         (_G_wchar_t): Likewise.
37315         (_G_wint_t): Likewise.
37316         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37317         (_G_ssize_t): Likewise.
37318         (_G_off_t): Likewise.
37319         (_G_pid_t): Likewise.
37320         (_G_uid_t): Likewise.
37321         (_G_wchar_t): Likewise.
37322         (_G_wint_t): Likewise.
37324 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37326         * malloc/arena.c: Include malloc-sysdep.h.
37327         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37328         is sufficient to shrink the heap or an unmap is needed.
37329         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37330         new function check_may_shrink_heap.
37331         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37332         new function check_may_shrink_heap.
37334 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37336         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37337         comments.
37339 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37341         * catgets/test-gencat.sh: Add "set -e".
37342         * elf/tst-pathopt.sh: Likewise.
37343         * grp/tst_fgetgrent.sh: Likewise.
37344         * iconvdata/run-iconv-test.sh: Likewise.
37345         * intl/tst-gettext.sh: Likewise.
37346         * intl/tst-gettext2.sh: Likewise.
37347         * intl/tst-gettext4.sh: Likewise.
37348         * intl/tst-gettext6.sh: Likewise.
37349         * intl/tst-translit.sh: Likewise.
37350         * io/ftwtest-sh: Likewise.
37351         * libio/test-freopen.sh: Likewise.
37352         * malloc/tst-mtrace.sh: Likewise.
37353         * posix/globtest.sh: Likewise.
37354         * posix/tst-getconf.sh: Likewise.
37355         * posix/wordexp-tst.sh: Likewise.
37356         * stdio-common/tst-printf.sh: Likewise.
37357         * stdio-common/tst-unbputc.sh: Likewise.
37358         * stdlib/tst-fmtmsg.sh: Likewise.
37359         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37360         * catgets/Makefile: Do not specify -e option when running
37361         testsuite shell scripts.
37362         * elf/Makefile: Likewise.
37363         * grp/Makefile: Likewise.
37364         * iconvdata/Makefile: Likewise.
37365         * intl/Makefile: Likewise.
37366         * io/Makefile: Likewise.
37367         * libio/Makefile: Likewise.
37368         * malloc/Makefile: Likewise.
37369         * posix/Makefile: Likewise.
37370         * stdio-common/Makefile: Likewise.
37371         * stdlib/Makefile: Likewise.
37372         * sysdeps/x86_64/Makefile: Likewise.
37374         * io/ftwtest-sh: Add copyright header.
37375         * posix/globtest.sh: Likewise.
37376         * posix/tst-getconf.sh: Likewise.
37377         * posix/wordexp-tst.sh: Likewise.
37378         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37380 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37382         [BZ #13679]
37383         * Makeconfig (+link): Defined as $(+link-static) if
37384         $(build-shared) isn't yes.
37385         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37386         isn't yes.
37387         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37389         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37391         [BZ #14562]
37392         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37393         new chunk size with MALLOC_ALIGN_MASK.
37395 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37397         [BZ #5044]
37398         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37399         <rounding-mode.h>.
37400         (__printf_fphex): Determine rounding using get_rounding_mode and
37401         round_away.
37402         * stdio-common/tst-printf-round.c (struct hex_test): New
37403         structure.
37404         (hex_tests): New variable.
37405         (test_hex_in_one_mode): New function.
37406         (do_test): Also run tests for hex float output.
37408 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37410         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37411         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37412         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37413         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37414         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37415         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37416         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37417         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37419 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37421         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37422         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37423         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37424         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37426 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37428         [BZ #14579]
37429         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37430         mode only.
37431         * elf/tst-rtld-load-self.sh: New test.
37432         * elf/Makefile: Run it.
37434 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37436         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37437         (tst-writev-ENV): Remove.
37438         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37440 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37442         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37444 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37446         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37447         unconditional.
37448         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37449         Likewise.
37450         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37451         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37452         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37453         Likewise.
37455 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37457         [BZ #14587]
37458         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37459         * config.make.in (have-cpp-asm-debuginfo): Removed.
37460         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37461         * configure: Regenerated.
37463 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37465         [BZ #5044]
37466         * stdio-common/printf_fp.c: Include <stdbool.h> and
37467         <rounding-mode.h>.
37468         (___printf_fp): Determine rounding using get_rounding_mode and
37469         round_away.
37470         * stdio-common/tst-printf-round.c: New file.
37471         * stdio-common/Makefile (tests): Add tst-printf-round.
37472         (link-libm): New variable.
37473         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37475 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37477         [BZ #14576]
37478         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37479         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37480         Likewise.
37481         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37482         Likewise.
37484 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37486         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37487         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37488         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37489         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37491 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37493         [BZ #14518]
37494         * include/rounding-mode.h: New file.
37495         * sysdeps/generic/get-rounding-mode.h: Likewise.
37496         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37497         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37498         (MAX_VALUE): New macro.
37499         (MIN_VALUE): Likewise.
37500         (overflow_value): New function.
37501         (underflow_value): Likewise.
37502         (round_and_return): Use overflow_value and underflow_value to
37503         determine return values in overflow and underflow cases.  Use
37504         round_away to determine rounding depending on rounding mode.
37505         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37506         determine return values in overflow and underflow cases.
37507         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37508         (struct test_results): New structure.
37509         (struct test): Use struct test_results to store expected results
37510         for all rounding modes.
37511         (TEST): Include expected results for all rounding modes.
37512         (test_in_one_mode): New function.
37513         (do_test): Use test_in_one_mode to compute and check results.
37514         Check results for all rounding modes.
37515         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37516         $(link-libm).
37518 2012-12-09  Allan McRae  <allan@archlinux.org>
37520         * sysdeps/i386/fpu/libm-test-ulps: Update
37522 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37524         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37525         (_G_int32_t): Likewise.
37526         (_G_uint16_t): Likewise.
37527         (_G_uint32_t): Likewise.
37528         (_G_HAVE_BOOL): Likewise.
37529         (_G_HAVE_ATEXIT): Likewise.
37530         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37531         (_G_HAVE_IO_FILE_OPEN): Likewise.
37532         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37533         (_G_int32_t): Likewise.
37534         (_G_uint16_t): Likewise.
37535         (_G_uint32_t): Likewise.
37536         (_G_HAVE_BOOL): Likewise.
37537         (_G_HAVE_ATEXIT): Likewise.
37538         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37539         (_G_HAVE_IO_FILE_OPEN): Likewise.
37540         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37541         (_G_int32_t): Likewise.
37542         (_G_uint16_t): Likewise.
37543         (_G_uint32_t): Likewise.
37544         (_G_HAVE_BOOL): Likewise.
37545         (_G_HAVE_ATEXIT): Likewise.
37546         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37547         (_G_HAVE_IO_FILE_OPEN): Likewise.
37549 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37551         * csu/libc-tls.c: Update copyright years.
37553 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37555         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37556         [!_G_USING_THUNKS]: Remove conditional code.
37557         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37558         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37560         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37561         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37562         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37563         (_G_VTABLE_LABEL_PREFIX): Likewise.
37564         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37565         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37566         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37567         (_G_VTABLE_LABEL_PREFIX): Likewise.
37568         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37569         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37570         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37571         (_G_VTABLE_LABEL_PREFIX): Likewise.
37572         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37574 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37576         * libio/Makefile: Include ../Makeconfig before tests.
37577         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37578         only if $(build-shared) is yes.
37580         * iconv/gconv_db.c: Update copyright years.
37582 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37584         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37585         unwind info if defined PIC. Fix special cases description.
37586         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37588         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37589         DP_HI_MASK entry.
37590         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37592 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37594         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37596         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37597         is NULL.
37599         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37600         (LDLIBS-tst-chk4): This.
37601         (LDFLAGS-tst-chk5): Renamed to ...
37602         (LDLIBS-tst-chk5): This.
37603         (LDFLAGS-tst-chk6): Renamed to ...
37604         (LDLIBS-tst-chk6): This.
37605         (LDFLAGS-tst-lfschk4): Renamed to ...
37606         (LDLIBS-tst-lfschk4): This.
37607         (LDFLAGS-tst-lfschk5): Renamed to ...
37608         (LDLIBS-tst-lfschk5): This.
37609         (LDFLAGS-tst-lfschk6): Renamed to ...
37610         (LDLIBS-tst-lfschk6): This.
37612         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37613         on $(common-objpfx)soversions.mk.
37615 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37617         [BZ #10014]
37618         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37619         example host name.
37621 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37623         * malloc/arena.c (arena_get_retry): New function that gets
37624         another arena for the caller to try its request on.
37625         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37626         current arena cannot fulfill the request.
37627         (__libc_memalign): Likewise.
37628         (__libc_memalign): Likewise.
37629         (__libc_pvalloc): Likewise.
37630         (__libc_calloc): Likewise.
37632 2012-09-05  John Tobey  <john.tobey@gmail.com>
37634         [BZ #13542]
37635         * manual/arith.texi (Operations on Complex): Fix description
37636         of carg branch cut.
37638 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37640         [BZ #10014]
37641         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37642         host name.
37644         [BZ #10038]
37645         * manual/memory.texi (Memory): Make order of menu items match
37646         order of sections.
37648 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37650         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37651         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37652         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37654 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37656         * csu/libc-tls.c (static_dtv): Renamed to ...
37657         (_dl_static_dtv): This.  Make it global.
37658         (_dl_initial_dtv): Removed.
37659         (__libc_setup_tls): Updated.
37660         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37661         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37662         DL_INITIAL_DTV.
37664 2012-09-06  Petr Machata  <pmachata@redhat.com>
37666         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37667         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37668         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37669         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37671 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37673         [BZ #14545]
37674         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37675         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37676         freeing dtv[-1].
37678 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37680         [BZ #14544]
37681         * Makeconfig (link-static-before-libc): Replace $(+prector)
37682         with $(+prectorT).
37683         (link-static-after-libc): Replace $(+postctor) with
37684         $(+postctorT).
37685         (link-bounded): Replace $(+prector)/$(+postctor) with
37686         $(+prectorT)/$(+postctorT).
37687         (+prectorT): New macro.
37688         (+postctorT): Likewise.
37690 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37692         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37693         (round_str): Handle values above the maximum for IBM long double
37694         as inexact.
37695         * stdlib/tst-strtod-round.c (tests): Regenerated.
37697 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37699         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37700         assembler flag.
37701         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37702         zarch_nohighgprs around the zarch optimized routines.
37703         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37704         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37705         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37706         for zarch.
37708 2012-09-05  David S. Miller  <davem@davemloft.net>
37710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37712         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37713         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37714         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37715         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37716         entries.
37718 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37720         * malloc/arena.c: Fold copyright years.
37721         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37723 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37725         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37727 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37729         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37731 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37733         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37734         change internal state upon failure.
37736 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37738         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37739         * malloc/memusage.c (mmap): Likewise.
37740         (mmap64, mremap): Likewise.  Adjust name in comment.
37742 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37744         * libio/fileops.c: Fix typos in comments.
37745         * libio/oldfileops.c: Likewise.
37746         * libio/wfileops.c: Likewise.
37748 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37750         [BZ #1349]
37751         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37752         (tst-malloc-usable-ENV): Set environment for test case.
37753         * malloc/hooks.c (malloc_check_get_size): New function to get
37754         requested size.
37755         * malloc/malloc.c (musable): Use malloc_check_get_size.
37756         * malloc/tst-malloc-usable.c: New test case.
37758 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37760         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37762 2012-09-05  Allan McRae  <allan@archlinux.org>
37764         [BZ #13966]
37765         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37766         determine header location.
37767         * configure: Regenerated.
37769 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37771         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37772         float format.
37773         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37774         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37775         format.
37776         (test): Regenerate.
37778 2012-09-04  David S. Miller  <davem@davemloft.net>
37780         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37781         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37782         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37784 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37786         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37787         failures.
37789         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37791 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37793         [BZ #9914]
37794         * libio/iogetdelim.c: Include <limits.h>.
37795         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37796         + len + 1 would overflow.
37798 2012-09-03  Andreas Jaeger  <aj@suse.de>
37800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37801         * sysdeps/i386/fpu/libm-test-ulps: Update.
37803 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37805         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37806         Add s_sinf-sse2, s_conf-sse2.
37808         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37809         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37810         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37811         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37813         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37814         for using routine as __sinf_ia32.
37815         Use macro for function declaration and weak_alias.
37816         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37817         for using routine as __cosf_ia32.
37818         Use macro for function declaration and weak_alias.
37820         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37821         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37823         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37824         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37827         * math/libm-test.inc (cos_test): Add more test cases.
37828         (sin_test): Likewise.
37829         (sincos_test): Likewise.
37831 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37833         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37834         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37835         hidden.
37836         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37838 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37840         [BZ #14538]
37841         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37842         first element of the GOT.
37843         (elf_machine_load_address): Return the difference between
37844         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37846 2012-09-01  Allan McRae  <allan@archlinux.org>
37848         [BZ #13412]
37849         * configure.in (AWK): Require gawk version 3.0 or later.
37850         * configure: Regenerated.
37852 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37854         * sysdeps/unix/sysv/linux/kernel-features.h
37855         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37856         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37857         [__NR_clock_getres]: Make code unconditional.
37858         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37859         (clock_getcpuclockid): Remove code left unreachable by removal of
37860         conditionals.
37861         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37862         code unconditional.
37863         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37864         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37865         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37866         Make code unconditional.
37867         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37868         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37869         * sysdeps/unix/sysv/linux/clock_settime.c
37870         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37871         conditional code.
37872         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37873         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37875 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37877         [BZ #14476]
37878         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37879         scripts/test-installation.pl.
37881         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37882         and $ld_so_version if it is set.
37884 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37886         [BZ #14516]
37887         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37888         failure if reading from procfs failed.
37889         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37891 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37893         * sysdeps/unix/sysv/linux/kernel-features.h
37894         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37895         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37896         Remove conditional code.
37897         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37898         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37899         Remove conditional code.
37900         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37901         * sysdeps/unix/sysv/linux/i386/fxstat.c
37902         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37903         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37904         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37905         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37906         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37907         * sysdeps/unix/sysv/linux/i386/lxstat.c
37908         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37909         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37910         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37911         Remove conditional code.
37912         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37913         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37914         Remove conditional code.
37915         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37916         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37917         <kernel-features.h>.
37918         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37919         Remove.
37920         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37921         Remove conditional code.
37922         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37923         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37924         Remove conditional.
37926 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37928         [BZ #5400]
37929         * NEWS: Add fixed bug number.
37931 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37933         [BZ #14519]
37934         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37935         underflowing exponent in case of negative sign.
37936         * stdlib/tst-strtod-round-data: Add more tests.
37937         * stdlib/tst-strtod-round.c (tests): Regenerated.
37939         [BZ #3479]
37940         * stdlib/strtod_l.c (NDIG): Remove.
37941         (HEXNDIG): Likewise.
37942         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37943         smallest representable value.
37944         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37945         lie within an exact representation of 1/2 ulp of the result.
37946         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37947         unconditionally.
37948         (TENS_P9_IDX): Define unconditionally.
37949         (TENS_P9_SIZE): Likewise.
37950         (TENS_P10_IDX): Likewise.
37951         (TENS_P10_SIZE): Likewise.
37952         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37953         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37954         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37955         entries for 10^2^13 and 10^2^14.
37956         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37957         (TENS_P13_IDX): Define.
37958         (TENS_P13_SIZE): Likewise.
37959         (TENS_P14_IDX): Likewise.
37960         (TENS_P14_SIZE): Likewise.
37961         (_fpioconst_pow10): Change array size to
37962         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37963         unconditional.
37964         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37965         1024]: Add entries for 10^2^13 and 10^2^14.
37966         [LAST_POW10 > _LAST_POW10]: Remove #error.
37967         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37968         (_fpioconst_pow10): Change array size to
37969         FPIOCONST_POW10_ARRAY_SIZE.
37970         * stdlib/gen-fpioconst.c: New file.
37971         * stdlib/gen-tst-strtod-round.c: Likewise.
37972         * stdlib/tst-strtod-round-data: Likewise.
37973         * stdlib/tst-strtod-round.c: Likewise.
37974         * stdlib/Makefile (tests): Add tst-strtod-round.
37976         [BZ #14459]
37977         * stdlib/strtod_l.c: Include <stdint.h>.
37978         (NDEBUG): Do not define.
37979         (round_and_return): Change EXPONENT parameter to type intmax_t.
37980         Rearrange calculations to avoid internal overflow possibilities.
37981         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37982         Rearrange calculations to avoid internal overflow possibilities.
37983         Assert that number fits inside MPNSIZE limbs.
37984         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37985         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37986         calculations and add assertions to avoid internal overflow
37987         possibilities.  Add casts to avoid signed/unsigned operations.
37988         * stdlib/tst-strtod-overflow.c: New file.
37989         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37991 2012-08-25  Marek Polacek  <polacek@redhat.com>
37993         * time/time.h: Fix some typos in comments.
37995 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37997         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37998         * posix/tst-rfc3484-2.c: Likewise.
37999         * posix/tst-rfc3484-3.c: Likewise.
38001 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
38003         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38004         (EF_ARM_ABI_FLOAT_HARD): Likewise.
38006 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
38008         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38009         #include of fxstatat64.c.
38011 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38013         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38014         * shadow/getspent_r.c: Likewise.
38015         * shadow/getspnam.c: Likewise.
38016         * shadow/getspnam_r.c: Likewise.
38017         * gshadow/getsgent.c: Likewise.
38018         * gshadow/getsgent_r.c: Likewise.
38019         * gshadow/getsgnam.c: Likewise.
38020         * gshadow/getsgnam_r.c: Likewise.
38021         * inet/getnetbyad.c: Likewise.
38022         * inet/getnetbyad_r.c: Likewise.
38023         * inet/getnetbynm.c: Likewise.
38024         * inet/getnetbynm_r.c: Likewise.
38025         * inet/getnetent.c: Likewise.
38026         * inet/getnetent_r.c: Likewise.
38027         * inet/getproto.c: Likewise.
38028         * inet/getproto_r.c: Likewise.
38029         * inet/getprtent.c: Likewise.
38030         * inet/getprtent_r.c: Likewise.
38031         * inet/getprtname.c: Likewise.
38032         * inet/getprtname_r.c: Likewise.
38033         * inet/getrpcbyname.c: Likewise.
38034         * inet/getrpcbyname_r.c: Likewise.
38035         * inet/getrpcbynumber.c: Likewise.
38036         * inet/getrpcbynumber_r.c: Likewise.
38037         * inet/getrpcent.c: Likewise.
38038         * inet/getrpcent_r.c: Likewise.
38039         * inet/getaliasent.c: Likewise.
38040         * inet/getaliasent_r.c: Likewise.
38041         * inet/getaliasname.c: Likewise.
38042         * inet/getaliasname_r.c: Likewise.
38043         * nscd/getgrgid_r.c: Likewise.
38044         * nscd/getgrnam_r.c: Likewise.
38045         * nscd/gethstbyad_r.c: Likewise.
38046         * nscd/gethstbynm3_r.c: Likewise.
38047         * nscd/getpwnam_r.c: Likewise.
38048         * nscd/getpwuid_r.c: Likewise.
38049         * nscd/getsrvbynm_r.c: Likewise.
38050         * nscd/getsrvbypt_r.c: Likewise.
38051         * nscd/gai.c: Likewise.
38053         * configure.in (build_nscd): New substituted variable, set
38054         by --disable-build-nscd and defaults to $use_nscd.
38055         * configure: Regenerated.
38056         * config.make.in (build-nscd): New substituted variable.
38057         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38058         Change conditional to require [$(build-nscd) = yes] as well.
38059         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38061         [BZ# 13696]
38062         * configure.in (use_nscd): New substituted variable, set by
38063         --disable-nscd.  If enabled, define USE_NSCD.
38064         * configure: Regenerated.
38065         * config.h.in: Add USE_NSCD.
38066         * config.make.in (use-nscd): New substituted variable.
38067         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38068         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38069         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38070         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38071         (CFLAGS-getgrnam_r.c): Likewise.
38072         (CFLAGS-initgroups.c): Likewise.
38073         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38074         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38075         Variables removed.
38076         * inet/getnetgrent_r.c
38077         (nscd_setnetgrent): New function, broken out of ...
38078         (setnetgrent): ... here.  Call it.
38079         (innetgr): Conditionalize nscd bits on [USE_NSCD].
38080         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38081         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38082         * nscd/Makefile (routines, aux): Move definitions after include of
38083         Makeconfig.  Conditionalize on [$(use-nscd) != no].
38084         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38085         Conditionalize on [USE_NSCD].
38086         (is_nscd, nscd_init_cb): Likewise.
38087         (nss_load_library): Conditionalize init callback on [USE_NSCD].
38088         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38089         * nss/nss_db/db-init.c: Likewise.
38090         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38091         [USE_NSCD].
38092         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38093         (make_request): Use it.
38094         (cache_valid_p): New function.
38095         (__check_pf): Use it.
38096         * NEWS: Add item for --disable-nscd.
38098 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
38100         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38101         to support sed >= 4.2.1-20-ga9bf076.
38102         * configure: Regenerated.
38104 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38106         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38107         Conditionalize whole body on [IREL].
38109 2012-08-22  Jeff Law <law@redhat.com>
38111         [BZ #14505]
38112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38113         if the family is PF_UNSPEC.
38115 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38117         * Makerules (lib-version): Rename from V.
38118         (install-lib-nosubdir): Change V to lib-version.
38120 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38122         [BZ #14252]
38123         * powerpc32/power6/wcschr.c: New file.
38124         * powerpc32/power6/wcscpy.c: New file.
38125         * powerpc32/power6/wcsrchr.c: New file.
38126         * powerpc64/power6/wcschr.c: New file.
38127         * powerpc64/power6/wcscpy.c: New file.
38128         * powerpc64/power6/wcsrchr.c: New file.
38130 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38132         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38133         (two_way_short_needle): Use it.
38134         * string/strstr.c (AVAILABLE1_USES_J): Define.
38135         * string/strcasestr.c: Likewise.
38137         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38138         array references.
38139         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38141         [BZ #11607]
38142         * NEWS: Add an entry.
38143         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38144         define their defaults.
38145         (two_way_short_needle): Detect end-of-string on-the-fly.
38146         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38147         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38148         * string/bug-strcasestr1.c: New test.
38149         * string/Makefile: Run it.
38151 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38153         [BZ #11607]
38154         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38155         the first character.
38157 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38159         * csu/elf-init.c (__libc_csu_irel): Function removed.
38160         * csu/libc-start.c (apply_irel): New function.
38161         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38163 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38165         * sysdeps/unix/sysv/linux/kernel-features.h
38166         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38167         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38168         <kernel-features.h>.
38169         [__NR_fadvise64_64]: Make code unconditional.
38170         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38171         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38172         !__NR_fadvise64_64)]: Likewise.
38173         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38174         !__NR_fadvise64_64))]: Likewise.
38175         [__NR_fadvise64]: Make code unconditional.
38176         [!__NR_fadvise64]: Remove conditional code.
38177         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38178         <kernel-features.h>.
38179         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38180         unconditional.
38181         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38182         conditional code.
38183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38184         not include <kernel-features.h>.
38185         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38186         unconditional.
38187         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38188         conditional code.
38189         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38190         include <kernel-features.h>.
38191         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38192         unconditional.
38193         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38194         conditional code.
38196 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38198         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38199         slight instruction rearrangements per scrollpipe analysis.
38200         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38202 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38204         * manual/syslog.texi (syslog; vsyslog, closelog):
38205         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38206         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38208         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38209         DSOCAPS to match condition on defining it.
38211 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38213         * sysdeps/unix/sysv/linux/kernel-features.h
38214         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38216         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38217         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38219         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38220         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38222         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38223         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38225         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38226         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38228         * sysdeps/unix/sysv/linux/kernel-features.h
38229         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38230         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38231         unconditional.
38232         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38233         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38234         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38235         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38236         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38237         Make code unconditional.
38238         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38239         (__mmap64) [!__NR_mmap2]: Likewise.
38240         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38241         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38242         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38243         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38244         [__NR_mmap2]: Make code unconditional.
38245         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38246         (__mmap64) [!__NR_mmap2]: Likewise.
38248 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38250         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38252 2012-08-18  Andreas Jaeger  <aj@suse.de>
38254         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38256 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38258         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38259         * include/unistd.h (__have_sock_cloexec): Likewise.
38260         (__have_pipe2): Likewise.
38261         (__have_dup3): Likewise.
38263 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38265         [BZ #9685]
38266         * include/unistd.h (__have_pipe2): Change define into an extern int.
38267         (__have_dup3): Likewise.
38268         * socket/have_sock_cloexec.c: Include fcntl.h.
38269         (__have_pipe2): New variable.
38270         (__have_dup3): Likewise.
38272 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38274         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38276 2012-08-17  Marek Polacek  <polacek@redhat.com>
38278         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38279         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38281 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38283         * configure.in: Add AC_SUBST for sysheaders.
38284         * configure: Regenerated.
38285         * config.make.in (sysheaders): New substituted variable.
38287         * sysdeps/unix/mkfifo.c: Moved ...
38288         * sysdeps/posix/mkfifo.c: ... here.
38289         * sysdeps/unix/mkfifoat.c: Moved ...
38290         * sysdeps/posix/mkfifoat.c: ... here.
38292         * sysdeps/unix/utime.c: Moved ...
38293         * sysdeps/posix/utime.c: ... here.
38295         * sysdeps/unix/time.c: Moved ...
38296         * sysdeps/posix/time.c: ... here.
38297         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38298         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38300         * sysdeps/unix/nice.c: Moved ...
38301         * sysdeps/posix/nice.c: ... here.
38303         * sysdeps/unix/alarm.c: Moved ...
38304         * sysdeps/posix/alarm.c: ... here.
38306         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38308 2012-08-17  Jeff Law <law@redhat.com>
38310         * intl/Makefile (codeset_mo): New variable.
38311         ($(codeset_mo)): New target.
38312         (tst-codeset.out): Depend on that.  Remove explicit rule.
38313         (tst-gettext3.out, tst-gettext5.out): Likewise.
38314         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38315         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38316         * intl/tst-codeset.sh: Remove.
38317         * intl/tst-gettext3.sh: Likewise.
38318         * intl/tst-gettext5.sh: Likewise.
38320 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38322         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38323         * sysdeps/unix/syscalls.list: ... here.
38325         * sysdeps/posix/getaddrinfo.c
38326         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38327         (gaiconf_init, gaiconf_reload): Use them.
38328         [!_STATBUF_ST_NSEC]
38329         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38330         Define using time_t rather than struct timespec.
38332         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38333         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38334         Macros removed.
38335         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38336         [!NO_THREADS].
38337         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38338         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38339         Likewise.
38341         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38342         __libc_cleanup_push argument.
38344         * bits/param.h: New file.
38345         * misc/sys/param.h: New file.
38346         * include/sys/param.h: New file.
38347         * misc/Makefile (headers): Add bits/param.h.
38348         * sysdeps/generic/sys/param.h: File removed.
38349         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38350         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38351         * sysdeps/mach/hurd/bits/param.h: New file.
38352         * sysdeps/mach/hurd/sys/param.h: File removed.
38354         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38355         last change.
38357         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38358         [_IO_MTSAFE_IO].
38359         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38360         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38361         New macros.
38363         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38364         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38365         rather than -D_IO_MTSAFE_IO conditionally.
38366         * stdio-common/Makefile (CPPFLAGS): Likewise.
38367         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38368         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38369         Use $(libio-mtsafe).
38370         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38371         of -D_IO_MTSAFE_IO.
38372         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38373         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38374         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38375         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38376         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38377         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38378         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38379         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38380         (CFLAGS-fread_u_chk.c): Likewise.
38381         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38382         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38383         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38384         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38385         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38386         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38387         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38388         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38389         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38391         * libio/Makefile: Test [$(libc-reentrant) = yes]
38392         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38394         * Makeconfig
38395         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38396         * sysdeps/pthread/configure: File removed.
38397         * sysdeps/pthread/Makeconfig: New file.
38398         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38399         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38401 2012-08-16  Gary Benson  <gbenson@redhat.com>
38403         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38404         unmapping the first object in a namespace.
38406 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38408         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38409         (__internal_setnetgrent): ... this.  Add internal_function to
38410         definition.  Add libc_hidden_def.
38411         (setnetgrent): Update caller.
38412         (internal_endnetgrent): Renamed to ...
38413         (__internal_endnetgrent): ... this.  Add internal_function to
38414         definition.  Add libc_hidden_def.
38415         (endnetgrent): Update caller.
38416         (internal_getnetgrent_r): Renamed to ...
38417         (__internal_getnetgrent_r): ... this.  Add internal_function to
38418         definition.  Add libc_hidden_def.
38419         (__getnetgrent_r): Update caller.
38420         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38422 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38424         * stdlib/longlong.h: Update from GCC.
38426 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38428         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38429         on _QL, which is set by umul_ppmm but never used.
38430         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38431         variables, which are set by GMP macros but never used.
38432         * stdio-common/_itowa.c (_itowa): Likewise.
38433         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38434         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38436 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38438         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38439         struct La_sh_regs is not constant.
38440         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38441         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38442         and struct La_sparc64_regs are not constant.
38444 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38446         * sysdeps/unix/sysv/linux/kernel-features.h
38447         (__ASSUME_POSIX_TIMERS): Remove.
38448         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38449         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38450         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38451         Make code unconditional.
38452         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38453         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38454         Make code unconditional.
38455         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38456         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38457         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38458         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38459         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38460         Make code unconditional.
38461         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38462         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38463         (__libc_missing_posix_timers): Remove.
38465 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38467         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38468         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38470         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38472         * elf/dl-sym.c: Include <stdlib.h>.
38474         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38475         constants, which avoids warnings in 32-bit builds.
38477         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38478         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38480         * misc/lseek.c: File moved to ...
38481         * io/lseek.c: ... here.
38483         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38485         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38486         shifting LEN more than 31 bits at once.
38488 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38490         [BZ #14195]
38491         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38492         segmentation fault for a case of two empty input strings.
38493         * string/test-strncasecmp.c (check1): Renamed to...
38494         (bz12205): ...this.
38495         (bz14195): Add new testcase for two empty input strings and N > 0.
38496         (test_main): Call new testcase, adapt for renamed function.
38498 2012-08-15  Andreas Jaeger  <aj@suse.de>
38500         [BZ #14090]
38501         * crypt/md5test2.c: New test, based on test supplied by Serge
38502         Belyshev <belyshev@depni.sinp.msu.ru>.
38503         * crypt/Makefile (xtests): Add md5test-giant..
38504         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38506 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38508         [BZ #14090]
38509         * crypt/md5.c (md5_process_block): Don't assume the buffer
38510         length is less than 2**32.
38511         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38512         length is less than 2**64.
38514 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38516         * string/str-two-way.h: Include <sys/param.h>.
38517         (MAX): Macro removed.
38519         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38520         Move #define and #undef of memmove to just before and after
38521         including <string.h>.
38523         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38524         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38525         and after including <string.h>.  Move declarations of
38526         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38527         to before #include "string/memmove.c".
38529         * include/dirent.h: Declare __getdirentries.
38531         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38532         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38534 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38536         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38537         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38538         * sysdeps/i386/configure: Regenerated.
38539         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38540         STABS_CURRENT_FILE, and STABS_FUN.
38541         (END): Remove call to STABS_FUN_END.
38542         (STABS_CURRENT_FILE1): Delete.
38543         (STABS_CURRENT_FILE): Likewise.
38544         (STABS_FUN): Likewise.
38545         (STABS_FUN_END): Likewise.
38546         (STABS_FUN2): Likewise.
38547         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38548         * sysdeps/x86_64/configure: Regenerated.
38550 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38552         * elf/dl-open.c: Include <atomic.h>.
38553         * elf/dl-lookup.c: Likewise.
38555 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38557         * sysdeps/unix/sysv/linux/kernel-features.h
38558         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38559         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38560         unconditionally.
38561         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38562         unconditionally.
38563         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38564         condition on __ASSUME_CLONE_THREAD_FLAGS.
38566 2012-08-14  Andreas Jaeger  <aj@suse.de>
38568         * sysdeps/i386/fpu/libm-test-ulps: Update.
38570 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38572         * include/atomic.h (atomic_exchange_and_add): Split into ...
38573         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38574         New atomic macros.
38576 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38578         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38580 2012-08-13  Jeff Law <law@redhat.com>
38582         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38583         null byte in the output string.
38585 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38587         * sysdeps/unix/sysv/linux/kernel-features.h
38588         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38589         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38590         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38591         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38592         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38593         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38594         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38596 2012-08-09  Jeff Law <law@redhat.com>
38598         [BZ #13939]
38599         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38600         When avoid_arena is set, don't retry in the that arena.  Pick the
38601         next one, whatever it might be.
38602         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38603         (arena_lock): Pass in new parameter to arena_get2.
38604         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38605         arena_get2.
38606         (__libc_malloc): Unify retrying after main arena failure with
38607         __libc_memalign version.
38608         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38610 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38612         [BZ #14166]
38613         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38614         to __redirect_strstr.
38615         (__strstr_sse42): Use typeof __redirect_strstr.
38616         (__strstr_ia32): Likewise.
38617         (__libc_strstr): New prototype.
38618         (strstr): Renamed to ...
38619         (__libc_strstr): This.
38620         (strstr): New strong alias of __libc_strstr.
38621         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38622         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38623         __redirect_time.
38624         Include <time.h>.
38625         (__libc_time): New prototype.
38626         (time_ifunc): Replace time with __libc_time.
38627         (time): New strong alias and hidden definition of __libc_time.
38628         (__GI_time): Remove strong alias.
38629         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38630         Include <stddef.h>.
38631         (memmove): Redefined to __redirect_memmove.
38632         (__memmove_sse2): Use typeof __redirect_memmove.
38633         (__memmove_ssse3): Likewise.
38634         (__memmove_ssse3_back): Likewise.
38635         (__libc_memmove): New prototype.
38636         (memmove): Renamed to ...
38637         (__libc_memmove): This.
38638         (memmove): New strong alias of __libc_memmove.
38640 2012-08-08  Mark Salter  <msalter@redhat.com>
38642         * elf/elf.h
38643         (R_MN10300_TLS_GD): Define.
38644         (R_MN10300_TLS_LD): Likewise.
38645         (R_MN10300_TLS_LDO): Likewise.
38646         (R_MN10300_TLS_GOTIE): Likewise.
38647         (R_MN10300_TLS_IE): Likewise.
38648         (R_MN10300_TLS_LE): Likewise.
38649         (R_MN10300_TLS_DTPMOD): Likewise.
38650         (R_MN10300_TLS_DTPOFF): Likewise.
38651         (R_MN10300_TLS_TPOFF): Likewise.
38652         (R_MN10300_SYM_DIFF): Likewise.
38653         (R_MN10300_ALIGN): Likewise.
38654         (R_MN10300_NUM): Update.
38656 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38658         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38659         Remove.
38661 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38663         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38665         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38666         sysdeps/unix -> sysdeps/posix move.
38667         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38669 2012-08-07      Allan McRae     <allan@archlinux.org>
38671         [BZ #14303]
38672         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38673         (SUNOS_CPP): Likewise.
38674         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38675         not found.
38676         (open_input): Call CPP using execvp.
38678 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38680         * sysdeps/unix/sysv/linux/kernel-features.h
38681         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38682         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38683         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38684         (__ASSUME_WAITID_SYSCALL): Likewise.
38685         * sysdeps/unix/sysv/linux/dl-execstack.c
38686         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38687         code unconditional.
38688         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38689         conditional code.
38690         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38691         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38692         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38693         code.
38694         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38695         unconditional.
38696         [__ASSUME_WAITID_SYSCALL]: Likewise.
38697         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38699 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38701         * sysdeps/unix/closedir.c: Renamed to ...
38702         * sysdeps/posix/closedir.c: ... here.
38703         * sysdeps/unix/dirfd.c: Renamed to ...
38704         * sysdeps/posix/dirfd.c: ... here.
38705         * sysdeps/unix/dirstream.h: Renamed to ...
38706         * sysdeps/posix/dirstream.h: ... here.
38707         * sysdeps/unix/fdopendir.c: Renamed to ...
38708         * sysdeps/posix/fdopendir.c: ... here.
38709         * sysdeps/unix/opendir.c: Renamed to ...
38710         * sysdeps/posix/opendir.c: ... here.
38711         * sysdeps/unix/readdir.c: Renamed to ...
38712         * sysdeps/posix/readdir.c: ... here.
38713         * sysdeps/unix/readdir_r.c: Renamed to ...
38714         * sysdeps/posix/readdir_r.c: ... here.
38715         * sysdeps/unix/rewinddir.c: Renamed to ...
38716         * sysdeps/posix/rewinddir.c: ... here.
38717         * sysdeps/unix/seekdir.c: Renamed to ...
38718         * sysdeps/posix/seekdir.c: ... here.
38719         * sysdeps/unix/telldir.c: Renamed to ...
38720         * sysdeps/posix/telldir.c: ... here.
38721         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38722         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38723         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38724         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38726         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38727         * bits/fcntl.h: ... here.
38729         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38730         not 0.
38731         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38732         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38733         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38734         (struct flock): Move l_start, l_len to the beginning.
38735         Use __pid_t for l_pid.
38736         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38737         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38738         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38739         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38740         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38741         [__USE_LARGEFILE64] (struct flock64): New type.
38742         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38744         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38745         * bits/dirent.h: ... here.
38747         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38748         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38750 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38752         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38753         Change from 2.6.0 to 2.6.16.
38754         * sysdeps/unix/sysv/linux/configure: Regenerated.
38755         * sysdeps/unix/sysv/linux/kernel-features.h
38756         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38757         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38758         version.
38759         (__ASSUME_UTIMES): Likewise.
38760         (__ASSUME_CLONE_STOPPED): Remove.
38761         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38762         architectures, not kernel version.
38763         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38764         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38765         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38766         (__ASSUME_WAITID_SYSCALL): Likewise.
38767         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38768         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38769         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38770         refer to older versions.
38772 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38774         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38775         Define alphasort64 as an alias.
38776         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38777         Define versionsort64 as an alias.
38778         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38779         Define scandir64 as an alias.
38780         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38781         Define scandirat64 as an alias.
38782         * dirent/alphasort64.c (alphasort64):
38783         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38784         * dirent/versionsort64.c: Likewise.
38785         * dirent/scandir64.c: Likewise.
38786         * dirent/scandirat64.c: Likewise.
38787         * sysdeps/wordsize-64/alphasort.c: File removed.
38788         * sysdeps/wordsize-64/alphasort64.c: File removed.
38789         * sysdeps/wordsize-64/scandir.c: File removed.
38790         * sysdeps/wordsize-64/scandir64.c: File removed.
38791         * sysdeps/wordsize-64/scandirat.c: File removed.
38792         * sysdeps/wordsize-64/scandirat64.c: File removed.
38793         * sysdeps/wordsize-64/versionsort.c: File removed.
38794         * sysdeps/wordsize-64/versionsort64.c: File removed.
38795         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38796         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38797         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38798         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38799         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38800         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38801         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38802         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38804         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38805         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38806         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38807         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38808         [defined __arch64__ || defined __sparcv9]
38809         (__INO_T_MATCHES_INO64_T): New macro.
38810         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38811         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38812         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38813         * sysdeps/unix/sysv/linux/bits/dirent.h
38814         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38815         (_DIRENT_MATCHES_DIRENT64): New macro.
38817         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38818         Define lockf64 as an alias.
38819         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38820         Define fseeko64 as an alias.
38821         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38822         Define ftello64 as an alias.
38823         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38824         Define _IO_fgetpos64 and fgetpos64 as aliases.
38825         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38826         Define _IO_fsetpos64 and fsetpos64 as aliases.
38827         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38828         Conditionalize body on this.
38829         * libio/fseeko64.c: Likewise.
38830         * libio/ftello64.c: Likewise.
38831         * libio/iofgetpos64.c: Likewise.
38832         * libio/iofsetpos64.c: Likewise.
38833         * sysdeps/wordsize-64/lockf.c: File removed.
38834         * sysdeps/wordsize-64/lockf64.c: File removed.
38835         * sysdeps/wordsize-64/fseeko.c: File removed.
38836         * sysdeps/wordsize-64/fseeko64.c: File removed.
38837         * sysdeps/wordsize-64/ftello.c: File removed.
38838         * sysdeps/wordsize-64/ftello64.c: File removed.
38839         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38840         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38841         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38842         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38843         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38844         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38845         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38846         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38847         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38848         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38849         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38850         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38851         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38852         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38854         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38855         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38856         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38857         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38858         [defined __arch64__ || defined __sparcv9]
38859         (__OFF_T_MATCHES_OFF64_T): New macro.
38860         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38861         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38862         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38863         (__OFF_T_MATCHES_OFF64_T): New macro.
38865 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38867         * stdlib/secure-getenv.c (__secure_getenv): Replace
38868         GLIBC_2_16 with GLIBC_2_17.
38870 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38872         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38873         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38875 2012-08-03  David S. Miller  <davem@davemloft.net>
38877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38879 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38881         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38882         Remove.
38883         (__ASSUME_CORRECT_SI_PID): Likewise.
38884         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38885         (__ASSUME_TMPFS_NAME): Likewise.
38886         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38887         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38888         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38889         (HAVE_AUX_SECURE): Make definition unconditional.
38890         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38891         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38893 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38895         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38896         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38897         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38898         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38899         __eloop_threshold instead of SYMLOOP_MAX.
38901         * sysdeps/generic/eloop-threshold.h: New file.
38902         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38903         of MAXSYMLINKS.
38904         * elf/chroot_canon.c (chroot_canon): Likewise.
38906 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38908         [BZ #13717]
38909         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38910         Change to 2.6.0 everywhere.
38911         * sysdeps/unix/sysv/linux/configure: Regenerated.
38912         * sysdeps/unix/sysv/linux/kernel-features.h
38913         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38914         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38915         kernel versions.
38916         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38917         (__ASSUME_FUTEX_REQUEUE): Remove.
38918         (__ASSUME_STATFS64): Define unconditionally.
38919         (__ASSUME_AT_SECURE): Likewise.
38920         (__ASSUME_CORRECT_SI_PID): Likewise.
38921         (__ASSUME_TGKILL): Define without depending on kernel version for
38922         i386.
38923         (__ASSUME_UTIMES): Likewise.
38924         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38925         kernel version.
38926         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38927         (__ASSUME_TMPFS_NAME): Likewise.
38928         * README: Update reference to Linux kernel versions.
38930 2012-08-02  Marek Polacek  <polacek@redhat.com>
38932         [BZ# 14150]
38933         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38934         libc_cv_asm_type_prefix with %.
38935         * configure: Regenerated.
38936         * include/libc-symbols.h: Remove comment about
38937         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38938         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38939         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38940         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38941         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38942         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38943         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38944         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38945         * elf/tst-unique2mod1.c: Likewise.
38946         * elf/tst-unique1mod2.c: Likewise.
38947         * elf/tst-unique1mod1.c: Likewise.
38948         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38949         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38950         Replace ASM_TYPE_DIRECTIVE with .type.
38951         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38952         * sysdeps/i386/sysdep.h: Likewise.
38953         * sysdeps/x86_64/sysdep.h: Likewise.
38954         * sysdeps/sh/sysdep.h: Likewise.
38955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38956         Do not define ASM_TYPE_DIRECTIVE.
38957         * sysdeps/powerpc/sysdep.h: Likewise.
38958         * sysdeps/powerpc/powerpc32/sysdep.h:
38959         Replace ASM_TYPE_DIRECTIVE with .type.
38960         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38961         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38962         * sysdeps/i386/fpu/e_powf.S: Likewise.
38963         * sysdeps/i386/fpu/e_expl.S: Likewise.
38964         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38965         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38966         * sysdeps/i386/fpu/e_pow.S: Likewise.
38967         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38968         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38969         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38970         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38971         * sysdeps/i386/fpu/e_log2.S: Likewise.
38972         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38973         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38974         * sysdeps/i386/fpu/e_powl.S: Likewise.
38975         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38976         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38977         * sysdeps/i386/fpu/e_logl.S: Likewise.
38978         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38979         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38980         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38981         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38982         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38983         * sysdeps/i386/fpu/e_log.S: Likewise.
38984         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38985         * sysdeps/i386/fpu/e_logf.S: Likewise.
38986         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38987         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38988         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38989         * sysdeps/i386/fpu/e_log10.S: Likewise.
38990         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38991         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38992         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38993         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38994         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38995         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38996         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38997         * sysdeps/i386/i686/strtok.S: Likewise.
38998         * sysdeps/i386/i386-mcount.S: Likewise.
38999         * sysdeps/i386/strtok.S: Likewise.
39000         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39001         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39002         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39003         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39004         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39005         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39006         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39007         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39008         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39009         * sysdeps/x86_64/_mcount.S: Likewise.
39010         * sysdeps/x86_64/strtok.S: Likewise.
39011         * sysdeps/sh/_mcount.S: Likewise.
39013 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39015         * libio/iofopen.c: Include <fcntl.h>.
39016         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39017         (_IO_fopen64, fopen64): Define as aliases.
39018         * libio/iofopen64.c: Include <fcntl.h>.
39019         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39020         Conditionalize body on this.
39021         * sysdeps/wordsize-64/iofopen.c: File removed.
39022         * sysdeps/wordsize-64/iofopen64.c: File removed.
39024 2012-08-01  Marek Polacek  <polacek@redhat.com>
39026         * libc/Makeconfig: Use elf in place of binfmt-subdir.
39027         Use dlfcn directly instead of a variable.
39028         (binfmt-subdir): Do not define.
39029         (dlfcn): Likewise.
39031 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
39033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39034         Remove all definitions.
39035         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39036         <kernel-features.h>.
39037         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39038         (miss_F_GETOWN_EX): Remove all definitions.
39039         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39040         macro definition.
39041         [!__ASSUME_FCNTL64]: Remove conditional code.
39042         [__ASSUME_FCNTL64]: Make code unconditional.
39043         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39044         <kernel-features.h>.
39045         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39046         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39047         (lockf64) [__NR_fcntl64]: Make code unconditional.
39048         (lockf64) [__ASSUME_FCNTL64]: Likewise.
39050         * sysdeps/unix/sysv/linux/kernel-features.h
39051         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39052         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39053         Make code unconditional.
39054         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39055         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39057         [__NR_vfork]: Make code unconditional.
39058         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39059         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39061         [__NR_vfork]: Make code unconditional.
39062         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39063         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39065 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39067         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39068         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39070         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39071         Define mkstemp64 as an alias.
39072         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39073         Define mkstemps64 as an alias.
39074         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39075         Define mkostemp64 as an alias.
39076         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39077         Define mkostemps64 as an alias.
39078         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39079         Conditionalize body on this.
39080         * misc/mkostemp64.c: Likewise.
39081         * misc/mkostemps64.c: Likewise.
39082         * misc/mkstemps64.c: Likewise.
39083         * sysdeps/wordsize-64/mkstemp64.c: File removed.
39084         * sysdeps/wordsize-64/mkostemp64.c: File removed.
39085         * sysdeps/wordsize-64/mkostemp.c: File removed.
39086         * sysdeps/wordsize-64/mkstemp.c: File removed.
39087         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39088         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39089         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39090         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39092         [BZ #14138]
39093         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39094         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39095         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39096         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39098         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39099         compat_symbol macros from <shlib-compat.h> rather than the underlying
39100         default_symbol_version and symbol_version macros, so that DEFAULT
39101         lines in shlib-versions are respected.
39102         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39104 2012-08-01  Florian Weimer  <fweimer@redhat.com>
39106         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39107         Declare with warn_unused_result.
39108         (setgid, setregid, setegid, setresgid): Likewise.
39109         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39110         Likewise.
39111         * WUR-REPORT: Remove set*id functions.
39113 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
39115         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39117 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39119         [BZ #10191]
39120         * include/sys/socket.h (__libc_accept, __libc_accept4):
39121         Add attribute_hidden.
39122         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39124         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39125         use of PTR_MANGLE.
39126         * inet/getnetgrent_r.c (setup): Likewise.
39128         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39130 2012-07-31  David S. Miller  <davem@davemloft.net>
39132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39134 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39136         [BZ #13629]
39137         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39138         value between 1.0 and 2.0 and smaller part has absolute value less
39139         than 1.0.
39140         * math/s_clog10.c (__clog10): Likewise.
39141         * math/s_clog10f.c (__clog10f): Likewise.
39142         * math/s_clog10l.c (__clog10l): Likewise.
39143         * math/s_clogf.c (__clogf): Likewise.
39144         * math/s_clogl.c (__clogl): Likewise.
39145         * math/libm-test.inc (clog_test): Add more tests.
39146         (clog10_test): Likewise.
39147         * sysdeps/i386/fpu/libm-test-ulps: Update.
39148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39150 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39152         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39153         Exit with zero in case no suitable GID is found, and write a
39154         message to standard error.
39156 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39158         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39159         rather than to 1.
39160         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39161         (MAXPATHLEN): Removed.
39162         (NOGROUP, NODEV): New macros.
39163         (setbit, clrbit, isset, isclr): New macros.
39164         (howmany, roundup, powerof2): New macros.
39165         (DEV_BSIZE): New macro.
39167         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39168         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39170         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39171         definition on [!__NO_LONG_DOUBLE_MATH].
39173         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39174         PTR_MANGLE and PTR_DEMANGLE.
39176         * socket/accept4.c (accept4): Rename to __libc_accept4.
39177         Define accept4 as a weak alias.
39179         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39180         on [_DIRENT_HAVE_D_TYPE].
39181         * io/ftw.c (ftw_dir): Likewise.
39183         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39185         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39187         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39188         Use the BSD numbers rather than the arbitrary ones we had.
39189         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39190         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39191         (SIGXCPU, SIGXFSZ): New macros.
39192         (_NSIG): Now 32.
39194         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39195         initializer on [_LIBC_REENTRANT].
39197         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39198         definitions inside [_POSIX_MAPPED_FILES].
39200         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39202         * dirent/opendir.c: Include <fcntl.h>.
39204         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39205         (__libc_getspecific): Likewise.
39206         (__libc_key_create): Likewise.
39208         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39209         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39210         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39211         (tmpfile64): Define as alias.
39212         * sysdeps/wordsize-64/tmpfile.c: File removed.
39213         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39214         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39215         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39217         * stdio-common/vfscanf.c: Include <stdbool.h>.
39218         * nss/makedb.c: Likewise.
39219         * stdio-common/_i18n_number.h: Likewise.
39220         * argp/argp-help.c: Likewise.
39221         * posix/wordexp.c: Likewise.
39222         * sysdeps/posix/spawni.c: Likewise.
39223         * nss/nss_files/files-initgroups.c: Likewise.
39224         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39225         * nss/nss_files/files-initgroups.c: Likewise.
39226         * nss/nss_db/db-netgrp.c: Likewise.
39227         * nss/nss_db/db-initgroups.c: Likewise.
39228         * io/fchmodat.c: Include <sys/stat.h>.
39230         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39231         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39233         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39234         [HAVE_MMAP].
39236         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39237         Add multiple inclusion protection.
39239 2012-07-27  David S. Miller  <davem@davemloft.net>
39241         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39243 2012-07-27  Gary Benson  <gbenson@redhat.com>
39245         [BZ #14298]
39246         * elf/rtld.c: Include <stap-probe.h>.
39247         (dl_main): Added static probes "init_start" and "init_complete".
39248         * elf/dl-load.c: Include <stap-probe.h>.
39249         (lose): Take new parameter "nsid".
39250         Added static probe "map_failed".
39251         (_dl_map_object_from_fd): Pass namespace id to lose.
39252         Added static probe "map_start".
39253         (open_verify): Pass namespace id to lose.
39254         * elf/dl-open.c: Include <stap-probe.h>.
39255         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39256         and "reloc_complete".
39257         * elf/dl-close.c: Include <stap-probe.h>.
39258         (_dl_close_worker): Added static probes "unmap_start" and
39259         "unmap_complete".
39260         * elf/rtld-debugger-interface.txt: New file documenting the above.
39262 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39264         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39265         rather than a string variable.
39266         * sunrpc/rpc_main.c (h_output): Likewise.
39267         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39269 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39271         * inet/check_native.c: New file.
39273 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39275         [BZ #13629]
39276         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39277         if larger part has absolute value 1.0.
39278         * math/s_clog10.c (__clog10): Likewise.
39279         * math/s_clog10f.c (__clog10f): Likewise.
39280         * math/s_clog10l.c (__clog10l): Likewise.
39281         * math/s_clogf.c (__clogf): Likewise.
39282         * math/s_clogl.c (__clogl): Likewise.
39283         * math/libm-test.inc (clog_test): Add more tests.
39284         (clog10_test): Likewise.
39285         * sysdeps/i386/fpu/libm-test-ulps: Update.
39286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39288         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39289         (pltexit): Likewise.
39290         (La_regs): Likewise.
39291         (La_retval): Likewise.
39292         (int_retval): Likewise.
39293         Update #error for removed macros to refer only to definitions in
39294         tst-audit.h.
39295         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39296         macro.
39297         (pltexit): Likewise.
39298         (La_regs): Likewise.
39299         (La_retval): Likewise.
39300         (int_retval): Likewise.
39301         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39302         macro.
39303         (pltexit): Likewise.
39304         (La_regs): Likewise.
39305         (La_retval): Likewise.
39306         (int_retval): Likewise.
39307         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39308         macro.
39309         (pltexit): Likewise.
39310         (La_regs): Likewise.
39311         (La_retval): Likewise.
39312         (int_retval): Likewise.
39313         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39314         macro.
39315         (pltexit): Likewise.
39316         (La_regs): Likewise.
39317         (La_retval): Likewise.
39318         (int_retval): Likewise.
39319         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39320         macro.
39321         (pltexit): Likewise.
39322         (La_regs): Likewise.
39323         (La_retval): Likewise.
39324         (int_retval): Likewise.
39325         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39326         macro.
39327         (pltexit): Likewise.
39328         (La_regs): Likewise.
39329         (La_retval): Likewise.
39330         (int_retval): Likewise.
39331         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39332         macro definitions in tst-audit.h.
39333         * sysdeps/i386/tst-audit.h: New file.
39334         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39335         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39336         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39337         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39338         * sysdeps/sh/tst-audit.h: Likewise.
39339         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39340         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39341         * sysdeps/x86_64/tst-audit.h: Likewise.
39343 2012-07-26  Andreas Jaeger  <aj@suse.de>
39345         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39346         ptrace.
39348         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39349         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39350         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39351         PTRACE_O_MASK.
39352         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39353         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39354         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39356         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39357         value.
39359         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39360         _sigsys.
39361         (si_call_addr, si_syscall, si_arch): Define new macro.
39362         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39363         _sigsys.
39364         (si_call_addr, si_syscall, si_arch): Define new marcro.
39365         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39366         _sigsys.
39367         (si_call_addr, si_syscall, si_arch): Define new macro.
39368         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39369         _sigsys.
39370         (si_call_addr, si_syscall, si_arch): Define new macro.
39372 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39374         [BZ #13717]
39375         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39376         Change to 2.4.21 where previously 2.4.1.
39377         * sysdeps/unix/sysv/linux/configure: Regenerated.
39378         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39379         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39380         Linux kernel version.
39381         (__ASSUME_STD_AUXV): Remove.
39382         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39383         kernel version.
39384         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39385         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39386         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39387         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39388         (__ASSUME_NETLINK_SUPPORT): Likewise.
39389         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39390         (__no_netlink_support): Remove conditional definition.
39391         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39392         Remove.
39393         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39394         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39395         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39396         (if_nameindex_ioctl): Remove.
39397         (if_nameindex_netlink): Do not handle __no_netlink_support.
39398         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39399         code.
39400         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39401         Remove conditional code.
39402         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39403         code.
39404         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39405         unconditional.
39406         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39407         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39408         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39409         Remove.
39410         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39411         [!__ASSUME_STD_AUXV]: Remove conditional code.
39412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39413         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39414         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39416         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39417         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39418         code.
39419         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39421         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39422         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39423         conditional code.
39424         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39426         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39427         code.
39428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39429         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39430         conditional code.
39431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39432         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39433         code unconditional.
39434         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39435         conditional code.
39436         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39437         unconditional.
39438         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39439         conditional code.
39440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39441         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39442         unconditional.
39443         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39444         conditional code.
39445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39446         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39447         code unconditional.
39448         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39449         conditional code.
39450         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39451         unconditional.
39452         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39453         conditional code.
39454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39455         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39456         code unconditional.
39457         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39458         conditional code.
39459         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39460         unconditional.
39461         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39462         conditional code.
39464 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39466         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39467         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39468         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39469         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39470         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39471         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39472         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39473         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39474         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39475         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39476         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39477         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39478         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39479         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39480         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39481         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39482         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39483         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39484         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39486         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39487         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39488         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39490 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39492         * Versions.def: Add GLIBC_2.17.
39493         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39494         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39495         Introduce __libc_secure_getenv.
39496         * stdlib/Versions (2.17): Add secure_getenv
39497         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39498         * stdlib/secure-getenv.c: Rename __secure_getenv to
39499         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39500         symbol __secure_getenv for GLIBC_2.0.
39501         * stdlib/tst-secure-getenv.c: New.
39502         * stdlib/Makefile (tests): Add testcase.
39503         * manual/startup.texi (Environment Access): Document
39504         secure_getenv.
39505         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39506         __libc_secure_getenv.
39507         * inet/ruserpass.c (ruserpass): Likewise.
39508         * malloc/mtrace.c (mtrace): Likewise.
39509         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39510         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39511         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39512         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39513         HAVE_SECURE_GETENV.
39514         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39515         __secure_getenv to __libc_secure_getenv.
39516         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39518         Likewise.
39519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39520         Likewise.
39521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39523         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39526         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39529 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39531         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39532         (struct La_i86_retval): Likewise.
39533         (struct La_x86_64_regs): Likewise.
39534         (struct La_x86_64_retval): Likewise.
39535         (struct La_x32_regs): Likewise.
39536         (struct La_x32_retval): Likewise.
39537         (struct La_ppc32_regs): Likewise.
39538         (struct La_ppc32_retval): Likewise.
39539         (struct La_ppc64_regs): Likewise.
39540         (struct La_ppc64_retval): Likewise.
39541         (struct La_sh_regs): Likewise.
39542         (struct La_sh_retval): Likewise.
39543         (struct La_s390_32_regs): Likewise.
39544         (struct La_s390_32_retval): Likewise.
39545         (struct La_s390_64_regs): Likewise.
39546         (struct La_s390_64_retval): Likewise.
39547         (struct La_sparc32_regs): Likewise.
39548         (struct La_sparc32_retval): Likewise.
39549         (struct La_sparc64_regs): Likewise.
39550         (struct La_sparc64_retval): Likewise.
39551         (struct audit_ifaces): Remove architecture-specific pltenter and
39552         pltexit members.
39553         * sysdeps/i386/ldsodefs.h: New file.
39554         * sysdeps/powerpc/ldsodefs.h: Likewise.
39555         * sysdeps/s390/ldsodefs.h: Likewise.
39556         * sysdeps/sh/ldsodefs.h: Likewise.
39557         * sysdeps/sparc/ldsodefs.h: Likewise.
39558         * sysdeps/x86_64/ldsodefs.h: Likewise.
39560 2012-07-25  Marek Polacek  <polacek@redhat.com>
39562         [BZ #6808]
39563         * math/libm-test.inc (yn_test): Add another test.
39564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39565         to ERANGE when the result is +-Inf.
39566         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39567         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39568         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39569         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39571 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39573         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39574         equal to 0.
39575         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39576         clock_t.
39577         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39579 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39581         * configure.in <sysdeps resolving>: Correct printing
39582         Implies_before.
39583         * configure: Regenerate.
39585 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39587         * math/w_ilogb.c: Include <limits.h>.
39588         * math/w_ilogbl.c: Likewise.
39590 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39592         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39593         va_copy.  Document allowing for unavailable va_copy only as
39594         pre-C99 compatibility.
39595         * manual/string.texi (Copying and Concatenation): Use va_copy
39596         instead of __va_copy in concat example.
39598 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39600         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39601         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39602         it if not null.
39604         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39605         with O_NOLINK passed to __file_name_lookup.
39607         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39608         with O_NOLINK passed to __file_name_lookup.
39610         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39611         negative N or less than NGIDS.
39613         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39614         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39615         enough.  Use memcpy instead of strncpy.
39617 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39619         * elf/Makefile (check-data): Remove.
39620         (localplt.data): New vpath directive.
39621         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39622         instead of $(check-data).
39623         * scripts/data/localplt-generic.data: Move to ...
39624         * sysdeps/generic/localplt.data: ... here.
39625         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39626         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39627         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39629         ... here.
39630         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39632         ... here.
39633         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39635         ... here.
39636         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39638         ... here.
39639         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39641         ... here.
39642         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39644         ... here.
39646 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39648         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39649         PPC32 and PPC64 files.
39650         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39651         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39653 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39655         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39656         __makecontext_ret to ...
39657         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39658         ... here and call exit if uc_link is NULL.  New file.
39659         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39660         __makecontext_ret.S.
39661         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39662         __makecontext_ret to ...
39663         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39664         ... here and call exit if uc_link is NULL.  New file.
39665         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39666         __makecontext_ret.S.
39668 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39670         * elf/elf.h (R_390_IRELATIVE): New definition.
39671         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39672         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39673         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39674         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39675         (elf_machine_lazy_rel): Likewise.
39676         * sysdeps/s390/dl-irel.h: New file.
39677         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39678         * sysdeps/s390/s390-64/memset.S: New asm code.
39679         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39680         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39681         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39682         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39683         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39684         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39685         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39686         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39687         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39688         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39689         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39690         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39691         * sysdeps/s390/s390-32/memset.S: New asm code.
39692         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39694 2012-07-17  Marek Polacek  <polacek@redhat.com>
39696         [BZ #14349]
39697         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39698         * sysdeps/s390/s390-64/configure.in: Likewise.
39699         * sysdeps/sparc/configure.in: Likewise.
39700         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39701         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39702         * sysdeps/i386/configure.in: Likewise.
39703         * sysdeps/x86_64/configure.in: Likewise.
39704         * sysdeps/sh/configure.in: Likewise.
39705         * sysdeps/s390/s390-32/configure: Regenerated.
39706         * sysdeps/s390/s390-64/configure: Likewise.
39707         * sysdeps/x86_64/configure: Likewise.
39708         * sysdeps/sh/configure: Likewise.
39709         * sysdeps/powerpc/powerpc64/configure: Likewise.
39710         * sysdeps/powerpc/powerpc32/configure: Likewise.
39711         * sysdeps/sparc/configure: Likwise.
39712         * sysdeps/i386/configure: Likewise.
39714         * elf/dl-open.c: Comment fixes.
39716 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39718         * Makefile [CXX] (check-data): Remove.
39719         [CXX] (c++-types.data): New vpath directive.
39720         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39721         vpath.  Do not allow for C++ type data being missing.
39722         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39723         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39724         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39725         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39726         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39727         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39728         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39730         ... here.
39731         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39733         ... here.
39734         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39736         ... here.
39737         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39739         ... here.
39740         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39741         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39742         ... here.
39743         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39744         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39745         ... here.
39746         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39747         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39748         ... here.
39749         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39752         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39753         definitions to architecture-specific files.
39754         (TLS_IE): Likewise.
39755         (TLS_LD): Likewise.
39756         (TLS_GD): Likewise.
39757         * sysdeps/i386/tls-macros.h: New file.
39758         * sysdeps/powerpc/tls-macros.h: Likewise.
39759         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39760         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39761         * sysdeps/sh/tls-macros.h: Likewise.
39762         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39763         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39764         * sysdeps/x86_64/tls-macros.h: Likewise.
39766 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39768         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39769         zero value for regular exit case.
39771         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39772         (__start_context): Preserve zero value for regular exit case.
39774 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39775             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39777         * manual/setjmp.texi (setcontext): Clarify normal process
39778         termination when uc_link is the null pointer.
39779         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39780         exit call.
39782 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39784         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39785         preprocessor.  Test for each exception mask separately.
39787 2012-07-16  Andreas Jaeger  <aj@suse.de>
39789         * po/ru.po: Update from translation team.
39791 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39793         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39794         equal to 0.
39795         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39796         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39797         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39798         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39799         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39801 2012-07-13  Andreas Jaeger  <aj@suse.de>
39803         * po/fr.po: Update from translation team.
39805 2012-07-12  Marek Polacek  <polacek@redhat.com>
39807         [BZ #14173]
39808         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39809         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39810         loop condition.
39812 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39814         [BZ #13717]
39815         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39816         Change to 2.4.1 where previously 2.4.0.
39817         * sysdeps/unix/sysv/linux/configure: Regenerated.
39818         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39819         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39820         version.
39821         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39822         (__ASSUME_AT_CLKTCK): Remove.
39823         (__ASSUME_AT_PAGESIZE): Likewise.
39824         (__ASSUME_AT_XID): Likewise.
39825         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39826         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39827         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39828         unconditionally.
39829         (HAVE_AUX_PAGESIZE): Likewise.
39830         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39831         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39832         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39834 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39836         [BZ #14307]
39837         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39838         the temporary buffer used to invoke __gethostbyname2_r,
39839         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39840         host_data / struct gaih_addrtuple.
39841         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39842         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39843         header file nss/nsswitch.h.
39844         * nss/nsswitch.h (global scope): Add definition of implementation
39845         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39846         resolv/nss_dns/dns-host.c).
39848 2012-07-11  Andreas Jaeger  <aj@suse.de>
39850         * po/fr.po: Update from translation team.
39852         * po/sv.po: Update from translation team
39853         * po/fr.po: Another update from translation team.
39855 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39857         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39858         for subnormals or multiply small sinh result by itself.
39859         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39860         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39862 2012-07-11  David S. Miller  <davem@davemloft.net>
39864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39866 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39868         [BZ #14347]
39869         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39870         (INTERNAL_MARK): Shift it here.
39872 2012-07-10  Marek Polacek  <polacek@redhat.com>
39874         [BZ #14151]
39875         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39876         libc_cv_asm_global_directive with .globl.
39877         * configure: Regenerated.
39878         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39879         with .globl.
39880         * sysdeps/i386/configure: Regenerated.
39881         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39882         with .globl.
39883         * sysdeps/x86_64/configure: Regenerated.
39884         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39885         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39886         * elf/tst-unique2mod2.c: Likewise.
39887         * elf/tst-unique2mod1.c: Likewise.
39888         * elf/tst-unique1mod2.c: Likewise.
39889         * elf/tst-unique1mod1.c: Likewise.
39890         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39891         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39892         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39893         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39894         * sysdeps/mach/sysdep.h: Likewise.
39895         * sysdeps/i386/sysdep.h: Likewise.
39896         * sysdeps/i386/i386-mcount.S: Likewise.
39897         * sysdeps/x86_64/_mcount.S: Likewise.
39898         * sysdeps/x86_64/sysdep.h: Likewise.
39899         * sysdeps/sh/_mcount.S: Likewise.
39900         * sysdeps/sh/sysdep.h: Likewise.
39901         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39902         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39903         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39904         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39905         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39906         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39907         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39908         * locale/localeinfo.h: Likewise.
39909         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39910         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39912 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39914         [BZ #14336]
39915         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39916         system".
39917         * manual/message.texi (The Uniforum approach): Likewise.
39918         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39919         (glibc iconv Implementation): Likewise.
39921 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39923         [BZ #14337]
39924         * math/s_clog.c (__clog): Avoid scaling a value down where that
39925         could result in underflow.
39926         * math/s_clog10.c (__clog10): Likewise.
39927         * math/s_clog10f.c (__clog10f): Likewise.
39928         * math/s_clog10l.c (__clog10l): Likewise.
39929         * math/s_clogf.c (__clogf): Likewise.
39930         * math/s_clogl.c (__clogl): Likewise.
39931         * math/libm-test.inc (clog_test): Add more tests.
39932         (clog10_test): Likewise.
39933         * sysdeps/i386/fpu/libm-test-ulps: Update.
39934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39936 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39938         [BZ #14283]
39939         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39940         by 7 not 8 to examine high bit of fractional part.
39942         [BZ #14042]
39943         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39944         for call to __mcount_internal.
39945         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39946         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39947         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39949 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39951         [BZ #14154]
39952         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39953         approximation for values within 0x1p-13f of an odd multiple of
39954         pi/4.
39955         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39956         exception.  Add more tests.
39957         * sysdeps/i386/fpu/libm-test-ulps: Update.
39959         [BZ #6778]
39960         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39961         inputs and return -1 for them.  Do not check for +Inf in case not
39962         reachable for +Inf.
39963         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39964         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39965         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39966         and return -1 for them.  Do not check for +Inf in case not
39967         reachable for +Inf.
39968         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39969         define.
39970         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39971         and return -1 for them.  Do not check for +Inf in case not
39972         reachable for +Inf.
39973         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39974         spurious underflow.
39975         * sysdeps/i386/fpu/libm-test-ulps: Update.
39976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39978 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39980         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39982 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39984         [BZ #14157]
39985         [BZ #14331]
39986         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39987         could result in spurious underflow.  Scale down values above
39988         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39989         * math/s_csqrtf.c (__csqrtf): Likewise.
39990         * math/s_csqrtl.c (__csqrtl): Likewise.
39991         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39992         spurious underflow.
39993         * sysdeps/i386/fpu/libm-test-ulps: Update.
39994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39996 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39998         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39999         xopen-msg.sed.
40000         * catgets/xopen-msg.awk: New file.
40001         * catgets/xopen-msg.sed: Removed.
40003         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40004         po2text.sed.
40005         * intl/po2test.awk: New file.
40006         * intl/po2test.sed: Removed.
40008 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
40010         [BZ #14328]
40011         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40012         or multiply small sinh result by itself.
40013         * math/s_ctanf.c (__ctanf): Likewise.
40014         * math/s_ctanh.c (__ctanh): Likewise.
40015         * math/s_ctanhf.c (__ctanhf): Likewise.
40016         * math/s_ctanhl.c (__ctanhl): Likewise.
40017         * math/s_ctanl.c (__ctanl): Likewise.
40018         * math/libm-test.inc (ctan_test_tonearest): New function.
40019         (ctan_test_towardzero): Likewise.
40020         (ctan_test_downward): Likewise.
40021         (ctan_test_upward): Likewise.
40022         (ctanh_test_tonearest): Likewise.
40023         (ctanh_test_towardzero): Likewise.
40024         (ctanh_test_downward): Likewise.
40025         (ctanh_test_upward): Likewise.
40026         (main): Call these new functions.
40027         * sysdeps/i386/fpu/libm-test-ulps: Update.
40028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40030 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
40032         * .gitignore: Delete /ports entry.
40034 2012-07-03  Andreas Jaeger  <aj@suse.de>
40036         * po/bg.po: Update from translation team.
40037         * po/cs.po: Likewise.
40038         * po/de.po: Likewise.
40039         * po/hr.po: Likewise.
40040         * po/nl.pl: Likewise.
40041         * po/pl.po: Likewise.
40042         * po/vi.po: Likewise.
40044 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
40046         * Makeconfig [!+link] (+link-before-libc): New variable.
40047         [!+link] (+link-after-libc): Likewise.
40048         [!+link] (+link-tests): Likewise.
40049         [!+link] (+link): Define in terms of $(+link-before-libc) and
40050         $(+link-after-libc).
40051         [!+link-static] (+link-static-before-libc): New variable.
40052         [!+link-static] (+link-static-after-libc): Likewise.
40053         [!+link-static] (+link-static-tests): Likewise.
40054         [!+link-static] (+link-static): Define in terms of
40055         $(+link-static-before-libc) and $(+link-static-after-libc).
40056         [build-shared] (link-libc-before-gnulib): New variable.
40057         [build-shared] (link-libc-tests): Likewise.
40058         [build-shared] (link-libc): Define in terms of
40059         $(link-libc-before-gnulib).
40060         [!build-shared] (link-libc-tests): New variable.
40061         (link-libc-static-tests): New variable.
40062         [!gnulib] (gnulib-arch): New variable.
40063         [!gnulib] (gnulib-tests): Likewise.
40064         [!gnulib] (static-gnulib-arch): Likewise.
40065         [!gnulib] (static-gnulib-tests): Likewise.
40066         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
40067         Define with "=" instead of ":=".
40068         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
40069         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
40070         * Rules (binaries-all-notests): New variable.
40071         (binaries-all-tests): Likewise.
40072         (binaries-static-notests): Likewise.
40073         (binaries-static-tests): Likewise.
40074         (binaries-all): Define using $(binaries-all-notests) and
40075         $(binaries-all-tests).
40076         (binaries-static): Define using $(binaries-static-notests) and
40077         $(binaries-static-tests).
40078         (binaries-shared-tests): New variable.
40079         (binaries-shared-notests): Likewise.
40080         (binaries-shared): Remove variable.
40081         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40082         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40083         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40084         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40085         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40086         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40087         * elf/Makefile (sln-modules): New variable.
40088         (extra-objs): Add $(sln-modules:=.o).
40089         (ldconfig-modules): Add static-stubs.
40090         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40091         * elf/static-stubs.c: New file.
40093         [BZ #14283]
40094         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40095         by 7 not 8 to examine high bit of fractional part.  Use volatile
40096         variables when splitting into final array of floats if
40097         __FLT_EVAL_METHOD__ != 0.
40098         * math/libm-test.inc (cos_test): Add another test.
40099         (sin_test): Likewise.
40100         * sysdeps/i386/fpu/libm-test-ulps: Update.
40102         [BZ #14273]
40103         * math/libm-test.inc (cosh_test): Add more tests.
40105         * version.h (RELEASE): Set to "development".
40106         (VERSION): Set to "2.16.90".
40108 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
40110         * NEWS: Update copyright. Remove last-updated date.
40111         Mention math library bug fixes and timezone data changes.
40112         * README: Mention GNU/Hurd, x32, and HPPA support status.
40114 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40116         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40118 2012-06-27  Andreas Jaeger  <aj@suse.de>
40120         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40122 2012-06-25  Andreas Jaeger  <aj@suse.de>
40124         * sysdeps/s390/fpu/libm-test-ulps: Update.
40126 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40127             Thomas Schwinge  <thomas@codesourcery.com>
40129         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40130         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40131         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40132         fanotify_mark.
40134 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40136         * sysdeps/mach/start.c: Remove file.
40137         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40138         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40139         * sysdeps/sh/init-first.c: Likewise.
40141         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40142         registers for frame unwinding purposes, add CFI directives.
40143         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40144         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40145         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40146         Likewise.
40148         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40149         __fortify_fail returning.
40150         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40152         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40153         sysdeps/sh/____longjmp_chk.S.
40154         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40155         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40156         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40157         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40159         * sysdeps/sh/abort-instr.h: New file.
40160         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40161         process in case exit returns.
40163         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40164         initialize the GOT register before use.
40166         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40167         calculation of ARGC > 4.
40169         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40170         meaningful names to some local labels.
40172 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40173             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40175         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40176         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40177         (__arch_compare_and_exchange_val_16_acq): Likewise.
40178         (__arch_compare_and_exchange_val_32_acq): Likewise.
40179         (atomic_exchange_and_add): Fix gUSA sequence.
40180         (atomic_add): Likewise.
40181         (atomic_add_negative): Likewise.
40182         (atomic_add_zero): Likewise.
40183         (atomic_bit_test_set): Likewise.
40185 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40187         [BZ #13579]
40188         * include/link.h (struct link_map): Add l_free_initfini.
40189         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40190         l_initfini.
40191         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40192         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40193         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40194         set.
40196 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40198         * configure.in: Use AC_LANG_SOURCE.
40199         * configure: Regenerate.
40201 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40203         * configure.in (libc_cv_localstatedir): New substituted variable.
40204         * configure: Regenerated.
40205         * config.make.in (localstatedir): New variable, substituted from
40206         libc_cv_localstatedir.
40207         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40208         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40209         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40210         * sysdeps/gnu/configure: Regenerated.
40212 2012-06-21  Jeff Law  <law@redhat.com>
40214         [BZ #14277]
40215         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40216         free.  Simplify list management for _LIBC case.
40218 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40220         [BZ #14273]
40221         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40222         Clear sign bit of 64-bit integer value before comparing against
40223         overflow value.
40225         * sysdeps/mach/configure: Regenerated.
40227 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40229         [BZ #14278]
40230         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40232 2012-06-21  Jeff Law  <law@redhat.com>
40234         [BZ #13882]
40235         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40236         uint16_t for elements in the "seen" array to avoid char overflows.
40237         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40238         * elf/dl-open.c (dl_open_worker): Likewise.
40240 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40242         * scripts/list-sources.sh: Scan PORTS for translations.
40243         * po/libc.pot: Regenerated.
40245 2012-06-21  Andreas Jaeger  <aj@suse.de>
40247         [BZ #12194]
40248         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40249         warning.
40250         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40251         * bits/byteswap-16.h (__bswap_16): Likewise.
40252         * bits/byteswap.h (__bswap_constant_16): Likewise.
40254 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40256         [BZ #14117]
40257         * sysdeps/i386/fpu_control.h: Removed.
40258         * sysdeps/x86_64/fpu_control.h: Moved to ...
40259         * sysdeps/x86/fpu_control.h: Here.
40261         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40262         (_FPU_SETCW): Likewise.
40264 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40266         [BZ #14117]
40267         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40268         * sysdeps/x86/fpu/bits/mathinline.h: This.
40269         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40271         [BZ #14050]
40272         [BZ #14117]
40273         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40274         functions if __x86_64__ is defined.
40276 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40278         * string/endian.h: Add !__ASSEMBLER__ condition for including
40279         conversion interfaces.
40281 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40283         [BZ #14241]
40284         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40285         of ABS(x) in calculating zero to negative powers other than odd
40286         integers.
40287         * math/libm-test.inc (pow_test): Add more tests.
40289 2012-06-15  Andreas Jaeger  <aj@suse.de>
40291         * manual/contrib.texi (Contributors): Update entry of Liubov
40292         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40293         Machado Filho.
40295 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40297         * string/string.h: Add __wur to GNU version of strerror_r.
40299 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40301         [BZ #14229]
40302         * string/Makefile (tests): Add tst-strtok_r.
40303         * string/tst-strtok_r.c: New file.
40304         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40305         RAX_LP/RDX_LP on SAVE_PTR.
40307 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40309         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40311 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40313         * libm_test.inc (csqrt_test): Allow more spurious underflow
40314         exceptions.
40315         (j0_test): Likewise.
40316         (j1_test): Likewise.
40317         (y0_test): Likewise.
40318         (y1_test): Likewise.
40320 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40322         * po/Makefile (libc.pot): Use UTF-8 charset.
40324 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40326         [BZ #14210]
40327         Suppress sign-conversion warning from FD_SET.
40328         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40329         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40330         not unsigned long int.
40331         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40333 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40335         [BZ #14050]
40336         [BZ #14117]
40337         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40338         __extern_always_inline instead of __extern_inline.
40339         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40340         (__signbit): Likewise.
40341         (__signbitl): Support C++ namespace.
40342         (lrintf): New inline function.
40343         (lrint): Likewise.
40344         (llrintf): Likewise.
40345         (llrint): Likewise.
40346         (fmaxf): Likewise.
40347         (fmax): Likewise.
40348         (fminf): Likewise.
40349         (fmin): Likewise.
40350         (rint): Likewise.
40351         (rintf): Likewise.
40352         (ceil): Likewise.
40353         (ceilf): Likewise.
40354         (floor): Likewise.
40355         (floorf): Likewise.
40356         (nearbyint): Likewise.
40357         (nearbyintf): Likewise.
40359 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40361         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40362         non-default versions.
40364 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40366         [BZ #14218]
40367         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40369 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40371         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40372         (FE_UPWARD, FE_DOWNWARD): Don't define.
40373         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40374         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40376         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40377         reading it.
40378         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40379         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40381 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40383         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40384         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40385         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40386         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40388 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40390         [BZ #14117]
40391         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40392         * sysdeps/i386/fpu/Implies: New file.
40393         * sysdeps/x86_64/fpu/Implies: Likewise.
40394         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40395         * sysdeps/x86/fpu/bits/fenv.h: This.
40397         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40398         __SSE_MATH__.
40400 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40402         [BZ #14134]
40403         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40404         character 0xffff that matches the last element of the
40405         conversion table.
40407 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40409         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40410         fmodl commit.
40412 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40414         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40415         values higher than 25.6283.
40417 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40419         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40420         subnormal exponent extraction and add some __builtin_expect.
40421         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40422         Fix for subnormal mantissa calculation.
40424 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40426         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40427         cpu2 is -1 and errno is not ENOSYS.
40429 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40431         [BZ #14117]
40432         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40433         * sysdeps/x86/bits/string.h: This.
40434         * sysdeps/x86_64/bits/string.h: Removed.
40436         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40437         if not compiling for x86-64, but compiling for >= i486.
40439         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40440         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40442         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40443         New macro from Linux kernel 3.4.0.
40444         (FP_XSTATE_MAGIC2): Likewise.
40445         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40446         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40447         (struct _fpx_sw_bytes): New struct.
40448         (struct _xsave_hdr): Likewise.
40449         (struct _ymmh_state): Likewise.
40450         (struct _xstate): Likewise.
40452         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40453         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40454         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40455         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40456         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40457         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40459         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40460         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40461         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40462         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40463         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40464         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40466 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40468         [BZ #13743]
40469         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40470         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40471         (sysdep_headers): Include sys/platform/ppc.h.
40472         * sysdeps/powerpc/test-gettimebase.c: Test for
40473         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40474         * manual/Makefile (appendices): Include platform.texi.
40475         * manual/contrib.texi (Contributors): Update @node pointers.
40476         * manual/maint.texi (Maintenance): Likewise.
40477         (Platform): New node.
40478         * manual/platform.texi: New file.  Document the new features.
40480 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40481             Jakub Jelinek  <jakub@redhat.com>
40483         [BZ #14188]
40484         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40485         where __builtin_expect is unavailable.
40487 2012-06-03  David S. Miller  <davem@davemloft.net>
40489         * stdlib/longlong.h: Updated from GCC.
40491 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40493         [BZ #14042]
40494         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40495         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40496         __mcount_internal.
40497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40498         (GLIBC_2.16): Likewise.
40500 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40502         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40504 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40507         (default-abi): New variable.
40508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40509         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40510         variable.
40511         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40512         Likewise.
40513         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40514         Likewise.
40515         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40516         Likewise.
40518         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40519         definition.  Document in comment.
40521 2012-06-01  David S. Miller  <davem@davemloft.net>
40523         * stdlib/longlong.h: Updated from GCC.
40525 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40527         [BZ #14117]
40528         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40529         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40530         sys/debugreg.h sys/io.h here.
40531         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40532         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40533         sys/io.h.
40534         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40535         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40536         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40537         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40538         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40539         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40541         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40542         Define only if __x86_64__ is defined.
40544 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40546         [BZ #14048]
40547         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40548         Use int64_t for variable i.
40549         * math/libm-test.inc (fmod_test): Add more tests.
40551         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40552         z computation is not scheduled after fetestexcept.
40553         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40554         Use math_force_eval instead of asm to ensure calculation scheduled
40555         before exception test.
40556         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40557         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40559 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40562         computation is not scheduled after fetestexcept.
40564 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40566         [BZ #14117]
40567         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40568         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40570 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40572         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40573         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40575 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40577         [BZ #14117]
40578         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40579         <bits/wordsize.h>.
40580         (__WCHAR_MIN): Support __WORDSIZE == 64.
40581         (__WCHAR_MAX): Likewise.
40583         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40584         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40586         [BZ #14183]
40587         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40588         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40590         [BZ #14117]
40591         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40592         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40594         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40595         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40597         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40598         Defined to 1 if __x86_64__ isn't defined.
40599         (_STAT_VER_LINUX_OLD): New.
40600         (st_atime): Remove duplicate.
40601         (st_mtime): Likewise.
40602         (st_ctime): Likewise.
40604 2012-05-31  David S. Miller  <davem@davemloft.net>
40606         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40607         entries.
40609 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40611         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40612         gen-libm-test.pl.
40614         [BZ #14132]
40615         * elf/dl-reloc.c: Include <_itoa.h>.
40616         (_dl_reloc_bad_type): Remove use of INTUSE.
40617         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40618         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40619         * stdio-common/psiginfo.c (psiginfo): Likewise.
40620         * stdio-common/psignal.c (psignal): Likewise.
40621         * string/strsignal.c (strsignal): Likewise.
40622         * include/signal.h (_sys_siglist): Declare hidden proto.
40623         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40624         INTVARDEF with libc_hidden_data_def.
40625         * stdio-common/itoa-udigits.c: Likewise.
40626         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40627         (_itoa_lower_digits_internal): Remove declaration.
40628         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40629         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40630         (_sys_sigabbrev_internal): Remove aliases.
40631         (_sys_siglist): Define hidden alias.
40633 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40635         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40636         bits/sysctl.h.
40638 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40640         [BZ #14117]
40641         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40642         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40644         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40645         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40646         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40647         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40648         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40649         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40651         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40652         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40653         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40655         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40656         with __addr.
40657         (insw): Likewise.
40658         (insl): Likewise.
40659         (outsb): Likewise.
40660         (outsw): Likewise.
40661         (outsl): Likewise.
40663         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40664         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40665         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40667         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40668         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40669         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40670         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40671         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40672         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40674         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40675         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40677         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40678         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40680         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40681         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40682         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40684         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40685         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40686         to ...
40687         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40689         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40690         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40691         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40693         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40694         for x86-64.
40695         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40697 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40699         * math/math.h (M_El): Use two more decimal places.
40700         (M_LOG2El): Likewise.
40701         (M_LOG10El): Likewise.
40702         (M_LN2l): Likewise.
40703         (M_LN10l): Likewise.
40704         (M_PIl): Likewise.
40705         (M_PI_2l): Likewise.
40706         (M_PI_4l): Likewise.
40707         (M_1_PIl): Likewise.
40708         (M_2_PIl): Likewise.
40709         (M_2_SQRTPIl): Likewise.
40710         (M_SQRT2l): Likewise.
40711         (M_SQRT1_2l): Likewise.
40713 2012-05-31  David S. Miller  <davem@davemloft.net>
40715         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40716         values between float registers.
40717         * sysdeps/sparc/sparc64/memset.S: Likewise.
40718         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40720 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40722         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40723         -D_FORTIFY_SOURCE=1.
40724         (CPPFLAGS-tst-longjmp_chk.c): Define.
40725         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40726         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40727         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40728         CFLAGS-tst-wchar-h.c.
40730 2012-05-31  Marek Polacek  <polacek@redhat.com>
40732         [BZ #14132]
40733         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40734         __endmntent_internal): Remove declaration.
40735         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40736         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40737         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40739 2012-05-30  David S. Miller  <davem@davemloft.net>
40741         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40742         (___Q_simulate_exceptions): Use real FP ops rather than writing
40743         into the %fsr.
40744         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40745         Likewise.
40747 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40749         [BZ #14117]
40750         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40751         * sysdeps/x86/bits/xtitypes.h: This.
40753         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40754         * sysdeps/x86/bits/wordsize.h: This.
40756         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40757         * sysdeps/x86/bits/huge_vall.h: This.
40759         * sysdeps/i386/bits/select.h: Removed.
40760         * sysdeps/x86_64/bits/select.h: Renamed to ...
40761         * sysdeps/x86/bits/select.h: This.
40763         * sysdeps/i386/bits/setjmp.h: Removed.
40764         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40765         * sysdeps/x86/bits/setjmp.h: This.
40767         * sysdeps/i386/bits/mathdef.h: Removed.
40768         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40769         * sysdeps/x86/bits/mathdef.h: This.
40771 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40773         [BZ #14132]
40774         * include/sys/socket.h (__connect_internal)
40775         (__libc_sa_len_internal): Remove declaration.
40776         (__connect, __libc_sa_len): Declare hidden_proto.
40777         (SA_LEN): Remove use of INTUSE.
40778         * socket/connect.c: Add libc_hidden_def.
40779         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40780         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40781         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40782         alias.
40783         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40784         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40785         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40786         of adding _internal alias.
40788 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40790         [BZ #14117]
40791         * sysdeps/i386/bits/link.h: Removed.
40792         * sysdeps/i386/bits/linkmap.h: Likewise.
40793         * sysdeps/x86_64/bits/link.h: Renamed to ...
40794         * sysdeps/x86/bits/link.h: This.
40795         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40796         * sysdeps/x86/bits/linkmap.h: This.
40798         * sysdeps/i386/bits/endian.h: Removed.
40799         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40800         * sysdeps/x86/bits/endian.h: This.
40802         * sysdeps/i386/bits/byteswap.h: Removed.
40803         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40804         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40805         * sysdeps/x86/bits/byteswap.h: This.
40806         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40807         * sysdeps/x86/bits/byteswap-16.h: This.
40808         * sysdeps/i386/Implies: Add x86.
40809         * sysdeps/x86_64/Implies: Likewise.
40811 2012-05-30  David S. Miller  <davem@davemloft.net>
40813         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40814         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40815         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40816         (FP_TRAPPING_EXCEPTIONS): Define.
40817         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40818         (FP_TRAPPING_EXCEPTIONS): Define.
40819         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40820         subnormals only when inexact has been signalled or underflow
40821         exceptions are enabled.
40822         (_FP_PACK_CANONICAL): Likewise.
40824 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40826         [BZ #14183]
40827         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40828         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40830 2012-05-30  Richard Henderson  <rth@twiddle.net>
40832         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40833         with #ifndef NOT_IN_libc.
40835         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40836         marked to avoid plt entry.
40838 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40840         [BZ #14112]
40841         * Makeconfig (default-abi): New macro.
40842         (abi-includes): Likewise.
40843         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40844         $(abi-$(default-abi)-lib-soname) for soname if defined.
40845         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40846         abi-variants.
40847         * Makefile (installed-stubs): Likewise.
40848         * include/stubs-biarch.h: Removed.
40849         * scripts/lib-names.awk: Only handle one library at a time.
40850         * scripts/soversions.awk: Remove WORDSIZE support.
40851         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40852         entries.
40853         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40854         Removed.
40855         (syscall-list-default-condition): Likewise.
40856         (syscall-list-default-condition): Likewise.
40857         (syscall-list-includes): Likewise.
40858         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40859         syscall-list-* with abi-*.  Handle undefined abi-variants.
40860         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40861         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40862         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40863         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40864         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40865         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40866         Removed.
40867         (syscall-list-32-options): Likewise.
40868         (syscall-list-32-condition): Likewise.
40869         (syscall-list-64-options): Likewise.
40870         (syscall-list-64-condition): Likewise.
40871         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40872         macro.
40873         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40874         Renamed to ...
40875         (abi-*): This.
40876         (abi-64-ld-soname): New macro.
40877         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40878         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40879         Renamed to ...
40880         (abi-*): This.
40881         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40882         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40884 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40886         * sysdeps/unix/sysv/linux/kernel-features.h
40887         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40888         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40889         include <kernel-features.h>.
40890         [!__NR_ftruncate64]: Remove conditional code.
40891         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40892         [__NR_ftruncate64]: Make code unconditional.
40893         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40894         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40895         include <kernel-features.h>.
40896         [!__NR_ftruncate64]: Remove conditional code.
40897         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40898         [__NR_ftruncate64]: Make code unconditional.
40899         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40901         include <kernel-features.h>.
40902         [!__NR_ftruncate64]: Remove conditional code.
40903         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40904         [__NR_ftruncate64]: Make code unconditional.
40905         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40907         include <kernel-features.h>.
40908         [!__NR_ftruncate64]: Remove conditional code.
40909         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40910         [__NR_ftruncate64]: Make code unconditional.
40911         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40913         * configure.in (libc_cv_fpie): Weaken to a compile test using
40914         LIBC_TRY_CC_OPTION.
40915         * configure: Regenerated.
40917 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40921         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40923         Refreshed.
40924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40925         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40927         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40930         Refreshed.
40932 2012-05-27  David S. Miller  <davem@davemloft.net>
40934         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40935         (___Q_zero): New.
40936         (__Q_simulate_exceptions): Return void.  Change to simulate
40937         exceptions by writing into the %fsr.
40938         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40939         (__Qp_handle_exceptions): Likewise.
40940         (numbers): Delete.
40941         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40942         __Qp_handle_exceptions.
40943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40944         __Qp_handle_exceptions.
40945         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40946         as unused and give dummy FP_RND_NEAREST initializer.
40947         (FP_INHIBIT_RESULTS): Define.
40948         (___Q_simulate_exceptions): Update declaration.
40949         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40950         formatting.
40951         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40952         as unused and give dummy FP_RND_NEAREST initializer.
40953         (__Qp_handle_exceptions): Update declaration.
40954         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40955         formatting.
40957 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40959         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40960         the temporary FPU control word.
40961         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40962         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40963         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40964         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40965         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40966         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40967         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40968         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40969         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40970         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40971         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40973 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40975         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40976         fields.
40978 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40980         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40981         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40982         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40983         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40984         Likewise.
40985         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40986         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40987         Likewise.
40989 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40991         * po/h.po: Update from translation team.
40993 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40995         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40997         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40998         handling of denormals.
40999         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41000         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41001         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41002         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41003         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41004         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41005         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41006         Likewise.
41008 2012-05-26  Marek Polacek  <polacek@redhat.com>
41010         [BZ #14152]
41011         * math/libm-test.inc (fma_test): Don't always expect underflow
41012         exception.
41014 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41016         [BZ #12416]
41017         * elf/tst-execstack.c: Include stackinfo.h.
41018         (do_test): Adjust test case to ensure that pthread_getattr_np
41019         behaviour remains the same after marking stack executable.
41021 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41023         * sysdeps/unix/sysv/linux/kernel-features.h
41024         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41025         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41026         kernel-features.h.
41027         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41028         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41029         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41030         kernel-features.h.
41031         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41032         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41034 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
41036         * configure.in: Define the default includes to being none.
41037         * configure: Regenerated.
41039 2012-05-25  Roland McGrath  <roland@hack.frob.com>
41041         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41042         * sysdeps/x86_64/setjmp.S: Likewise.
41043         * sysdeps/i386/bsd-setjmp.S: Likewise.
41044         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41045         * sysdeps/i386/setjmp.S: Likewise.
41046         * sysdeps/i386/__longjmp.S: Likewise.
41047         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41048         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41050         * include/stap-probe.h: New file.
41051         * configure.in: Handle --enable-systemtap.
41052         * configure: Regenerated.
41053         * config.h.in (USE_STAP_PROBE): New #undef.
41054         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41055         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41056         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41058 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41060         [BZ #13717]
41061         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41062         to 2.4.0 where earlier.
41063         * sysdeps/unix/sysv/linux/configure: Regenerated.
41064         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41065         <kernel-features.h>.
41066         [__ASSUME_32BITUIDS]: Make code unconditional.
41067         [!__ASSUME_32BITUIDS]: Remove conditional code.
41068         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41069         <kernel-features.h>.
41070         [__ASSUME_32BITUIDS]: Make code unconditional.
41071         [!__ASSUME_32BITUIDS]: Remove conditional code.
41072         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41073         [__ASSUME_32BITUIDS]: Make code unconditional.
41074         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41075         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41076         <kernel-features.h>.
41077         [__ASSUME_32BITUIDS]: Make code unconditional.
41078         [!__ASSUME_32BITUIDS]: Remove conditional code.
41079         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41080         <kernel-features.h>.
41081         [__ASSUME_32BITUIDS]: Make code unconditional.
41082         [!__ASSUME_32BITUIDS]: Remove conditional code.
41083         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41084         <kernel-features.h>.
41085         [__ASSUME_32BITUIDS]: Make code unconditional.
41086         [!__ASSUME_32BITUIDS]: Remove conditional code.
41087         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41088         <kernel-features.h>.
41089         [__ASSUME_32BITUIDS]: Make code unconditional.
41090         [!__ASSUME_32BITUIDS]: Remove conditional code.
41091         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41092         <kernel-features.h>.
41093         [__ASSUME_32BITUIDS]: Make code unconditional.
41094         [!__ASSUME_32BITUIDS]: Remove conditional code.
41095         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41096         <kernel-features.h>.
41097         [__ASSUME_32BITUIDS]: Make code unconditional.
41098         [!__ASSUME_32BITUIDS]: Remove conditional code.
41099         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41100         <kernel-features.h>.
41101         [__ASSUME_32BITUIDS]: Make code unconditional.
41102         [!__ASSUME_32BITUIDS]: Remove conditional code.
41103         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41104         <kernel-features.h>.
41105         [__ASSUME_32BITUIDS]: Make code unconditional.
41106         [!__ASSUME_32BITUIDS]: Remove conditional code.
41107         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41108         <kernel-features.h>.
41109         [__ASSUME_32BITUIDS]: Make code unconditional.
41110         [!__ASSUME_32BITUIDS]: Remove conditional code.
41111         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41112         <kernel-features.h>.
41113         [__ASSUME_32BITUIDS]: Make code unconditional.
41114         [!__ASSUME_32BITUIDS]: Remove conditional code.
41115         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41116         <kernel-features.h>.
41117         [__NR_setresgid] (__setresgid): Do not declare.
41118         [__ASSUME_32BITUIDS]: Make code unconditional.
41119         [!__ASSUME_32BITUIDS]: Remove conditional code.
41120         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41121         <kernel-features.h>.
41122         [__NR_setresuid] (__setresuid): Do not declare.
41123         [__ASSUME_32BITUIDS]: Make code unconditional.
41124         [!__ASSUME_32BITUIDS]: Remove conditional code.
41125         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41126         <kernel-features.h>.
41127         [__ASSUME_32BITUIDS]: Make code unconditional.
41128         [!__ASSUME_32BITUIDS]: Remove conditional code.
41129         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41130         <kernel-features.h>.
41131         [__ASSUME_32BITUIDS]: Make code unconditional.
41132         [!__ASSUME_32BITUIDS]: Remove conditional code.
41133         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41134         <kernel-features.h>.
41135         [__ASSUME_32BITUIDS]: Make code unconditional.
41136         [!__ASSUME_32BITUIDS]: Remove conditional code.
41137         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41138         <kernel-features.h>.
41139         [__ASSUME_32BITUIDS]: Make code unconditional.
41140         [!__ASSUME_32BITUIDS]: Remove conditional code.
41141         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41142         <kernel-features.h>.
41143         [__ASSUME_32BITUIDS]: Make code unconditional.
41144         [!__ASSUME_32BITUIDS]: Remove conditional code.
41145         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41146         <kernel-features.h>.
41147         [__ASSUME_32BITUIDS]: Make code unconditional.
41148         [!__ASSUME_32BITUIDS]: Remove conditional code.
41149         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41150         <kernel-features.h>.
41151         [__ASSUME_32BITUIDS]: Make code unconditional.
41152         [!__ASSUME_32BITUIDS]: Remove conditional code.
41153         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41154         <kernel-features.h>.
41155         [__ASSUME_32BITUIDS]: Make code unconditional.
41156         [!__ASSUME_32BITUIDS]: Remove conditional code.
41157         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41158         <kernel-features.h>.
41159         [__ASSUME_32BITUIDS]: Make code unconditional.
41160         [!__ASSUME_32BITUIDS]: Remove conditional code.
41161         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41162         <kernel-features.h>.
41163         [__ASSUME_32BITUIDS]: Make code unconditional.
41164         [!__ASSUME_32BITUIDS]: Remove conditional code.
41165         * sysdeps/unix/sysv/linux/kernel-features.h
41166         (__ASSUME_SETRESUID_SYSCALL): Remove.
41167         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41168         (__ASSUME_32BITUIDS): Likewise.
41169         (__ASSUME_LDT_WORKS): Likewise.
41170         (__ASSUME_O_DIRECTORY): Likewise.
41171         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41172         architecture but not kernel version.
41173         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41174         (__ASSUME_MMAP2_SYSCALL): Likewise.
41175         (__ASSUME_STAT64_SYSCALL): Likewise.
41176         (__ASSUME_IPC64): Likewise.
41177         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41178         <kernel-features.h>.
41179         [__ASSUME_32BITUIDS]: Make code unconditional.
41180         [!__ASSUME_32BITUIDS]: Remove conditional code.
41181         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41182         <kernel-features.h>.
41183         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41184         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41185         132096]: Remove conditional code.
41186         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41187         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41188         <kernel-features.h>.
41189         [__ASSUME_32BITUIDS]: Make code unconditional.
41190         [!__ASSUME_32BITUIDS]: Remove conditional code.
41191         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41192         <kernel-features.h>.
41193         [__ASSUME_32BITUIDS]: Make code unconditional.
41194         [!__ASSUME_32BITUIDS]: Remove conditional code.
41195         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41196         <kernel-features.h>.
41197         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41198         unconditional.
41199         (__setresgid): Do not declare.
41200         [__ASSUME_32BITUIDS]: Make code unconditional.
41201         [!__ASSUME_32BITUIDS]: Remove conditional code.
41202         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41203         <kernel-features.h>.
41204         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41205         unconditional.
41206         (__setresuid): Do not declare.
41207         [__ASSUME_32BITUIDS]: Make code unconditional.
41208         [!__ASSUME_32BITUIDS]: Remove conditional code.
41209         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41210         <kernel-features.h>.
41211         [__ASSUME_32BITUIDS]: Make code unconditional.
41212         [!__ASSUME_32BITUIDS]: Remove conditional code.
41213         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41214         <kernel-features.h>.
41215         [__ASSUME_32BITUIDS]: Make code unconditional.
41216         [!__ASSUME_32BITUIDS]: Remove conditional code.
41218 2012-05-25  Richard Henderson  <rth@twiddle.net>
41220         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41221         dl_hwcap to ifunc resolver.
41222         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41223         elf_ifunc_invoke.
41224         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41225         dl_hwcap to ifunc resolver.
41226         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41228 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41230         [BZ #14153]
41231         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41232         for |x| <= 2**-26, not 2**-57.
41233         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41234         exception.
41236 2012-05-24  Jeff Law  <law@redhat.com>
41238         * stdio-common/Makefile (tests): Add bug25.
41239         * stdio-common/bug25.c: New test.
41241 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41243         [BZ #13576]
41244         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41245         multiple of MALLOC_ALIGNMENT in size.
41246         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41248 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41250         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41251         Require >= 256.
41252         (FILENAME_MAX): Use macro-int-constant.
41253         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41254         (_IOFBF): Use macro-int-constant.
41255         (_IOLBF): Likewise.
41256         (_IONBF): Likewise.
41257         (SEEK_CUR): Likewise.
41258         (SEEK_END): Likewise.
41259         (SEEK_SET): Likewise.
41260         (TMP_MAX): Likewise.
41261         (EOF): Use macro-int-constant.  Require < 0.
41262         (NULL): Use macro-constant.  Require == 0.
41263         (stdin): Require type to be FILE *.
41264         (stdout): Likewise.
41265         (stderr): Likewise.
41266         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41267         macro-int-constant.
41268         (EXIT_SUCCESS): Likewise.
41269         (NULL): Use macro-constant.  Require == 0.
41270         (RAND_MAX): Use macro-int-constant.
41271         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41272         [C99-based standards] (strtof): Require function.
41273         [C99-based standards] (strtold): Likewise.
41274         [C99-based standards] (strtoll): Likewise.
41275         [C99-based standards] (strtoull): Likewise.
41276         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41277         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41278         [ISO || ISO99 || ISO11] (math.h): Likewise.
41279         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41280         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41281         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41283 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41285         [BZ #14132]
41286         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41287         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41288         * intl/dgettext.c (DCGETTEXT): Likewise.
41289         * intl/gettext.c (DCGETTEXT): Likewise.
41290         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41291         * posix/regex_internal.h (gettext): Likewise.
41292         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41293         Remove declaration.
41294         * include/argz.h (__argz_count_internal)
41295         (__argz_stringify_internal): Remove declaration.
41296         (__argz_count, __argz_stringify): Declare hidden proto.
41297         * intl/dcgettext.c: Remove use of INTDEF.
41298         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41299         * string/argz-stringify.c: Likewise.
41300         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41301         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41302         Declare hidden proto.
41303         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41304         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41305         Declare hidden proto.
41306         * include/stdio.h (__asprintf_internal): Don't declare.
41307         (__asprintf): Don't define as macro.  Declare hidden proto.
41308         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41309         (__fsetlocking): Declare hidden proto.
41310         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41311         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41312         hidden proto.
41313         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41314         (_IO_setlinebuf): Remove use of INTUSE.
41315         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41316         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41317         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41318         Remove declaration.
41319         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41320         (_IO_do_flush): Remove use of INTUSE.
41321         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41322         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41323         (_IO_adjust_column, _IO_least_wmarker)
41324         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41325         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41326         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41327         (_IO_default_doallocate, _IO_wdefault_doallocate)
41328         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41329         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41330         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41331         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41332         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41333         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41334         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41335         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41336         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41337         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41338         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41339         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41340         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41341         proto.
41342         (_IO_flush_all_internal, _IO_adjust_column_internal)
41343         (_IO_default_uflow_internal, _IO_default_finish_internal)
41344         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41345         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41346         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41347         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41348         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41349         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41350         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41351         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41352         (_IO_file_close_internal, _IO_file_close_it_internal)
41353         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41354         (_IO_file_init_internal, _IO_file_attach_internal)
41355         (_IO_file_fopen_internal, _IO_file_read_internal)
41356         (_IO_file_sync_internal, _IO_file_seek_internal)
41357         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41358         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41359         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41360         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41361         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41362         (_IO_list_all_internal, _IO_link_in_internal)
41363         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41364         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41365         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41366         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41367         (_IO_do_write_internal, _IO_padn_internal)
41368         (_IO_getline_info_internal, _IO_getline_internal)
41369         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41370         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41371         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41372         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41373         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41374         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41375         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41376         with libc_hidden_ver, remove use of INTUSE.
41377         * libio/genops.c: Likewise.
41378         * libio/freopen.c: Likewise.
41379         * libio/freopen64.c: Likewise.
41380         * libio/iofclose.c: Likewise.
41381         * libio/iofdopen.c: Likewise.
41382         * libio/iofflush.c: Likewise.
41383         * libio/iofflush_u.c: Likewise.
41384         * libio/iofgets.c: Likewise.
41385         * libio/iofgets_u.c: Likewise.
41386         * libio/iofopen.c: Likewise.
41387         * libio/iofopncook.c: Likewise.
41388         * libio/iofread.c: Likewise.
41389         * libio/iofread_u.c: Likewise.
41390         * libio/ioftell.c: Likewise.
41391         * libio/iofwrite.c: Likewise.
41392         * libio/iogetline.c: Likewise.
41393         * libio/iogets.c: Likewise.
41394         * libio/iogetwline.c: Likewise.
41395         * libio/iopadn.c: Likewise.
41396         * libio/iopopen.c: Likewise.
41397         * libio/ioseekoff.c: Likewise.
41398         * libio/ioseekpos.c: Likewise.
41399         * libio/iosetbuffer.c: Likewise.
41400         * libio/iosetvbuf.c: Likewise.
41401         * libio/ioungetc.c: Likewise.
41402         * libio/ioungetwc.c: Likewise.
41403         * libio/iovdprintf.c: Likewise.
41404         * libio/iovsprintf.c: Likewise.
41405         * libio/iovsscanf.c: Likewise.
41406         * libio/memstream.c: Likewise.
41407         * libio/obprintf.c: Likewise.
41408         * libio/oldfileops.c: Likewise.
41409         * libio/oldiofclose.c: Likewise.
41410         * libio/oldiofdopen.c: Likewise.
41411         * libio/oldiofopen.c: Likewise.
41412         * libio/oldiopopen.c: Likewise.
41413         * libio/oldstdfiles.c: Likewise.
41414         * libio/putc.c: Likewise.
41415         * libio/setbuf.c: Likewise.
41416         * libio/setlinebuf.c: Likewise.
41417         * libio/stdfiles.c: Likewise.
41418         * libio/strops.c: Likewise.
41419         * libio/vasprintf.c: Likewise.
41420         * libio/vscanf.c: Likewise.
41421         * libio/vsnprintf.c: Likewise.
41422         * libio/vswprintf.c: Likewise.
41423         * libio/wfiledoalloc.c: Likewise.
41424         * libio/wfileops.c: Likewise.
41425         * libio/wgenops.c: Likewise.
41426         * libio/wmemstream.c: Likewise.
41427         * libio/wstrops.c: Likewise.
41428         * libio/__fpurge.c: Likewise.
41429         * libio/__fsetlocking.c: Likewise.
41430         * assert/assert.c: Likewise.
41431         * debug/fgets_chk.c: Likewise.
41432         * debug/fgets_u_chk.c: Likewise.
41433         * debug/fread_chk.c: Likewise.
41434         * debug/fread_u_chk.c: Likewise.
41435         * debug/gets_chk.c: Likewise.
41436         * debug/obprintf_chk.c: Likewise.
41437         * debug/vasprintf_chk.c: Likewise.
41438         * debug/vdprintf_chk.c: Likewise.
41439         * debug/vsnprintf_chk.c: Likewise.
41440         * debug/vsprintf_chk.c: Likewise.
41441         * malloc/mtrace.c: Likewise.
41442         * misc/error.c: Likewise.
41443         * misc/syslog.c: Likewise.
41444         * stdio-common/asprintf.c: Likewise.
41445         * stdio-common/fxprintf.c: Likewise.
41446         * stdio-common/getw.c: Likewise.
41447         * stdio-common/isoc99_fscanf.c: Likewise.
41448         * stdio-common/isoc99_scanf.c: Likewise.
41449         * stdio-common/isoc99_vfscanf.c: Likewise.
41450         * stdio-common/isoc99_vscanf.c: Likewise.
41451         * stdio-common/isoc99_vsscanf.c: Likewise.
41452         * stdio-common/printf-prs.c: Likewise.
41453         * stdio-common/printf_fp.c: Likewise.
41454         * stdio-common/printf_fphex.c: Likewise.
41455         * stdio-common/printf_size.c: Likewise.
41456         * stdio-common/putw.c: Likewise.
41457         * stdio-common/scanf.c: Likewise.
41458         * stdio-common/sprintf.c: Likewise.
41459         * stdio-common/tmpfile.c: Likewise.
41460         * stdio-common/vfprintf.c: Likewise.
41461         * stdio-common/vfscanf.c: Likewise.
41462         * stdlib/strfmon_l.c: Likewise.
41463         * sunrpc/openchild.c: Likewise.
41464         * sunrpc/xdr_stdio.c: Likewise.
41465         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41466         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41468 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41470         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41472         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41473         in the third column, to generate for the shared library an IFUNC
41474         that uses _dl_vdso_vsym.
41475         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41476         * Makeconfig (object-suffixes-noshared): New variable.
41478         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41479         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41480         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41481         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41483         [BZ #14132]
41484         * include/sys/time.h (__gettimeofday): Remove macro.
41485         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41486         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41487         Remove INTDEF.
41488         (__gettimeofday): Add libc_hidden_def.
41489         (gettimeofday): Add libc_hidden_weak.
41490         * sysdeps/mach/gettimeofday.c: Likewise.
41491         * sysdeps/posix/gettimeofday.c: Likewise.
41492         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41493         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41494         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41495         (__gettimeofday_internal): Remove strong_alias.
41496         (__gettimeofday): Add libc_hidden_def.
41497         (gettimeofday): Add libc_hidden_weak.
41498         * sysdeps/unix/syscalls.list (gettimeofday):
41499         Remove __gettimeofday_internal alias.
41501 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41502             H.J. Lu  <hongjiu.lu@intel.com>
41504         [BZ #12495]
41505         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41506         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41507         (largebin_index_32_big): New.
41508         (largebin_index): Use it for 16-byte alignment.
41509         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41510         correction with front_misalign.
41512 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41514         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41516         Likewise.
41517         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41518         Likewise.
41519         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41520         Likewise.
41521         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41522         Likewise.
41523         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41524         Likewise.
41525         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41526         Likewise.
41527         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41528         Likewise.
41529         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41530         Likewise.
41531         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41532         Likewise.
41533         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41534         Likewise.
41535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41536         Likewise.
41537         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41538         Likewise.
41540         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41541         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41543 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41545         [BZ #10846]
41546         [BZ #14036]
41547         * math/libm-test.inc (exp_test): Add test from bug 14036.
41548         (pow_test): Add test from bug 10846.
41550         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41551         and other flags.
41552         (special_function): Do not include flags in test name.
41553         (parse_args): Likewise.
41554         * sysdeps/i386/fpu/libm-test-ulps: Update.
41555         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41556         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41557         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41560         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41561         exceptions.
41562         * math/libm-test.inc ("Philosophy"): Update comment about
41563         exception testing.
41564         (UNDERFLOW_EXCEPTION): New macro.
41565         (UNDERFLOW_EXCEPTION_OK): Likewise.
41566         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41567         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41568         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41569         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41570         (INVALID_EXCEPTION_OK): Update value.
41571         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41572         (OVERFLOW_EXCEPTION_OK): Likewise.
41573         (IGNORE_ZERO_INF_SIGN): Likewise.
41574         (test_exceptions): Handle underflow exceptions.
41575         (acos_test): Update for underflow exception expectations.
41576         (cexp_test): Likewise.
41577         (clog_test): Likewise.
41578         (clog10_test): Likewise.
41579         (csqrt_test): Likewise.
41580         (ctan_test): Likewise.
41581         (ctanh_test): Likewise.
41582         (exp_test): Likewise.
41583         (exp10_test): Likewise.
41584         (exp2_test): Likewise.
41585         (expm1_test): Likewise.
41586         (fma_test): Likewise.
41587         (j0_test): Likewise.
41588         (jn_test): Likewise.
41589         (nexttoward_test): Likewise.
41590         (pow_test): Likewise.
41591         (scalbn_test): Likewise.
41592         (scalbln_test): Likewise.
41593         (tan_test): Likewise.
41594         (y1_test): Likewise.
41595         * sysdeps/i386/fpu/libm-test-ulps: Update.
41596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41598 2012-05-23  David S. Miller  <davem@davemloft.net>
41600         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41601         (__libc_sigaction): Remove unused local variables.
41603 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41605         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41607 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41609         mktime: avoid signed integer overflow
41610         * time/mktime.c (__mktime_internal): Do not mishandle the case
41611         where diff == INT_MIN.
41613         mktime: simplify computation of average
41614         * time/mktime.c (ranged_convert): Use new time_t_avg function
41615         instead of rolling our own (probably-slower) code.
41617         mktime: do not assume signed right shift propagates sign bit
41618         * time/mktime.c (isdst_differ): New static function.
41619         (__mktime_internal): No need to normalize tm_isdst now.
41620         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41621         tm_isdst values.
41623         mktime: merge another wrapv change from gnulib
41624         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41625         from some compilers.
41627         mktime: remove incorrect attempt at unusual arithmetics
41628         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41629         The code didn't really work on such machines anyway.
41630         (TYPE_MINIMUM): Assume two's complement.
41631         (twos_complement_arithmetic): Verify that long_int and time_t
41632         are two's complement (or unsigned, in the latter case).
41634         mktime: check signed shifts on long_int and time_t, too
41635         * time/mktime.c (SHR): Check that shifts work as desired
41636         on the types long_int and time_t too, as SHR is used on
41637         such types.
41639         mktime: do not assume 'long' is wide enough
41640         * time/mktime.c (verify): Move decl up.
41641         (long_int): New type.
41642         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41643         to remove assumption in the code that 'long' is wide enough to
41644         store year values.  This assumption is not true on x32 and on
41645         some non-glibc platforms.
41647         mktime: merge wrapv change from gnulib
41648         * time/mktime.c (WRAPV): New macro.
41649         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41650         (guess_time_tm, __mktime_internal): Do not assume that signed
41651         integer overflow wraps around; modern compilers generate code
41652         where this assumption is no longer valid.
41654 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41656         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41657         Replace "jmp L(pseudo_end)" with "ret".
41658         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41659         Likewise.
41661 2012-05-23  Andreas Jaeger  <aj@suse.de>
41663         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41664         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41666 2012-05-23  Andreas Jaeger  <aj@suse.de>
41667             Maximilian Attems  <max@stro.at>
41669         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41670         New macros.
41672 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41674         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41675         code so that pseudo_end is just ret and the stack pointer is
41676         correct also for static library in error case.
41678 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41680         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41681         move to syscalls.list.
41682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41687         * manual/install.texi (Running make install): Do not mention Linux
41688         kernel version for which pt_chown is not needed.
41689         (Linux): Do not mention problems with nscd with 2.0 kernels.
41690         * INSTALL: Regenerated.
41692 2012-05-23  Andreas Jaeger  <aj@suse.de>
41694         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41695         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41696         macro.
41697         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41698         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41699         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41700         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41701         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41702         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41703         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41704         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41705         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41706         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41707         * sysdeps/unix/sysv/linux/bits/in.h
41708         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41710 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41712         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41713         (PREPARE_VERSION): Just use assert instead, it will be elided
41714         under [NDEBUG] anyway.
41716 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41718         * sysdeps/unix/sysv/linux/Makefile: Include
41719         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41720         (sysdep_routines): Remove sysctl.
41721         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41722         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41723         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41724         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41725         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41727 2012-05-22  Andreas Jaeger  <aj@suse.de>
41729         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41730         that pseudo_end is just ret and the stack pointer is correct also
41731         for static library in error case.
41733 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41735         [BZ #14122]
41736         * nss/nsswitch.c (defconfig_entries): New variable.
41737         (__nss_database_lookup): Don't leak defconfig entries.
41738         (nss_parse_service_list): Don't leak on error paths.
41739         (free_database_entries): New function.
41740         (free_defconfig): New function.
41741         (free_mem): Move common code to free_database_entries.
41743 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41745         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41746         Add arch_prctl.
41747         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41749         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41750         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41751         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41752         New macro.
41753         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41754         (INTERNAL_SYSCALL_TYPES): Likewise.
41755         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41756         (LOAD_REGS_TYPES_[1-6]): Likewise.
41757         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41758         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41760 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41762         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41763         copysignl for GLIBC_2_0.
41764         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41765         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41767         logbl for GLIBC_2_0.
41768         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41769         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41771 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41773         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41774         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41776         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41777         Use "neg %eax".
41779         * time/mktime.c: Update copyright years.
41781 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41783         mktime: merge comment-quoting-style change from gnulib
41784         * time/mktime.c: Quote 'like this' in comments.
41785         The GNU coding standards suggest that we no longer quote `like this',
41786         as "`" and "'" are typically rendered asymmetrically nowadays.
41787         The typical gnulib style is to quote 'like this' when quoting
41788         code, and "like this" when quoting English.
41790         * time/mktime.c (compile-command): Add "-I.".
41792         mktime: merge mktime-internal.h change from gnulib
41793         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41795         mktime: merge time_r change from gnulib
41796         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41798         mktime: merge DEBUG change from gnulib
41799         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41800         case system <time.h> has a #define.
41802         mktime: merge <sys/types.h> change from gnulib
41803         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41804         since <time.t> is now guaranteed to define time_t.
41806         mktime: merge HAVE_CONFIG_H change from gnulib
41807         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41809 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41811         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41812         Use "neg %eax".
41814         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41815         __rlim_t cast.
41816         (struct rusage): Use anonymous union to pad each field to
41817         __syscall_slong_t.
41819 2012-05-21  David S. Miller  <davem@davemloft.net>
41821         * Makefules (o-iterator): Remove .s cases.
41822         (compile-command.s): Delete.
41823         (COMPILE.s): Delete.
41824         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41826 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41828         * configure.in (libc_cv_predef_stack_protector): Only consider
41829         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41830         * configure: Regenerated.
41832 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41835         New macro.  Use R*LP on int and pointer.
41836         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41837         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41838         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41839         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41841         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41842         [__WORDSIZE_TIME64_COMPAT32] instead of
41843         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41844         (struct utmp): Likewise.
41845         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41846         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41847         Renamed to ...
41848         (__WORDSIZE_TIME64_COMPAT32): This.
41849         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41850         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41851         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41852         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41853         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41854         (__WORDSIZE_TIME64_COMPAT32): New macro.
41856 2012-05-21  Andreas Jaeger  <aj@suse.de>
41858         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41859         only if [SHARED]. Add prototype for __wcschr_ia32.
41861 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41863         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41864         of %rbp unmolested in the jmp_buf while mangling the low bits.
41865         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41866         unmolested high bits of %rbp while demangling the low bits.
41867         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41869 2012-05-21  Andreas Jaeger  <aj@suse.de>
41871         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41872         * sunrpc/svc_simple.c: Use it for registerrpc.
41873         * sunrpc/xcrypt.c: Use it for passwd2des.
41875         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41877 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41879         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41880         Don't define if [__SYSCALL_WORDSIZE != 32].
41881         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41882         New macro.
41884 2012-05-21  Bruno Haible  <bruno@clisp.org>
41885             Andreas Jaeger  <aj@suse.de>
41887         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41888         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41889         inptr and inend for must_buffer_ch.
41890         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41891         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41892         * stdio-common/Makefile (tests): Remove bug15.
41893         (bug15-ENV): Remove macro.
41894         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41895         anymore.
41897 2012-05-19  Andreas Jaeger  <aj@suse.de>
41898             Roland McGrath  <roland@hack.frob.com>
41900         * manual/contrib.texi: Completely rewritten. It contains now an
41901         alphabetical list of contributors and their contributions.
41903 2012-05-21  Richard Henderson  <rth@twiddle.net>
41905         * misc/getauxval.c (__getauxval): Use unsigned long int.
41906         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41907         (getauxval): Use unsigned long int.
41909 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41911         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41913 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41915         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41916         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41917         __alignof__ (long double).
41919 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41923 2012-05-20  Richard Henderson  <rth@twiddle.net>
41925         * misc/getauxval.c: New file.
41926         * misc/sys/auxv.h: New file.
41927         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41928         (routines): Add getauxval.
41929         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41930         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41931         * elf/dl-sysdep.c (_dl_auxv): Remove.
41932         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41933         * elf/dl-support.c (_dl_auxv): New variable.
41934         (_dl_aux_init): Initialize it.
41935         * manual/startup.texi (Auxiliary Vector): New node.
41936         * sysdeps/generic/bits/hwcap.h: New file.
41937         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41938         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41939         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41940         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41941         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41942         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41944         Update.
41945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41948         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41954 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41956         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41958 2012-05-19  David S. Miller  <davem@davemloft.net>
41960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41962 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41964         [BZ #14123]
41965         * math/s_ccosh.c: Include <float.h>
41966         (__ccosh): Avoid internal overflow calculating sinh and cosh
41967         values before multiplying by sin and cos values.
41968         * math/s_ccoshf.c: Likewise.
41969         * math/s_ccoshl.c: Likewise.
41970         * math/s_csin.c: Likewise.
41971         * math/s_csinf.c: Likewise.
41972         * math/s_csinl.c: Likewise.
41973         * math/s_csinh.c: Likewise.
41974         * math/s_csinhf.c: Likewise.
41975         * math/s_csinhl.c: Likewise.
41976         * math/libm-test.inc (ccos_test): Add more tests.
41977         (ccosh_test): Likewise.
41978         (csin_test): Likewise.
41979         (csinh_test): Likewise.
41980         * sysdeps/i386/fpu/libm-test-ulps: Update.
41981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41983 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41985         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41986         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41988         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41990 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41992         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41993         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41994         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41995         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41996         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41997         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41998         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41999         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42000         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42001         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42002         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42003         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42004         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42005         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42006         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42007         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42008         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42009         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42010         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42011         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42012         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42013         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42014         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42015         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42016         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42017         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42018         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42019         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42020         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42021         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42022         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42024 2012-05-18  Andreas Jaeger  <aj@suse.de>
42026         * csu/.gitignore: Delete.
42028 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42030         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42031         (timex): Use __syscall_slong_t.
42033 2012-05-18  Andreas Jaeger  <aj@suse.de>
42034             Carlos O'Donell  <carlos_odonell@mentor.com>
42036         * manual/install.texi (Configuring and compiling): Update
42037         description about files modified in the source directory.
42038         * INSTALL: Regenerated.
42040 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42042         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42043         value.  Use "or" to set return value to -1.
42044         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42045         negate return value.
42047 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42049         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42050         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42051         failure if the compiler has Graphite support disabled.
42052         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42053         Likewise.
42054         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42055         (CFLAGS-memmove.c): Likewise.
42056         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42057         Likewise.
42059 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42061         * sysdeps/x86_64/x32/_itoa.h: New file.
42063         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42064         getdents system call only if kernel and user dirents have the
42065         same d_ino and d_off.
42067         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42068         LLONG_MAX != LONG_MAX.
42069         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42070         (_fitoa_word): Likewise.
42072         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42073         years.
42074         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42075         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42076         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42078         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42079         include <bits/wordsize.h>.  Check __x86_64__ instead of
42080         __WORDSIZE.
42081         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42082         if __x86_64__ is defined.  Use anonymous union on fpstate.
42084         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42085         anonymous union.
42087 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
42089         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42090         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42091         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42092         Refer to _rtld_local_ro instead of _rtld_global_ro.
42093         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42094         Likewise.
42095         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42096         Likewise.
42097         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42098         Likewise.
42099         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42100         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42101         of _rtld_global, and rtld_progname instead of _dl_argv[0].
42103         * sysdeps/powerpc/powerpc32/dl-machine.c
42104         (__elf_machine_runtime_setup) [PROF]: Don't reference
42105         _dl_prof_resolve.
42107 2012-05-18  Andreas Jaeger  <aj@suse.de>
42109         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42110         function only available for GCCs before 3.4 since GCC 3.4
42111         introduced a builtin.
42112         (lrint): Likewise.
42113         (llrintf): Likewise.
42114         (llrint): Likewise.
42115         (fmaxf): Likewise.
42116         (fmax): Likewise.
42117         (fminf): Likewise.
42118         (fmin): Likewise.
42119         (rint): Likewise.
42120         (rintf): Likewise.
42121         (nearbyint): Likewise.
42122         (nearbyintf): Likewise.
42123         (ceil): Likewise.
42124         (ceilf): Likewise.
42125         (floor): Likewise.
42126         (floorf): Likewise.
42128 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42130         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42131         on both fields and cast pointer to __syscall_ulong_t.
42133         * bits/types.h (__fsword_t): New type.
42134         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42135         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42136         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42137         (__FSWORD_T_TYPE): Likewise.
42138         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42139         (__FSWORD_T_TYPE): Likewise.
42140         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42141         (__FSWORD_T_TYPE): Likewise.
42142         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42143         (__FSWORD_T_TYPE): Likewise.
42144         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42145         __SWORD_TYPE with __fsword_t.
42146         (statfs64): Likewise.
42148 2012-05-17  David S. Miller  <davem@davemloft.net>
42150         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42152 2012-05-17  Andreas Jaeger  <aj@suse.de>
42154         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42155         warning.
42157 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42159         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42161 2012-05-17  Andreas Jaeger  <aj@suse.de>
42163         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42164         when it is used.
42166 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42168         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42170 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42172         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42173         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42175 2012-05-17  Andreas Jaeger  <aj@suse.de>
42176             Carlos O'Donell  <carlos_odonell@mentor.com>
42178         [BZ #14059]
42179         * sysdeps/x86_64/multiarch/init-arch.h
42180         (bit_YMM_Usable): Rename to...
42181         (bit_AVX_Usable): ... this.
42182         (bit_FMA4_Usable): New macro.
42183         (bit_XMM_state): New macro.
42184         (bit_YMM_state): New macro.
42185         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42186         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42187         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42188         (CPUID_OSXSAVE): New macro.
42189         (CPUID_AVX): New macro.
42190         (CPUID_FMA4): New macro.
42191         (index_YMM_Usable): Rename to...
42192         (index_AVX_Usable): ... this.
42193         (HAS_AVX): Use HAS_ARCH_FEATURE.
42194         (HAS_FMA4): Likewise.
42195         (HAS_YMM_USABLE): Remove.
42196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42197         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42198         are present.
42199         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42200         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42201         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42202         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42203         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42205 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42207         * math/libm-test.c: Support platforms without multiple rounding modes.
42208         * math/bug-nextafter.c: Support platforms without FP exceptions.
42209         * math/bug-nexttoward.c: Likewise.
42210         * math/test-fenv.c: Likewise.
42211         * math/test-misc.c: Likewise.
42212         * stdlib/bug-getcontext.c: Likewise.
42214 2012-05-17  Andreas Jaeger  <aj@suse.de>
42216         * manual/examples/search.c (critter_cmp): Change signature to
42217         avoid warnings.
42218         * manual/string.texi (Collation Functions): Likewise.
42220 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42222         * bits/types.h: Fold copyright years.
42223         * bits/typesizes.h: Likewise.
42224         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42225         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42226         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42227         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42228         * time/time.h: Likewise.
42230 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42232         [BZ #208]
42233         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42234         in instead of returning them.  Return void.
42235         (__libc_mallinfo): Accumulate over all arenas.
42236         (__malloc_stats): Adjust for change in int_mallinfo interface.
42238 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42240         [BZ #10375]
42241         * configure.in (NM): Add AC_CHECK_TOOL for it.
42242         (libc_extra_cflags): New substituted variable.
42243         Check for -fstack-protector being used implicitly.
42244         * configure: Regenerated.
42245         * config.make.in (config-extra-cflags): New variable,
42246         gets @libc_extra_cflags@.
42247         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42249         [BZ #10375]
42250         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42251         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42252         * configure: Regenerated.
42253         * config.make.in (CPPUNDEFS): New substituted variable.
42254         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42255         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42256         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42258 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42260         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42261         (mq_attr): Use __syscall_slong_t.
42263 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42265         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42266         Check __x86_64__ instead of __WORDSIZE.
42267         (_STAT_VER_LINUX): Likewise.
42268         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42269         __syscall_ulong_t and __syscall_slong_t.
42270         (stat64): Likewise.
42272 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42274         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42276 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42278         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42280 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42282         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42283         __syscall_ulong_t.
42285         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42286         include <bits/wordsize.h>.  Check __x86_64__ instead of
42287         __WORDSIZE.
42288         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42289         defined.
42290         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42292         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42293         include <bits/wordsize.h>.  Check __x86_64__ instead of
42294         __WORDSIZE.
42295         (user_regs_struct): Use "__extension__ unsigned long long"
42296         instead of "unsigned long" if __x86_64__ is defined.
42297         (user): Likewise.  Pad after pointer field if __ILP32__ is
42298         defined.
42300 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42302         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42303         versions 5 to 9.
42304         * configure: Regenerated.
42305         * manual/install.texi (texinfo): Increase version requirement to
42306         4.5 or later.
42307         * INSTALL: Regenerated.
42309         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42311 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42313         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42315         * sysdeps/x86_64/x32/ffs.c: New file.
42317         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42318         __syscall_ulong_t.
42319         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42320         defined.  Use __syscall_ulong_t.
42321         (shminfo): Use __syscall_ulong_t.
42322         (shm_info): Likewise.
42324         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42325         __syscall_ulong_t.
42327         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42328         <bits/wordsize.h>.
42329         (msgqnum_t): Use __syscall_ulong_t.
42330         (msglen_t): Likewise.
42331         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42332         __syscall_ulong_t.
42334         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42335         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42337         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42339         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42340         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42342         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42343         __syscall_slong_t.
42345         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42346         include <bits/wordsize.h>.  Check __x86_64__ instead of
42347         __WORDSIZE.
42349         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42350         "unsigned long long int" if __x86_64__ is defined.
42351         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42353         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42354         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42355         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42357         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42358         <stdint.h>.
42359         (GET_PC): Cast to uintptr_t first.
42360         (GET_FRAME): Likewise.
42361         (GET_STACK): Likewise.
42363         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42364         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42365         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42366         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42367         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42368         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42369         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42370         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42371         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42372         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42373         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42374         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42375         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42376         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42377         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42378         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42379         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42380         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42381         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42382         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42383         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42384         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42385         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42386         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42387         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42388         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42389         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42390         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42391         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42393 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42395         * Makerules (+depfiles): Also collect depfiles from .oS in
42396         $(extra-objs).
42397         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42398         .oS, $(libnldbl-routines)).
42400         * Makerules (native-compile-mkdep-flags): Define.
42401         * sunrpc/Makefile (extra-objs): Add $(addprefix
42402         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42403         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42404         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42405         calling $(make-target-directory).
42407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42409         * bits/types.h (__snseconds_t): Removed.
42410         * time/time.h (struct timespec): Replace __snseconds_t with
42411         __syscall_slong_t.
42412         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42413         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42414         Likewise.
42415         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42416         (__SNSECONDS_T_TYPE): Likewise.
42417         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42418         (__SNSECONDS_T_TYPE): Likewise.
42419         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42420         (__SNSECONDS_T_TYPE): Likewise.
42422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42424         * sysdeps/mach/hurd/bits/typesizes.h
42425         (__SYSCALL_SLONG_TYPE): New macro.
42426         (__SYSCALL_ULONG_TYPE): Likewise.
42428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42430         * bits/types.h (__syscall_slong_t): New type.
42431         (__syscall_ulong_t): Likewise.
42433         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42434         (__SYSCALL_ULONG_TYPE): Likewise.
42435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42436         (__SYSCALL_SLONG_TYPE): Likewise.
42437         (__SYSCALL_ULONG_TYPE): Likewise.
42438         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42439         (__SYSCALL_SLONG_TYPE): Likewise.
42440         (__SYSCALL_ULONG_TYPE): Likewise.
42441         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42442         (__SYSCALL_SLONG_TYPE): Likewise.
42443         (__SYSCALL_ULONG_TYPE): Likewise.
42445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42447         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42448         Add sigaltstack-offsets.sym.
42449         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42450         <sigaltstack-offsets.h>.
42451         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42452         longjmp_msg pointer.
42453         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42454         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42455         signal stack.
42456         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42458 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42460         * elf/stackguard-macros.h: Remove file.
42461         * sysdeps/generic/stackguard-macros.h: New file.
42462         * sysdeps/i386/stackguard-macros.h: Likewise.
42463         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42464         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42465         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42466         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42467         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42468         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42469         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42470         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42471         <elf/stackguard-macros.h>.
42473         [BZ #14109]
42474         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42475         __aligned__ in attribute.
42476         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42477         (gregset_t): Likewise.
42479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42481         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42482         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42483         * sysdeps/x86_64/x32/Implies-after: New file.
42485 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42487         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42488         and access return value for _dl_profile_fixup.  Use R10_LP to
42489         load frame size.
42491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42493         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42495 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42497         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42498         * sysdeps/x86_64/x32/sysdep.h: New file.
42500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42502         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42503         * sysdeps/x86_64/setjmp.S: Likewise.
42505 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42507         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42508         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42509         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42510         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42511         remove unused global constant.
42513 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42515         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42516         include of <not-cancel.h>.
42518 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42520         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42522 2012-05-15  Jeff Law  <law@redhat.com>
42523             Andreas Jaeger  <aj@suse.de>
42525         [BZ #13594]
42526         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42527         out from...
42528         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42529         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42530         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42531         code changing __hst_map_handle.map.
42533 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42535         * configure.in (sysnames): Look for Implies-before and Implies-after
42536         files.
42537         * configure: Regenerated.
42539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42541         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42542         8-byte data alignment with LP_SIZE alignment.
42544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42546         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42547         into R10_LP.
42549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42551         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42555         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42556         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42557         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42558         Likewise.
42559         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42561 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42563         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42564         (stackinfo_sub_sp): Likewise.
42566 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42568         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42569         RAX_LP.
42571 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42573         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42574         into R*_LP.
42576 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42578         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42579         sizes into R*_LP.
42581 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42583         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42585 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42587         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42588         into R11_LP and load __x86_64_shared_cache_size_half into
42589         R8_LP.
42591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42593         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42594         R8_LP.
42596 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42598         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42599         logb for POWER7.
42600         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42601         logbf for POWER7.
42602         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42603         logbl for POWER7.
42604         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42605         powerpc32/power7/fpu/s_logb.c via #include.
42606         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42607         powerpc32/power7/fpu/s_logbf.c via #include.
42608         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42609         powerpc32/power7/fpu/s_logbl.c via #include.
42611 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42613         * README.libm: Remove file.
42615 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42617         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42618         count for x32.  Use R*_LP and omit operand-size suffix.
42620 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42622         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42623         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42624         * sysdeps/x86_64/x32/shlib-versions: New file.
42626 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42628         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42629         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42630         Use _dl_fatal_printf instead.
42632 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42634         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42635         set if not set by the user.  Do not allow for being unset.
42636         * sysdeps/unix/sysv/linux/configure: Regenerated.
42638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42640         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42641         the `q' suffix from lea and replace .quad with ASM_ADDR.
42643 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42645         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42646         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42647         instead of $17.
42648         (PTR_DEMANGLE): Likewise.
42650 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42652         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42653         (LP_OP): Likewise.
42654         (ASM_ADDR): Likewise.
42655         (RAX_LP): Likewise.
42656         (RBP_LP): Likewise.
42657         (RBX_LP): Likewise.
42658         (RCX_LP): Likewise.
42659         (RDI_LP): Likewise.
42660         (RSI_LP): Likewise.
42661         (RSP_LP): Likewise.
42662         (R8_LP): Likewise.
42663         (R9_LP): Likewise.
42664         (R10_LP): Likewise.
42665         (R10_LP): Likewise.
42666         (R11_LP): Likewise.
42667         (R12_LP): Likewise.
42668         (R13_LP): Likewise.
42669         (R14_LP): Likewise.
42670         (R15_LP): Likewise.
42672 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42674         * sysdeps/x86_64/x32/dl-machine.h: New file.
42676 2012-05-14  Andreas Jaeger  <aj@suse.de>
42678         * manual/Makefile (subdir): Remove export of subdir.
42679         (all): Remove target.
42680         (.PHONY): Remove all from list.
42681         (mkinstalldirs): Remove.
42682         (.PHONY): Remove installdirs from list.
42683         ($(inst_infodir)/libc.info): Use make-target-directory.
42684         (installdirs): Remove.
42685         (subdir_%): Remove.
42686         (glibc-targets): Remove.
42687         (lib): Remove.
42688         (stubs): Remove.
42689         ($(objpfx)stubs ../po/manual.pot): Remove.
42690         ($(objpfx)stamp%): Remove.
42691         (make-target-directory): Remove.
42692         (subdir_install): Remove.
42693         (routines): Remove.
42694         (aux): Remove.
42695         (sources): Remove.
42696         (objects): Remove.
42697         (headers): Remove.
42699         [BZ #13750]
42700         * manual/.gitignore: Remove, it's not needed anymore.
42701         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42702         all files in it.
42703         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42704         directory.
42705         (texis): Renamed to $(objpfx)texis.
42706         (texis-path): New, contains path to generated files.
42707         (chapters.%): Use texis-path for complete path, add extra argument
42708         libc-texinfo.sh.
42709         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42710         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42711         (summary,texi, stamp-summary): Use complete path of
42712         files. Generate files in build dir.
42713         (dir-add.texi): Build in build dir.
42714         (libm-err.texi,stamp-libm-err): Likewise.
42715         (version.texi, stamp-version): Likewise.
42716         (.%c.texi): Likewise.
42717         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42718         (mostlyclean): Remove target.
42719         (realclean): Remove target.
42720         (generated): Add new variable with contents from mostlyclean and
42721         realclean, remove entries duplicated in common-mostlyclean, add
42722         stamp-libm-err and stamp-version.
42723         (generated-dirs): Add libc directory.
42724         ($(inst_infodir)/libc.info): Install files from build dir.
42726         * manual/install.texi (Configuring and compiling): Adjust since
42727         the info files are not part of the tar ball anymore.
42729 2012-05-14  Andreas Jaeger  <aj@suse.de>
42731         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42732         variable.
42734 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42736         [BZ #13717]
42737         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42738         to 2.2.0 where earlier.
42739         * sysdeps/unix/sysv/linux/configure: Regenerated.
42740         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42741         Remove conditional code.
42742         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42743         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42744         Remove conditional code.
42745         [!__NR_lchown]: Likewise.
42746         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42747         [__NR_lchown]: Likewise.
42748         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42749         comment referencing __ASSUME_LCHOWN_SYSCALL.
42750         * sysdeps/unix/sysv/linux/i386/sigaction.c
42751         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42752         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42753         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42754         Remove conditional code.
42755         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42756         (__protocol_available): Remove #if 0 code.
42757         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42758         conditional code.
42759         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42760         * sysdeps/unix/sysv/linux/kernel-features.h
42761         (__ASSUME_GETCWD_SYSCALL): Don't define.
42762         (__ASSUME_REALTIME_SIGNALS): Likewise.
42763         (__ASSUME_PREAD_SYSCALL): Likewise.
42764         (__ASSUME_PWRITE_SYSCALL): Likewise.
42765         (__ASSUME_POLL_SYSCALL): Likewise.
42766         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42767         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42768         non-SPARC.
42769         (__ASSUME_SIOCGIFNAME): Don't define.
42770         (__ASSUME_MSG_NOSIGNAL): Likewise.
42771         (__ASSUME_SENDFILE): Define unconditionally.
42772         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42773         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42774         conditional code.
42775         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42776         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42777         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42778         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42779         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42780         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42781         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42783         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42784         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42786         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42787         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42789         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42792         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42793         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42795         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42796         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42798         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42799         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42801         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42802         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42804         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42805         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42806         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42807         Remove conditional code.
42808         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42809         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42810         Remove conditional code.
42811         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42812         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42813         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42814         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42815         Remove conditional code.
42816         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42817         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42818         Remove conditional code.
42819         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42820         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42821         Remove conditional code.
42822         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42823         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42824         Remove conditional code.
42825         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42826         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42827         Remove conditional code.
42828         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42829         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42830         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42831         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42832         * sysdeps/unix/sysv/linux/sigaction.c
42833         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42834         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42835         * sysdeps/unix/sysv/linux/sigpending.c
42836         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42837         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42838         * sysdeps/unix/sysv/linux/sigprocmask.c
42839         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42840         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42841         * sysdeps/unix/sysv/linux/sigsuspend.c
42842         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42843         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42844         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42845         (__libc_missing_rt_sigs): Remove.
42846         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42847         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42848         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42849         Remove conditional code.
42850         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42851         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42852         return 1.
42853         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42854         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42855         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42856         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42858 2012-05-14  Andreas Jaeger  <aj@suse.de>
42860         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42861         it's not used in glibc.
42862         (__coshm1): Likewise.
42863         (__acosh1p): Likewise.
42864         (__sgn): Likewise.
42866         * manual/string.texi (Copying and Concatenation): Add missing
42867         variable in concat example.
42868         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42870 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42872         [BZ #14103]
42873         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42874         __builtin_clzl with __builtin_clzll.
42876 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42878         [BZ #14104]
42879         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42880         libc_freeres_ptr.
42882 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42884         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42885         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42886         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42887         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42889 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42891         * NEWS: Update ia64 info.
42893 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42895         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42896         used as bcopy.
42898 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42900         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42901         * sysdeps/unix/syscalls.list (dup3): Likewise.
42902         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42903         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42905 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42907         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42908         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42910 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42912         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42913         thread pointer.
42914         (TLS_IE): Use mov/add instead of movq/addq to load thread
42915         pointer.
42916         (TLS_GD_PREFIX): New.
42917         (TLS_GD): Use it.
42919 2012-05-11  David S. Miller  <davem@davemloft.net>
42921         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42922         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42923         (_FPU_SETCW): Likewise.
42925 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42927         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42928         is 32-byte aligned.
42930 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42932         [BZ #11837]
42933         * iconvdata/gb18030.c: Update tables.
42934         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42935         characters specially.
42936         (BODY for TO_LOOP): Add encoding of missing ranges.
42938 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42940         [BZ #13673]
42941         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42942         * sysdeps/mach/hurd/dup3.c: Likewise.
42943         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42944         * sysdeps/powerpc/memmove.c:: Likewise.
42946 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42948         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42949         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42951 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42953         * elf/elf.h (R_X86_64_RELATIVE64): New.
42954         (R_X86_64_NUM): Updated.
42955         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42956         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42957         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42958         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42959         tst-quad1pie tst-quad2pie
42960         (modules-names): Add tst-quadmod1 tst-quadmod2.
42961         ($(objpfx)tst-quad1): New dependency.
42962         ($(objpfx)tst-quad2): Likewise.
42963         ($(objpfx)tst-quad1pie): Likewise.
42964         ($(objpfx)tst-quad2pie): Likewise.
42965         * sysdeps/x86_64/tst-quad1.c: New file.
42966         * sysdeps/x86_64/tst-quad1pie.c: New file.
42967         * sysdeps/x86_64/tst-quad2.c: Likewise.
42968         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42969         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42970         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42971         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42972         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42976         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42977         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42978         * streams/stropts.h (t_scalar_t): Define type.
42980         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42981         (_PATH_PRESERVE): Set to "/var/lib".
42982         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42984         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42985         instead of int.
42987         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42988         if __dir_mkfile succeeded.
42990         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42991         checking for _hurd_dtablesize.  Unlock it right after having
42992         finished _hurd_dtable allocation.
42994 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42996         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42997         * sysdeps/mach/hurd/configure: Regenerated.
42998         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42999         special-casing to...
43000         * sysdeps/gnu/configure.in: ... this new file.
43001         * sysdeps/unix/sysv/linux/configure: Regenerated.
43002         * sysdeps/gnu/configure: New generated file.
43004         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43005         for Linux: use nsec instead of usec, as well as:
43006         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43007         members of type struct timespec.
43008         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43009         New macros.
43010         (struct stat64): Likewise.
43011         (_STATBUF_ST_NSEC): New macro.
43012         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43014         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43015         __strtoul_internal rather than strtoul.
43017 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43019         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43020         and reject them.
43022 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43024         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43025         which preserves existing values.
43026         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43028 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43030         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43031         TIMEOUT values.  Return EINVAL for NFDS values either negative or
43032         greater than FD_SETSIZE.
43034 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43036         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43037         allocated, call __vm_protect to finish enabling the existing space, and
43038         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43039         allocate the remainder.
43041 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43043         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43044         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
43046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43048         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43049         sysdeps/mach/hurd/readlink.c.
43051         * posix/tst-sysconf.c (posix_options): Only use
43052         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43053         _POSIX_SYNCHRONIZED_IO when they are defined
43054         * sysdeps/mach/hurd/bits/posix_opt.h:
43055         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43056         (_XOPEN_REALTIME): Undefine macro.
43057         (_XOPEN_REALTIME_THREADS): Undefine macro.
43058         (_XOPEN_SHM): Undefine macro.
43059         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43060         macro to -1.
43061         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43062         macro to -1.
43063         (_POSIX_ASYNC_IO): Undefine macro.
43064         (_POSIX_PRIORITIZED_IO): Undefine macro.
43065         (_POSIX_SPIN_LOCKS): Define macro to -1.
43067         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43068         SA_NODEFER, SA_RESETHAND.
43069         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43070         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43071         F_DUPFD_CLOEXEC.
43073 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43075         * elf/Makefile (pldd-modules): Define unconditionally.
43077 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43079         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43081 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43083         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43084         Return ENOENT when name is empty.
43085         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43087 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43089         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43091         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43093 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43095         Fix mlock in all cases except non-readable pages.
43096         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43097         instead of VM_PROT_ALL as parameter to __vm_wire function.
43099         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43100         (__mkdir): When path is `/', just fail with EEXIST.
43101         * sysdeps/mach/hurd/mkdirat.c: Likewise.
43103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43105         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43106         <sys/uio.h> (for writev).
43107         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43108         and <sys/param.h> (for MIN).
43110 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43112         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43113         REQUESTED_TIME.  Properly set the remaining time and return EINTR
43114         if interrupted.
43116 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43118         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43119         Depend on against $(link-rpcuserlibs).
43121 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43123         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43124         (__libc_stack_end): Do not use attribute_relro.
43125         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43126         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43127         to libthread-provided value.
43128         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43129         attribute_relro.
43131 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43133         [BZ #3748]
43134         * bits/libc-lock.h (__libc_once_get): New macro.
43135         * sysdeps/mach/bits/libc-lock.h: Likewise.
43136         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43137         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43138         instead of using implementation details.
43140         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43141         * libio/freopen.c: Likewise.
43142         * libio/freopen64.c: Likewise.
43143         * misc/syslog.c: Likewise.
43144         * nscd/connections.c: Likewise.
43145         * nscd/netgroupcache.c: Likewise.
43146         * sysdeps/posix/getcwd.c: Likewise.
43148 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43150         * math/w_ilogbf.c: Add #include <limits.h>.
43152 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43154         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43155         path instead of returning without unlocking.
43157         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43158         immediate-write ioctls.
43159         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43161 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43163         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43164         __builtin_frame_address instead of making assumptions about the
43165         location of the return address relative to DATA.  Force early load of
43166         the return address.
43167         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43168         __builtin_frame_address.
43170         dup3 for GNU Hurd.
43171         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43172         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43173         implement dup3 and do some further code clean-ups.
43174         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43175         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43179         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43181         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43182         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43183         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43184         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43185         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43186         d->port.lock.
43188         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43189         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43190         when handler == SIG_ERR, not when handler != SIG_ERR.
43192 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43194         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43195         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43196         definitions.
43198         accept4 for GNU Hurd.
43199         * include/sys/socket.h (__libc_accept4): New prototype.
43200         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43201         to implement __libc_accept4.
43202         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43203         __libc_accept4.
43204         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43206         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43207         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43208         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43209         signal-defines.sym.
43211 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43213         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43215 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43217         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43218         assertion on O_CLOEXEC flag.
43219         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43220         * hurd/intern-fd.c: Likewise.
43221         * hurd/port2fd.c: Likewise.
43223 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43225         [BZ #3906]
43226         * bits/in.h (IPV6_PKTINFO): Define new macro.
43227         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43229 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43231         [BZ #13954]
43232         [BZ #13955]
43233         [BZ #13956]
43234         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43235         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43236         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43237         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43238         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43239         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43240         * math/libm-test.inc (logb_test) : Additional logb tests.
43242 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43243             Andreas Jaeger  <aj@suse.de>
43245         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43246         * configure: Regenerated.
43247         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43248         * config.make.in (link-obsolete-rpc): New substituted variable.
43249         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43250         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43251         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43252         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43253         so that libc.a contains the symbols.
43254         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43255         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43256         * sunrpc/auth_none.c: Likewise.
43257         * sunrpc/auth_unix.c: Likewise.
43258         * sunrpc/authdes_prot.c: Likewise.
43259         * sunrpc/authuxprot.c: Likewise.
43260         * sunrpc/clnt_gen.c: Likewise.
43261         * sunrpc/clnt_perr.c: Likewise.
43262         * sunrpc/clnt_raw.c: Likewise.
43263         * sunrpc/clnt_simp.c: Likewise.
43264         * sunrpc/clnt_tcp.c: Likewise.
43265         * sunrpc/clnt_udp.c: Likewise.
43266         * sunrpc/clnt_unix.c: Likewise.
43267         * sunrpc/des_crypt.c: Likewise.
43268         * sunrpc/des_soft.c: Likewise.
43269         * sunrpc/get_myaddr.c: Likewise.
43270         * sunrpc/key_call.c: Likewise.
43271         * sunrpc/key_prot.c: Likewise.
43272         * sunrpc/netname.c: Likewise.
43273         * sunrpc/pm_getmaps.c: Likewise.
43274         * sunrpc/pm_getport.c: Likewise.
43275         * sunrpc/pmap_clnt.c: Likewise.
43276         * sunrpc/pmap_prot.c: Likewise.
43277         * sunrpc/pmap_prot2.c: Likewise.
43278         * sunrpc/pmap_rmt.c: Likewise.
43279         * sunrpc/publickey.c: Likewise.
43280         * sunrpc/rpc_cmsg.c: Likewise.
43281         * sunrpc/rpc_common.c: Likewise.
43282         * sunrpc/rpc_dtable.c: Likewise.
43283         * sunrpc/rpc_prot.c: Likewise.
43284         * sunrpc/rpc_thread.c: Likewise.
43285         * sunrpc/rtime.c: Likewise.
43286         * sunrpc/svc.c: Likewise.
43287         * sunrpc/svc_auth.c: Likewise.
43288         * sunrpc/svc_raw.c: Likewise.
43289         * sunrpc/svc_run.c: Likewise.
43290         * sunrpc/svc_tcp.c: Likewise.
43291         * sunrpc/svc_udp.c: Likewise.
43292         * sunrpc/svc_unix.c: Likewise.
43293         * sunrpc/svcauth_des.c: Likewise.
43294         * sunrpc/xcrypt.c: Likewise.
43295         * sunrpc/xdr.c: Likewise.
43296         * sunrpc/xdr_array.c: Likewise.
43297         * sunrpc/xdr_float.c: Likewise.
43298         * sunrpc/xdr_intXX_t.c: Likewise.
43299         * sunrpc/xdr_mem.c: Likewise.
43300         * sunrpc/xdr_rec.c: Likewise.
43301         * sunrpc/xdr_ref.c: Likewise.
43302         * sunrpc/xdr_sizeof.c: Likewise.
43303         * sunrpc/xdr_stdio.c: Likewise.
43305 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43307         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43308         change.  Update copyright years.
43310 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43312         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43314 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43315             Joseph Myers  <joseph@codesourcery.com>
43316             Paul Pluzhnikov  <ppluzhnikov@google.com>
43318         [BZ #14012]
43319         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43320         requiring rpcgen.
43321         [cross-compiling] (extra-libs): Likewise.
43322         [cross-compiling] (extra-libs-others): Likewise.
43323         [cross-compiling] (librpcsvc-routines): Likewise.
43324         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43325         [cross-compiling] (omit-deps): Likewise.
43326         (sunrpc-CPPFLAGS): New variable.
43327         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43328         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43329         (cross-rpcgen-objs): New variable.
43330         (extra-objs): Append $(cross-rpcgen-objs).
43331         ($(cross-rpcgen-objs)): New rule.
43332         ($(objpfx)cross-rpcgen): Likewise.
43333         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43334         comment.
43335         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43336         ($(objpfx)x%.stmp): Likewise.
43337         * sunrpc/proto.h [IS_IN_build] (_): Define.
43338         [IS_IN_build] (_libc_intl_domainname): Likewise.
43340 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43342         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43343         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43344         and R_X86_64_TPOFF64.
43346 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43348         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43349         sysdeps/unix/sysv/syscalls.list.
43350         (stime): Likewise.
43351         (utime): Likewise.
43352         * sysdeps/unix/sysv/syscalls.list: Remove file.
43354 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43356         [BZ #3440]
43357         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43358         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43359         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43360         (__LC_IDENTIFICATION): Make these macros useful in #if
43361         expressions, as required by C99.
43363 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43365         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43366         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43367         after this.
43369 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43371         * stdlib/longlong.h: Updated from GCC.
43373 2012-05-09  Andreas Jaeger  <aj@suse.de>
43375         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43376         default is first entry.
43377         (run_mode): Set type.
43378         (main): Remove informal message about syslog.
43379         (options): Fix typo.
43381         [BZ #14053]
43382         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43383         to asm.
43384         (lrint): Likewise.
43385         (llrintf): Likewise.
43386         (llrint): Likewise.
43387         (rint): Likewise.
43388         (rintf): Likewise.
43389         (nearbyint): Likewise.
43390         (nearbyintf): Likewise.
43392 2012-05-09  Andreas Jaeger  <aj@suse.de>
43393             Pedro Alves  <palves@redhat.com>
43395         * nscd/nscd.c (run_mode): Use enum.
43396         (main): Cleanup coding style issue.
43398 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43399             Andreas Jaeger  <aj@suse.de>
43401         * nscd/nscd.c (go_background): Replaced with...
43402         (run_mode): ... this.
43403         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43404         (options): Add -F --foreground.
43405         (main): Implement it.
43406         (parse_opt): Parse it.
43408 2012-05-09  Andreas Jaeger  <aj@suse.de>
43410         [BZ #14083]
43411         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43412         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43413         -Wconversion warning.
43414         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43415         Likewise.
43417 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43419         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43420         == 0.
43421         (LC_ALL): Use macro-int-constant.
43422         (LC_COLLATE): Likewise.
43423         (LC_CTYPE): Likewise.
43424         (LC_MESSAGES): Likewise.
43425         (LC_MONETARY): Likewise.
43426         (LC_NUMERIC): Likewise.
43427         (LC_TIME): Likewise.
43428         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43429         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43430         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43431         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43432         Specify type.
43433         [C99-based standards] (float_t): Expect type.
43434         [C99-based standards] (double_t): Expect type.
43435         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43436         type.
43437         [C99-based standards] (HUGE_VALL): Likewise.
43438         [C99-based standards] (INFINITY): Likewise.
43439         [C99-based standards] (NAN): Likewise.
43440         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43441         [C99-based standards] (FP_NAN): Likewise.
43442         [C99-based standards] (FP_NORMAL): Likewise.
43443         [C99-based standards] (FP_SUBNORMAL): Likewise.
43444         [C99-based standards] (FP_ZERO): Likewise.
43445         [C99-based standards] (FP_FAST_FMA): Use
43446         optional-macro-int-constant.  Specify type.  Require == 1.
43447         [C99-based standards] (FP_FAST_FMAF): Likewise.
43448         [C99-based standards] (FP_FAST_FMAL): Likewise.
43449         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43450         [C99-based standards] (FP_ILOGBNAN): Likewise.
43451         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43452         Specify type.
43453         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43454         [C99-based standards] (math_errhandling): Specify type.
43455         [ISO99 || ISO11] (signgam): Do not allow.
43456         [non-C99-based standards] (copysignf): Do not allow.
43457         [non-C99-based standards] (exp2f): Likewise.
43458         [non-C99-based standards] (log2f): Likewise.
43459         [non-C99-based standards] (modff): Allow.
43460         [non-C99-based standards] (erff): Do not allow.
43461         [non-C99-based standards] (erfcf): Likewise.
43462         [non-C99-based standards] (gammaf): Likewise.
43463         [non-C99-based standards] (hypotf): Likewise.
43464         [non-C99-based standards] (j0f): Likewise.
43465         [non-C99-based standards] (j1f): Likewise.
43466         [non-C99-based standards] (jnf): Likewise.
43467         [non-C99-based standards] (lgammaf): Likewise.
43468         [non-C99-based standards] (tgammaf): Likewise.
43469         [non-C99-based standards] (y0f): Likewise.
43470         [non-C99-based standards] (y1f): Likewise.
43471         [non-C99-based standards] (ynf): Likewise.
43472         [non-C99-based standards] (isnanf): Likewise.
43473         [non-C99-based standards] (acoshf): Likewise.
43474         [non-C99-based standards] (asinhf): Likewise.
43475         [non-C99-based standards] (atanhf): Likewise.
43476         [non-C99-based standards] (cbrtf): Likewise.
43477         [non-C99-based standards] (expm1f): Likewise.
43478         [non-C99-based standards] (ilogbf): Likewise.
43479         [non-C99-based standards] (log1pf): Likewise.
43480         [non-C99-based standards] (logbf): Likewise.
43481         [non-C99-based standards] (nextafterf): Likewise.
43482         [non-C99-based standards] (remainderf): Likewise.
43483         [non-C99-based standards] (rintf): Likewise.
43484         [non-C99-based standards] (scalbf): Likewise.
43485         [non-C99-based standards] (copysignl): Likewise.
43486         [non-C99-based standards] (exp2l): Likewise.
43487         [non-C99-based standards] (log2l): Likewise.
43488         [non-C99-based standards] (modfl): Allow.
43489         [non-C99-based standards] (erfl): Do not allow.
43490         [non-C99-based standards] (erfcl): Likewise.
43491         [non-C99-based standards] (gammal): Likewise.
43492         [non-C99-based standards] (hypotl): Likewise.
43493         [non-C99-based standards] (j0l): Likewise.
43494         [non-C99-based standards] (j1l): Likewise.
43495         [non-C99-based standards] (jnl): Likewise.
43496         [non-C99-based standards] (lgammal): Likewise.
43497         [non-C99-based standards] (tgammal): Likewise.
43498         [non-C99-based standards] (y0l): Likewise.
43499         [non-C99-based standards] (y1l): Likewise.
43500         [non-C99-based standards] (ynl): Likewise.
43501         [non-C99-based standards] (isnanl): Likewise.
43502         [non-C99-based standards] (acoshl): Likewise.
43503         [non-C99-based standards] (asinhl): Likewise.
43504         [non-C99-based standards] (atanhl): Likewise.
43505         [non-C99-based standards] (cbrtl): Likewise.
43506         [non-C99-based standards] (expm1l): Likewise.
43507         [non-C99-based standards] (ilogbl): Likewise.
43508         [non-C99-based standards] (log1pl): Likewise.
43509         [non-C99-based standards] (logbl): Likewise.
43510         [non-C99-based standards] (nextafterl): Likewise.
43511         [non-C99-based standards] (remainderl): Likewise.
43512         [non-C99-based standards] (rintl): Likewise.
43513         [non-C99-based standards] (scalbl): Likewise.
43514         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43515         [non-C99-based standards] (FP_*): Do not allow.
43516         [C99-based standards] (FP_*): Change to
43517         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43518         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43519         allow.
43520         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43521         (SIG_ERR): Likewise.
43522         [X/Open-based standards] (SIG_HOLD): Likewise.
43523         (SIG_IGN): Likewise.
43524         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43525         positive value.
43526         (SIGFPE): Likewise.
43527         (SIGILL): Likewise.
43528         (SIGINT): Likewise.
43529         (SIGSEGV): Likewise.
43530         (SIGTER): Likewise.
43531         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43532         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43533         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43534         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43535         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43536         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43537         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43538         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43539         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43540         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43541         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43542         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43543         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43544         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43545         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43546         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43547         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43548         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43549         [X/Open-based standards] (SIGTRAP): Likewise.
43550         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43551         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43552         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43553         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43554         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43555         allow.
43557 2012-05-08  Ian Wienand  <ianw@vmware.com>
43559         [BZ #14080]
43560         * time/tzset.c (__tzset_parse_tz): Update default rules for
43561         daylight time changes in the Energy Policy Act of 2005.
43563 2012-05-09  Andreas Jaeger  <aj@suse.de>
43565         [BZ #13983]
43566         * elf/ldconfig.c (parse_conf): Change string to make clear that
43567         ldconfig only issued a warning if ld.so.conf does not exist.
43569 2012-05-08  David S. Miller  <davem@davemloft.net>
43571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43572         movxtod instead of popping the value on the stack.
43574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43576 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43578         * config.h.in: Add HAVE_ARM_PCS_VFP.
43580 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43582         [BZ #13979]
43583         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43584         checking but the checks are disabled for any reason.
43586 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43588         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43589         and ELF64_R_TYPE with ELFW(R_TYPE).
43591 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43593         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43594         (ulimit): Likewise.
43596         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43597         (settimeofday): Likewise.
43599 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43601         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43602         a struct th_u2 inside the union, and move tu_block/tu_code into
43603         a new th_u3 union of tu_block/tu_code inside of that.  Move
43604         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43605         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43606         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43607         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43608         (th_stuff): Change to th_u1.tu_stuff.
43609         (th_data): Define.
43610         (th_msg): Change to th_u1.th_u2.tu_data.
43612 2012-05-07  David S. Miller  <davem@davemloft.net>
43614         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43616         [BZ #14074]
43617         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43618         (SETUP_PIC_REG): Use it.
43619         (SETUP_PIC_REG_LEAF): Use it.
43621 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43623         [BZ #13885]
43624         [BZ #13923]
43625         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43626         USE_AS_EXPM1L.
43627         (EXPL_FINITE): Likewise.
43628         (FLDLOG): Likewise.
43629         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43630         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43631         e_expl.S.
43632         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43633         USE_AS_EXPM1L.
43634         (EXPL_FINITE): Likewise.
43635         (FLDLOG): Likewise.
43636         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43637         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43638         e_expl.S.
43639         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43640         test of -max_value argument for long double.
43641         * sysdeps/i386/fpu/libm-test-ulps: Update.
43642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43644 2012-05-06  David S. Miller  <davem@davemloft.net>
43646         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43647         quad soft-float symbols whose references which are compiler
43648         generated.
43649         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43651 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43653         [BZ #13884]
43654         [BZ #13914]
43655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43656         USE_AS_EXP10L.
43657         (EXPL_FINITE): Likewise.
43658         (FLDLOG): Likewise.
43659         (c0): Likewise.
43660         (c1): Likewise.
43661         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43662         Adjust comments for base varying.
43663         (__expl_finite): Change alias to EXPL_FINITE.
43664         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43665         e_expl.S.
43666         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43667         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43668         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43669         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43670         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43671         USE_AS_EXP10L.
43672         (EXPL_FINITE): Likewise.
43673         (FLDLOG): Likewise.
43674         (c0): Likewise.
43675         (c1): Likewise.
43676         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43677         Adjust comments for base varying.
43678         (__expl_finite): Change alias to EXPL_FINITE.
43679         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43680         tests for bugs.
43681         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43683         [BZ #14064]
43684         * math/libm-test.inc (check_float_internal): Correct ulp
43685         calculation for subnormal expected results.
43687 2012-05-06  Andreas Jaeger  <aj@suse.de>
43689         * Makeconfig (+math-flags): New, set to -frounding-math.
43690         (+cflags): Add +math-flags so that all of glibc gets compiled with
43691         it.
43693         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43695 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43697         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43698         Disable one test.
43700         [BZ #13787]
43701         [BZ #13922]
43702         [BZ #14036]
43703         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43704         (__ieee754_expl): Allow for and saturate large arguments.
43705         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43706         (u_threshold): Likewise.
43707         (__exp): Call __ieee754_exp before checking for overflow and
43708         underflow.
43709         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43710         (u_threshold): Likewise.
43711         (__expf): Call __ieee754_expf before checking for overflow and
43712         underflow.
43713         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43714         (u_threshold): Likewise.
43715         (__expl): Call __ieee754_expl before checking for overflow and
43716         underflow.
43717         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43718         (__ieee754_expl): Allow for and saturate large arguments.
43719         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43720         missing overflow exception on overflow.
43721         (expm1_test): Do not allow missing overflow exception on overflow.
43723         * sysdeps/i386/fpu/e_expl.c: Move to ...
43724         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43725         rather than using inline asm.
43726         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43727         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43728         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43730         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43731         (nice): Likewise.
43732         (poll): Likewise.
43733         (signal): Likewise.
43734         (time): Likewise.
43735         (times): Likewise.
43737 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43739         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43740         sysdeps/unix/common/syscalls.list.
43741         (fchmod): Likewise.
43742         (fchown): Likewise.
43743         (ftruncate): Likewise.
43744         (getrusage): Likewise.
43745         (gettimeofday): Likewise.
43746         (setpgid): Likewise.
43747         (setregid): Likewise.
43748         (setreuid): Likewise.
43749         (sigaction): Likewise.
43750         (truncate): Likewise.
43751         (vhangup): Likewise.
43752         * sysdeps/unix/common/syscalls.list: Remove file.
43753         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43754         * sysdeps/unix/sysv/linux/Implies: Likewise.
43756 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43758         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43759         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43760         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43761         Moved to ...
43762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43763         Here.
43764         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43765         to ...
43766         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43767         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43768         to ...
43769         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43770         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43771         to ...
43772         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43773         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43774         to ...
43775         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43776         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43777         to ...
43778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43779         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43780         to ...
43781         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43782         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43783         to ...
43784         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43785         Here.
43786         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43787         to ...
43788         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43789         Here.
43790         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43791         to ...
43792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43793         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43794         Moved to ...
43795         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43796         Here.
43797         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43798         to ...
43799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43801 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43803         * sysdeps/unix/common/bits/dirent.h: Remove file.
43804         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43806         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43807         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43808         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43809         * sysdeps/unix/bsd/isatty.c: Likewise.
43810         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43811         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43812         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43814 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43816         [BZ #13563]
43817         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43818         long double comparison inaccuracies.
43819         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43822 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43824         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43825         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43827 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43829         [BZ #14049]
43830         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43831         nonzero digits before rounding a hex value.
43832         * stdlib/tst-strtod.c (tests): Add another test.
43834 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43836         * sysdeps/s390/fpu/libm-test-ulps: Update.
43838 2012-05-03  Andreas Jaeger  <aj@suse.de>
43840         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43841         does not get optimized out.
43842         (malloc_opt_barrier): New.
43844 2012-05-03  Andreas Jaeger  <aj@suse.de>
43845             Roland McGrath  <roland@hack.frob.com>
43847         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43848         intermediate file deletion.
43849         (generated): Add .symlist files.
43851 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43853         [BZ #13775]
43854         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43855         Redirect under this condition.
43856         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43857         [__USE_GNU] (__dprintf_chk): Not under this condition.
43858         [__USE_GNU] (__vdprintf_chk): Likewise.
43859         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43860         under this condition.
43861         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43862         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43863         [__USE_XOPEN2K8] (vdprintf): Likewise.
43864         [__USE_GNU] (__dprintf_chk): Not under this condition.
43865         [__USE_GNU] (__vdprintf_chk): Likewise.
43866         [__USE_GNU] (dprintf): Likewise.
43867         [__USE_GNU] (vdprintf): Likewise.
43869 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43871         * elf/Makefile (common-generated): Set this instead of generated for
43872         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43873         $(all-built-dso)-derived lists.
43875 2012-05-03  Andreas Jaeger  <aj@suse.de>
43877         * sysdeps/i386/fpu/libm-test-ulps: Update.
43879         * FAQ: Removed.
43880         * FAQ.in: Likewise.
43881         * scripts/gen-FAQ.pl: Likewise.
43882         * manual/install.texi (Installation): Point to online location of
43883         FAQ.
43884         * Makefile (files-for-dist): Remove FAQ.
43885         (FAQ): Remove.
43887 2012-05-02  Allan McRae  <allan@archlinux.org>
43889         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43890         (LDFLAGS-reldepmod5.so): Likewise.
43891         (LDFLAGS-reldep6mod1.so): Likewise.
43892         (LDFLAGS-reldep6mod4.so): Likewise.
43893         (LDFLAGS-reldep8mod3.so): Likewise.
43894         (LDFLAGS-unload4mod1.so): Likewise.
43895         (LDFLAGS-unload4mod2.so): Likewise.
43896         (LDFLAGS-tst-initorder): Likewise.
43897         (LDFLAGS-tst-initordera2.so): Likewise.
43898         (LDFLAGS-tst-initordera3.so): Likewise.
43899         (LDFLAGS-tst-initordera4.so): Likewise.
43900         (LDFLAGS-tst-initorderb2.so): Likewise.
43901         (LDFLAGS-noload): Likewise.
43902         (LDFLAGS-next): Likewise.
43903         (LDFLAGS-order2mod1.so): Likewise.
43904         (LDFLAGS-order2mod2.so): Likewise.
43905         (LDFLAGS-tst-initorder2): Likewise.
43906         (LDFLAGS-tst-initorder2a.so): Likewise.
43907         (LDFLAGS-tst-initorder2b.so): Likewise.
43908         (LDFLAGS-tst-initorder2c.so): Likewise.
43909         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43911 2012-05-02  David S. Miller  <davem@davemloft.net>
43913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43915 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43917         [BZ #14055]
43918         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43920 2012-05-02  Andreas Jaeger  <aj@suse.de>
43922         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43923         since we manipulate rounding mode.
43924         (CPPFLAGS-test-idouble.c): Likewise.
43925         (CPPFLAGS-test-ifloat.c): Likewise.
43926         (CFLAGS-test-ldouble.c): Likewise.
43927         (CFLAGS-test-double.c): Likewise.
43928         (CFLAGS-test-float.c): Likewise.
43929         (CFLAGS-test-misc.c): Likewise.
43930         (CFLAGS-test-test-fenv.c): Likewise.
43932 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43934         [BZ #2550]
43935         [BZ #2570]
43936         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43937         comparisons to determine direction to adjust input.
43939 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43941         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43942         output to the target.
43944         * scripts/localplt.awk: New file.
43945         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43946         (check-localplt-CFLAGS): Variable removed.
43947         ($(all-built-dso:=.jmprel)): New static pattern rule.
43948         (generated): Add those targets.
43949         (localplt-built-dso): New variable.
43950         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43952         * elf/check-localplt.c: File removed.
43954         * scripts/check-execstack.awk: New file.
43955         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43956         (check-execstack-CFLAGS): Variable removed.
43957         ($(objpfx)check-execstack.h): Target removed.
43958         ($(objpfx)execstack-default): New target.
43959         (generated): Add that instead of check-execstack.h.
43960         ($(all-built-dso:=.phdr)): New static pattern rule.
43961         (generated): Add those targets.
43962         * elf/check-execstack.c: File removed.
43964         * scripts/check-textrel.awk: New file.
43965         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43966         (check-textrel-CFLAGS): Variable removed.
43967         (all-built-dso): Use := to define.o
43968         ($(all-built-dso:=.dyn)): New static pattern rule.
43969         (generated): Add those targets.
43970         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43971         * config.make.in (READELF): New substituted variable.
43972         * elf/check-textrel.c: File removed.
43974 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43976         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43977         allow.
43978         * conform/data/ctype.h-data [C99-based standards] (isblank):
43979         Expect function.
43980         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43981         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43983         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43984         Specify type.  Require positive value.
43985         (EILSEQ): Likewise.
43986         (ERANGE): Likewise.
43987         [ISO || POSIX] (EILSEQ): Do not expect.
43988         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43989         Specify type.  Require positive value.
43990         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43991         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43992         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43993         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43994         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43995         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43996         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43997         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43998         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43999         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44000         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44001         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44002         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44003         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44004         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44005         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44006         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44007         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44008         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44009         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44010         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44011         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44012         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44013         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44014         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44015         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44016         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44017         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44018         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44019         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44020         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44021         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44022         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44023         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44024         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44025         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44026         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44027         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44028         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44029         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44030         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44031         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44032         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44033         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44034         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44035         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44036         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44037         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44038         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44039         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44040         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44041         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44042         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44043         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44044         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44045         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44046         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44047         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44048         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44049         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44050         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44051         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44052         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44053         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44054         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44055         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44056         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44057         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44058         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44059         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44060         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44061         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44062         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44063         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44064         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44065         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44066         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44067         Require >= 2.
44068         (FLT_ROUNDS): Expect as macro, not constant.
44069         (FLT_MANT_DIG): Use macro-int-constant.
44070         (DBL_MANT_DIG): Likewise.
44071         (LDBL_MANT_DIG): Likewise.
44072         (FLT_DIG): Likewise.
44073         (DBL_DIG): Likewise.
44074         (LDBL_DIG): Likewise.
44075         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
44076         (DBL_MIN_EXP): Likewise.
44077         (LDBL_MIN_EXP): Likewise.
44078         (FLT_MAX_EXP): Use macro-int-constant.
44079         (DBL_MAX_EXP): Likewise.
44080         (LDBL_MAX_EXP): Likewise.
44081         (FLT_MAX_10_EXP): Likewise.
44082         (DBL_MAX_10_EXP): Likewise.
44083         (LDBL_MAX_10_EXP): Likewise.
44084         (FLT_MAX): Use macro-constant.
44085         (DBL_MAX): Likewise.
44086         (LDBL_MAX): Likewise.
44087         (FLT_EPSILON): Use macro-constant.  Give upper bound.
44088         (DBL_EPSILON): Likewise.
44089         (LDBL_EPSILON): Likewise.
44090         (FLT_MIN): Likewise.
44091         (DBL_MIN): Likewise.
44092         (LDBL_MIN): Likewise.
44093         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44094         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44095         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44096         [ISO11] (FLT_HAS_SUBNORM): Likewise.
44097         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44098         [ISO11] (DBL_DECIMAL_DIG): Likewise.
44099         [ISO11] (FLT_DECIMAL_DIG): Likewise.
44100         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44101         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44102         [ISO11] (FLT_TRUE_MIN): Likewise.
44103         [ISO11] (LDBL_TRUE_MIN): Likewise.
44104         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44105         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44106         (SCHAR_MIN): Use macro-int-constant.  Specify type.
44107         (SCHAR_MAX): Likewise.
44108         (UCHAR_MAX): Likewise.
44109         (CHAR_MIN): Likewise.
44110         (CHAR_MAX): Likewise.
44111         (MB_LEN_MAX): Use macro-int-constant.
44112         (SHRT_MIN): Use macro-int-constant.  Specify type.
44113         (SHRT_MAX): Likewise.
44114         (USHRT_MAX): Likewise.
44115         (INT_MAX): Likewise.
44116         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44117         bound negative.
44118         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44119         bound with "U".
44120         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44121         bound with "L".
44122         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44123         bound negative.  Suffix upper bound with "L".
44124         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44125         bound with "UL".
44126         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44127         Specify type.
44128         [C99-based standards] (LLONG_MAX): Likewise.
44129         [C99-based standards] (ULLONG_MAX): Likewise.
44130         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44131         == 0.
44132         [ISO11] (max_align_t): Require type.
44133         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44135         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44136         from $CFLAGS, without defining away __attribute__ calls.
44137         (checknamespace): Use $CFLAGS_namespace.
44139         * conform/conformtest.pl (@keywords): Only include C99 keywords
44140         for standards based on C99 or C11.
44142         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44143         Disable tests.
44144         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44145         UNIX98]: Likewise.
44147         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44148         usability of symbols in #if.
44150         * conform/conformtest.pl: If macro or constant types start
44151         "promoted:", expect the symbol to be of the following type
44152         promoted by the integer promotions.
44154         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44155         in one place.  Also handle "macro-constant".
44157         * conform/conformtest.pl: Only accept expected macro values with
44158         "==".  Parse all "macro" lines in one place.
44159         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44161         * conform/conformtest.pl: Handle braced types on "constant" lines
44162         instead of handling "typed-constant".
44163         * conform/data/signal.h-data: Use "constant" instead of
44164         "typed-constant".
44166         * conform/conformtest.pl: Handle "optional-" at start of lines in
44167         one place rather than duplicating several cases.  Handle each
44168         format of "macro" line with initial "optional-".
44170         * conform/conformtest.pl: Only accept expected constant or
44171         optional-constant values with "==".  Parse all "constant" lines in
44172         one place.  Parse all "optional-constant" lines in one place.
44173         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44174         * conform/data/fmtmsg.h-data: Likewise.
44175         * conform/data/netinet/in.h-data: Likewise.
44176         * conform/data/tar.h-data: Likewise.
44177         * conform/data/limits.h-data: Use "==" form on "constant" and
44178         "optional-constant" lines.
44180         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44181         Use -std=c99 for XOPEN2K.
44182         (@knownproblems): Remove.
44183         (newtoken): Don't check %isknown.
44185         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44186         Do not expect macro.
44187         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44188         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44189         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44190         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44191         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44192         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44193         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44194         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44195         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44196         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44197         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44198         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44199         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44200         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44201         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44202         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44203         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44204         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44205         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44206         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44207         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44208         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44209         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44210         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44211         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44212         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44213         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44214         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44215         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44216         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44217         [XPG3] (acosh): Likewise.
44218         [XPG3] (asinh): Likewise.
44219         [XPG3] (atanh): Likewise.
44220         [XPG3] (cbrt): Likewise.
44221         [XPG3] (expm1): Likewise.
44222         [XPG3] (ilogb): Likewise.
44223         [XPG3] (log1p): Likewise.
44224         [XPG3] (logb): Likewise.
44225         [XPG3] (nextafter): Likewise.
44226         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44227         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44228         [XPG3] (remainder): Likewise.
44229         [XPG3] (rint): Likewise.
44230         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44231         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44232         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44233         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44234         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44235         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44236         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44237         [UNIX98 || XOPEN2K] (scalb): Expect.
44238         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44239         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44240         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44241         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44242         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44243         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44244         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44245         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44246         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44247         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44248         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44249         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44250         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44251         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44252         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44253         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44254         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44255         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44256         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44257         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44258         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44259         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44260         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44261         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44262         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44263         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44264         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44265         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44266         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44267         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44268         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44269         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44270         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44271         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44272         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44273         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44274         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44275         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44276         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44277         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44278         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44279         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44280         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44281         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44282         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44283         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44284         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44285         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44286         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44287         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44288         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44289         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44290         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44291         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44292         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44293         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44294         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44295         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44296         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44297         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44298         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44299         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44300         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44301         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44302         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44303         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44304         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44305         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44306         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44307         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44308         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44309         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44310         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44311         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44312         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44313         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44314         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44315         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44316         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44317         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44318         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44319         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44320         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44321         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44322         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44323         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44324         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44325         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44326         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44327         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44328         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44329         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44330         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44331         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44332         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44333         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44334         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44335         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44336         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44337         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44338         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44339         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44340         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44341         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44342         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44343         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44344         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44345         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44346         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44347         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44348         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44349         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44350         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44351         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44352         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44353         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44354         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44355         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44356         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44357         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44358         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44359         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44360         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44361         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44362         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44363         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44364         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44365         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44366         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44367         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44368         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44369         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44370         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44371         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44372         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44373         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44374         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44376         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44377         _XOPEN_SOURCE_EXTENDED for XPG4.
44379         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44381         * Makeconfig (localtime): Remove variable.
44382         (inst_localtime-file): Likewise.
44384 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44387         Update.
44388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44389         Update.
44390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44391         Update.
44392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44393         Update.
44394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44395         Update.
44396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44397         Update.
44398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44399         Update.
44400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44401         Update.
44402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44403         Update.
44405 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44407         [BZ #2550]
44408         [BZ #2570]
44409         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44410         comparisons to determine direction to adjust input.
44411         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44412         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44413         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44414         Likewise.
44415         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44416         Likewise.
44417         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44418         Likewise.
44419         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44420         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44421         Likewise.
44422         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44423         Likewise.
44424         * math/libm-test.inc (nexttoward_test): Add more tests.
44426 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44428         [BZ #14040]
44429         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44430         in version GLIBC_2.1, not GLIBC_2.0.
44431         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44432         Likewise.
44434 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44436         [BZ #13942]
44437         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44438         (1 - x) * (1 + x).
44439         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44440         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44441         * math/libm-test.inc (acos_test): Add more tests.
44442         (asin_test): Likewise.
44443         * sysdeps/i386/fpu/libm-test-ulps: Update.
44444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44446         [BZ #14034]
44447         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44448         of square root.
44449         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44450         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44451         * math/libm-test.inc (acos_test_tonearest): New function.
44452         (acos_test_towardzero): Likewise.
44453         (acos_test_downward): Likewise.
44454         (acos_test_upward): Likewise.
44455         (asin_test_tonearest): Likewise.
44456         (asin_test_towardzero): Likewise.
44457         (asin_test_downward): Likewise.
44458         (asin_test_upward): Likewise.
44459         (main): Call the new functions.
44460         * sysdeps/i386/fpu/libm-test-ulps: Update.
44461         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44463         [BZ #13884]
44464         [BZ #13924]
44465         * math/e_exp10.c: Include <float.h>.
44466         (__ieee754_exp10): Handle underflow here rather than multiplying
44467         large negative argument by M_LN10.
44468         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44469         of __ieee754_expf.
44470         * math/e_exp10l.c: Include <float.h>.
44471         (__ieee754_exp10l): Handle underflow here rather than multiplying
44472         large negative argument by M_LN10l.
44473         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44474         spurious overflow exception on underflow.
44476 2012-04-29  Marek Polacek  <polacek@redhat.com>
44478         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44479         (__fortify_function): New macro.
44480         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44481         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44482         __extern_always_inline.
44483         * libio/bits/stdio2.h: Likewise.
44484         * libio/bits/stdio.h: Likewise.
44485         * string/string.h: Likewise.
44486         * string/bits/string3.h: Likewise.
44487         * include/stdio.h: Likewise.
44488         * stdlib/bits/stdlib.h: Likewise.
44489         * stdlib/stdlib.h: Likewise.
44490         * rt/bits/mqueue2.h: Likewise.
44491         * rt/mqueue.h: Likewise.
44492         * posix/bits/unistd.h: Likewise.
44493         * posix/unistd.h: Likewise.
44494         * io/bits/poll2.h: Likewise.
44495         * io/bits/fcntl2.h: Likewise.
44496         * io/fcntl.h: Likewise.
44497         * io/sys/poll.h: Likewise.
44498         * misc/bits/syslog.h: Likewise.
44499         * misc/bits/syslog-ldbl.h: Likewise.
44500         * misc/sys/syslog.h: Likewise.
44501         * socket/bits/socket2.h: Likewise.
44502         * socket/sys/socket.h: Likewise.
44503         * debug/tst-chk1.c: Likewise.
44504         * wcsmbs/bits/wchar2.h: Likewise.
44505         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44506         * wcsmbs/wchar.h: Likewise.
44508 2012-04-29  Andreas Jaeger  <aj@suse.de>
44510         * Makerules (tests): Remove enable-check-abi protection.
44511         (check-abi-warn): Remove.
44512         (check-abi-%): Remove check-abi-warn usage.
44514         * configure.in: Remove check-abi configure option.
44515         * configure: Regenerated.
44516         * config.make.in (enable-check-abi): Remove.
44518 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44520         [BZ #14033]
44521         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44522         double functions to double *_finite functions.
44524         [BZ #13941]
44525         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44526         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44527         LDBL_MIN_EXP.
44528         * stdio-common/Makefile (tests): Add tst-sprintf3.
44529         * stdio-common/tst-sprintf3.c: New file.
44531         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44532         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44534 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44536         * conform/conformtest.pl: Remove duplicate typed-constant
44537         handling.
44539 2012-04-28  David S. Miller  <davem@davemloft.net>
44541         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44542         (check-abi-%): Remove AWK script prerequisite and explicit
44543         abilist directory.
44544         (check-abi): Rewrite to just diff the symlist with the abilist.
44545         (config-tls, config-abi-config): Delete, no longer used.
44546         (update-abi-%): Remove AWK script and explicit abilist directory.
44547         (update-abi): Rewrite to simply compare and conditionally copy the
44548         symlist and the sysdep abilist file.  Remove update-abi-config
44549         checks.
44550         * abilist/ld.abilist: Remove.
44551         * abilist/libBrokenLocale.abilist: Remove.
44552         * abilist/libanl.abilist: Remove.
44553         * abilist/libcrypt.abilist: Remove.
44554         * abilist/libdl.abilist: Remove.
44555         * abilist/librt.abilist: Remove.
44556         * abilist/libthread_db.abilist: Remove.
44557         * abilist/libutil.abilist: Remove.
44558         * scripts/extract-abilist.awk: Remove.
44559         * scripts/merge-abilist.awk: Remove.
44560         * sysdeps/generic/libcidn.abilist: New file.
44561         * sysdeps/generic/libnss_compat.abilist: New file.
44562         * sysdeps/generic/libnss_db.abilist: New file.
44563         * sysdeps/generic/libnss_dns.abilist: New file.
44564         * sysdeps/generic/libnss_files.abilist: New file.
44565         * sysdeps/generic/libnss_hesiod.abilist: New file.
44566         * sysdeps/generic/libnss_nis.abilist: New file.
44567         * sysdeps/generic/libnss_nisplus.abilist: New file.
44568         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44569         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44570         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44571         file.
44572         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44573         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44574         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44575         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44576         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44577         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44578         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44579         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44580         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44581         file.
44582         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44583         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44584         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44585         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44586         file.
44587         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44588         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44589         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44590         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44591         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44592         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44593         file.
44594         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44595         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44596         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44597         file.
44598         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44599         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44600         New file.
44601         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44602         New file.
44603         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44604         New file.
44605         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44606         New file.
44607         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44608         New file.
44609         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44610         New file.
44611         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44612         New file.
44613         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44614         New file.
44615         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44616         New file.
44617         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44618         New file.
44619         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44620         New file.
44621         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44622         New file.
44623         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44624         New file.
44625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44626         file.
44627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44628         New file.
44629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44630         New file.
44631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44632         file.
44633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44634         New file.
44635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44636         New file.
44637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44638         file.
44639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44640         New file.
44641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44642         New file.
44643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44644         New file.
44645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44646         New file.
44647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44648         New file.
44649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44650         New file.
44651         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44653         file.
44654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44655         New file.
44656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44657         file.
44658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44659         file.
44660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44661         file.
44662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44663         file.
44664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44665         file.
44666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44667         New file.
44668         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44669         file.
44670         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44671         file.
44672         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44673         New file.
44674         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44675         file.
44676         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44678         file.
44679         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44680         New file.
44681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44682         file.
44683         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44684         file.
44685         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44686         file.
44687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44688         file.
44689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44690         file.
44691         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44692         New file.
44693         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44694         file.
44695         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44696         file.
44697         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44698         New file.
44699         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44700         file.
44701         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44702         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44703         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44704         file.
44705         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44706         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44707         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44708         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44709         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44710         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44711         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44712         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44713         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44714         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44715         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44716         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44717         file.
44718         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44719         New file.
44720         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44721         file.
44722         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44723         file.
44724         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44725         file.
44726         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44727         file.
44728         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44729         file.
44730         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44731         New file.
44732         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44733         New file.
44734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44735         file.
44736         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44737         New file.
44738         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44739         file.
44740         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44742         file.
44743         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44744         New file.
44745         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44746         file.
44747         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44748         file.
44749         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44750         file.
44751         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44752         file.
44753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44754         file.
44755         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44756         New file.
44757         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44758         New file.
44759         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44760         file.
44761         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44762         New file.
44763         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44764         file.
44766 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44768         * conform/conformtest.pl: Fix typo in handling typed-constant from
44769         allow-header.
44771 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44773         * README: Cut down references to pre-2.6 Linux kernels and
44774         Linuxthreads.  Update lists of configurations in libc and ports
44775         and sort alphabetically.  Say "or newer" with Linux kernel version
44776         requirements.
44778         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44780 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44782         [BZ #887]
44783         * math/libm-test.inc (logb_test_downward): New test to expose
44784         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44785         rounding mode.
44787 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44789         [BZ #14027]
44790         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44791         to be done.
44792         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44793         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44795 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44797         * sysdeps/unix/i386/brk.S: Remove file.
44798         * sysdeps/unix/i386/dl-brk.S: Likewise.
44799         * sysdeps/unix/i386/pipe.S: Likewise.
44800         * sysdeps/unix/i386/sigreturn.S: Likewise.
44801         * sysdeps/unix/i386/syscall.S: Likewise.
44802         * sysdeps/unix/i386/vfork.S: Likewise.
44803         * sysdeps/unix/i386/wait.S: Likewise.
44805         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44806         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44808         * configure.in (arm*-none*): Do not allow without
44809         --enable-hacker-mode.
44810         (netbsd*): Remove case setting base_os.
44811         (386bsd*): Likewise.
44812         (freebsd*): Likewise.
44813         (bsdi*): Likewise.
44814         (osf*): Likewise.
44815         (sunos*): Likewise.
44816         (ultrix*): Likewise.
44817         (newsos*): Likewise.
44818         (dynix*): Likewise.
44819         (*bsd*): Likewise.
44820         (sysv*): Likewise.
44821         (isc*): Likewise.
44822         (esix*): Likewise.
44823         (sco*): Likewise.
44824         (minix*): Likewise.
44825         (irix4*): Likewise.
44826         (irix6*): Likewise.
44827         (solaris[2-9]*): Likewise.
44828         (none): Likewise.
44829         * configure: Regenerated.
44831 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44833         [BZ #11521]
44834         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44835         overflow or cancellation in calculating denominator.
44836         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44837         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44838         down expression to avoid unexpected rounding in newer GCCs.
44839         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44841 2012-04-26  David S. Miller  <davem@davemloft.net>
44843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44844         long-double compat symbols.
44845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44851         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44852         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44853         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44854         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44856         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44857         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44859 2012-04-25  David S. Miller  <davem@davemloft.net>
44861         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44862         HWCAP_* values only after the memory barriers have been defined.
44863         (atomic_full_barrier): Define.
44864         (atomic_read_barrier): Define.
44865         (atomic_write_barrier): Define.
44867 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44869         * shlib-versions: Add libgcc_s version information.
44870         * sysdeps/generic/libgcc_s.h: Remove.
44871         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44872         libgcc_s.h.
44873         * sysdeps/gnu/unwind-resume.c: Likewise.
44874         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44876 2012-04-25  David S. Miller  <davem@davemloft.net>
44878         * sysdeps/unix/sparc/brk.S: Delete.
44879         * sysdeps/unix/sparc/dl-brk.S: Delete.
44880         * sysdeps/unix/sparc/pipe.S: Delete.
44881         * sysdeps/unix/sparc/sysdep.S: Delete.
44882         * sysdeps/unix/sparc/sysdep.h: Delete.
44883         * sysdeps/unix/sparc/vfork.S: Delete.
44884         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44885         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44886         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44887         (ret_ERRVAL, r0, r1, MOVE): Define.
44888         (JUMPTARGET): Remove.
44889         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44890         sysdeps/unix/sparc/sysdep.h
44891         (ENTRY, END): Remove.
44892         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44894 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44896         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44897         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44898         -DIS_IN_build.
44900         * timezone/README: Update upstream location and email address for
44901         tzcode and tzdata.
44902         * timezone/zdump.c: Update from tzcode 2012b.
44903         * timezone/zic.c: Likewise.
44905         * configure.in (libc_cv_as_needed): Remove test.
44906         * configure: Regenerated.
44907         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44908         conditional definition.
44909         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44910         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44911         * config.make.in (have-as-needed): Remove variable.
44913 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44914             Paul Pluzhnikov  <ppluzhnikov@google.com>
44916         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44917         strings correctly.
44919 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44921         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44922         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44923         * sysdeps/sh/strlen.S: Likewise.
44925 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44927         * sysdeps/unix/fork.S: Remove file.
44928         * sysdeps/unix/i386/fork.S: Likewise.
44929         * sysdeps/unix/sparc/fork.S: Likewise.
44931         * sysdeps/unix/system.c: Remove file.
44932         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44934         * sysdeps/unix/getegid.S: Remove file.
44935         * sysdeps/unix/geteuid.S: Likewise.
44937 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44939         * scripts/check-localplt.awk: New file.
44940         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44941         of diff.
44942         * scripts/data/localplt-generic.data: Add a comment.
44944         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44945         NODE when __dir_mkfile failed.
44946         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44947         Reported by Ludovic Courtès <ludo@gnu.org>.
44949 2012-04-24  Andreas Jaeger  <aj@suse.de>
44951         * Makerules (common-clean): Also remove gen-as-const-headers
44952         files.
44954 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44956         * Makerules (native-compile): Do not change working directory for
44957         build.  Use $(OUTPUT_OPTION) in command.
44958         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44960 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44962         [BZ #13886]
44963         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44964         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44965         * math/libm-test.inc (floor_test): Add more tests.
44966         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44968 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44970         * sysdeps/unix/getdents.c: Remove file.
44971         * sysdeps/unix/sysv/getdents.c: Likewise.
44972         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44974         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44975         sysdeps/unix/mman/syscalls.list.
44976         (mmap): Likewise.
44977         (mprotect): Likewise.
44978         (msync): Likewise.
44979         (munmap): Likewise.
44980         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44981         * sysdeps/unix/mman/syscalls.list: Remove.
44982         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44984         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44985         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44986         * configure: Regenerated.
44987         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44988         $(libgcc_s_suffix).
44989         * config.make.in (libgcc_s_suffix): Remove variable.
44991 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44993         * sysdeps/unix/sysv/gethostname.c: Move to ...
44994         * sysdeps/posix/gethostname.c: ... here.
44996         * sysdeps/unix/execve.S: Remove file.
44998         * sysdeps/unix/_exit.S: Remove file.
45000 2012-04-23  Andreas Jaeger  <aj@suse.de>
45002         [BZ #13739]
45003         * manual/Makefile: Remove make dist support, there's no
45004         need for a stand-alone documentation tar ball.
45005         (TEXI2DVI): Define always, it's not in Makeconfig.
45006         (dist): Removed.
45007         (tar-it): Removed.
45008         (edition): Removed.
45009         (glibc-doc-$(edition).tar): Removed
45010         (%.Z): Removed.
45011         (%.gz): Removed.
45012         (%.uu): Removed.
45013         (ETAGS): Remove, it's in Makeconfig.
45014         (move-if-change): Remove, it's in Makeconfig.
45016 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
45018         [BZ #13970]
45019         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45020         (strtod, strtof, strtold, strtol, strtoul, strtoq)
45021         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45022         (strtod_l, strtof_l, strtold_l): Remove __wur.
45023         It is not necessarily an error to ignore strtol's return value.
45024         One can reliably look at the stored endptr to decide whether
45025         the number had valid syntax.
45027 2012-04-21  Andreas Jaeger  <aj@suse.de>
45029         [BZ #13739]
45030         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45032 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
45034         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45035         * sysdeps/unix/sysv/Versions: Remove file.
45037 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
45039         [BZ #13927]
45040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45042 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
45044         [BZ #7064]
45045         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45046         version from __vm86.
45048 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
45050         * sysdeps/unix/common/lxstat.c: Remove file.
45051         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45053         * sysdeps/unix/sysv/Makefile: Remove file.
45055         * sysdeps/unix/sysv/direct.h: Remove file.
45057         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45058         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45059         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45060         * sysdeps/unix/sysv/bits/signum.h: Likewise.
45061         * sysdeps/unix/sysv/bits/stat.h: Likewise.
45062         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45063         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45065         * sysdeps/unix/sysv/setrlimit.c: Remove file.
45067         * sysdeps/unix/xmknod.c: Remove file.
45068         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45070         * sysdeps/unix/sysv/settimeofday.c: Remove file.
45072         * sysdeps/unix/sysv/i386/time.S: Remove file.
45074         * sysdeps/unix/fxstat.c: Remove file.
45075         * sysdeps/unix/xstat.c: Likewise.
45076         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45078         * sysdeps/unix/sysv/sigaction.c: Remove file.
45080         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45081         (sysdep_headers): Remove variable.
45082         [termio.h not in sysdep_headers] (generated): Likewise.
45083         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45084         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45085         * sysdeps/unix/sysv/tcdrain.c: Likewise.
45086         * sysdeps/unix/sysv/tcflow.c: Likewise.
45087         * sysdeps/unix/sysv/tcflush.c: Likewise.
45088         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45089         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45090         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45091         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45092         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45094         * sysdeps/unix/siglist.c: Remove file.
45096         * sysdeps/unix/getppid.S: Remove file.
45098         * sysdeps/unix/mkdir.c: Remove file.
45099         * sysdeps/unix/rmdir.c: Likewise.
45101 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
45103         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45104         ERR_MAX value.
45105         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45106         errlist-compat value.
45108 2012-04-18  David S. Miller  <davem@davemloft.net>
45110         * sysdeps/generic/memcopy.h (reg_char): Delete.
45111         * debug/strcat_chk.c: Use char, not reg_char.
45112         * debug/strcpy_chk.c: Likewise.
45113         * debug/strncat_chk.c: Likewise.
45114         * debug/strncpy_chk.c: Likewise.
45115         * string/memchr.c: Likewise.
45116         * string/memrchr.c: Likewise.
45117         * string/rawmemchr.c: Likewise.
45118         * string/strcat.c: Likewise.
45119         * string/strchr.c: Likewise.
45120         * string/strchrnul.c: Likewise.
45121         * string/strcmp.c: Likewise.
45122         * string/strcpy.c: Likewise.
45123         * string/strncat.c: Likewise.
45124         * string/strncmp.c: Likewise.
45125         * string/strncpy.c: Likewise.
45127 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45129         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45130         __builtin_memcopy is called when src and dest ranges are known to not
45131         overlap.
45133 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45135         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45136         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45137         fwd_align_merge macro call.
45138         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45139         bwd_align_merge macro call.
45140         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45142 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45144         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45145         bwd_align_merge macros.
45146         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45147         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45148         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45150 2012-04-18  David S. Miller  <davem@davemloft.net>
45152         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45154 2012-04-18  Andreas Jaeger  <aj@suse.de>
45156         [BZ# 6794]
45157         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45158         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45159         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45161         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45162         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45163         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45165         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45166         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45167         Adjust for changed ldbl-128 files.
45169         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45170         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45171         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45173 2012-04-17  David S. Miller  <davem@davemloft.net>
45175         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45177 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45179         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45180         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45181         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45182         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45183         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45184         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45186 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45188         [BZ #6794]
45189         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45190         * math/libm-test.inc: Add ilogb errno and exception tests.
45191         * math/w_ilogb.c: New file: ilogb wrapper.
45192         * math/w_ilogbf.c: New file: ilogbf wrapper.
45193         * math/w_ilogbl.c: New file: ilogbl wrapper.
45194         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45195         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45196         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45197         exception being thrown with 0.0 as argument.
45198         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45199         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45200         exception being thrown with 0.0 as argument.
45201         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45202         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45203         exception being thrown with 0.0 as argument.
45204         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45205         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45206         exception being thrown with 0.0 as argument.
45207         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45208         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45209         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45210         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45211         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45212         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45213         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45214         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45215         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45217 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45219         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45220         with altivec.
45222 2012-04-16  Marek Polacek  <polacek@redhat.com>
45224         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45226 2012-04-16  Marek Polacek  <polacek@redhat.com>
45228         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45229         operands of fdivp instruction.
45231 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45233         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45234         * elf/tst-auditmod3b.c: Likewise.
45235         * elf/tst-auditmod4b.c: Likewise.
45236         * elf/tst-auditmod5b.c: Likewise.
45237         * elf/tst-auditmod6b.c: Likewise.
45238         * elf/tst-auditmod6c.c: Likewise.
45239         * elf/tst-auditmod7b.c: Likewise.
45240         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45241         * sysdeps/x86_64/preconfigure.in: Likewise.
45242         * sysdeps/x86_64/preconfigure: Regenerated.
45244 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45246         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45247         __ILP32__.
45249 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45251         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45252         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45254 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45256         [BZ #13973]
45257         * locale/iso-639.def: Fix gl language name. Spotted by
45258         Yaron Shahrabani.
45260 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45262         [BZ #2074]
45263         * libio/libio.h (__io_write_fn): Update comment.
45265 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45267         [BZ #2074]
45268         * stdio.texi (Hook Functions): The user provided writer function
45269         is not allowed to return -1.
45271 2012-04-11  David S. Miller  <davem@davemloft.net>
45273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45275 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45277         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45278         Add a leading slash to rtkaio.
45280 2012-04-11  Jim Meyering  <meyering@redhat.com>
45282         [BZ #11959]
45283         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45284         It is not necessarily an error to ignore fwrite's return
45285         value.  One can reliably use ferror to test for errors after
45286         the fact.
45288 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45290         * bits/types.h (__snseconds_t): New type.
45291         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45293         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45294         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45295         (__SNSECONDS_T_TYPE): Likewise.
45296         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45297         (__SNSECONDS_T_TYPE): Likewise.
45298         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45299         (__SNSECONDS_T_TYPE): Likewise.
45301 2012-04-10  Andreas Jaeger  <aj@suse.de>
45303         [BZ #2636]
45304         * manual/time.texi (Processor Time): Return type of times is
45305         elapsed real time since an arbitrary point in the past.
45306         (CPU Time): Move CLK_TCK from here...
45307         (Processor Time): ...to here.  Correct description.
45308         * manual/conf.texi (Constants for Sysconf): Correct description of
45309         _SC_CLK_TCK.
45311 2012-04-10  David S. Miller  <davem@davemloft.net>
45313         [BZ #13967]
45314         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45315         where the is a gap between DT_REL(A) and DT_JMPREL.
45317 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45319         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45320         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45321         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45323 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45325         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45326         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45327         (dl_main): Handle --inhibit-cache.
45328         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45329         _dl_inhibit_cache.
45330         * elf/dl-load.c (_dl_map_object): Use it.
45331         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45333 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45335         [BZ #13872]
45336         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45337         (__ieee754_powl): Saturate large exponents rather than testing for
45338         overflow of y*log2(x).
45339         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45340         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45341         exceptions.
45343         [BZ #11521]
45344         * math/s_ctan.c: Include <float.h>.
45345         (__ctan): Avoid internal overflow or cancellation in calculating
45346         denominator.
45347         * math/s_ctanf.c: Likewise.
45348         * math/s_ctanl.c: Likewise.
45349         * math/s_ctanh.c: Likewise.
45350         * math/s_ctanhf.c: Likewise.
45351         * math/s_ctanhl.c: Likewise.
45352         * math/libm-test.inc (ctan_test): Add more tests.
45353         (ctanh_test): Likewise.
45354         * sysdeps/i386/fpu/libm-test-ulps: Update.
45355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45357 2012-04-09  Andreas Jaeger  <aj@suse.de>
45359         [BZ #6894]
45360         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45361         is an optional BSD extension.
45363         [BZ #10254]
45364         * manual/stdio.texi (Opening Streams): Document additional fopen
45365         parameters.
45367 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45369         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45370         %eax without telling the compiler.
45372 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45374         [BZ # 13963]
45375         * manual/install.texi: Use sourceware.org.
45377 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45379         [BZ #13873]
45380         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45381         (__ieee754_pow): Generate overflow and underflow using huge*huge
45382         and tiny*tiny rather than just returning constant infinity or zero
45383         for large exponents.
45384         * math/libm-test.inc (pow_test): Require overflow exceptions for
45385         applicable cases of large exponents.
45387         [BZ #706]
45388         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45389         (__ieee754_pow): Use iterative multiplication algorithm only for
45390         integer exponents with absolute value below 1024.  Check for odd
45391         integer exponents when using algorithm for real exponents.
45392         * math/libm-test.inc (pow_test): Add more tests.
45393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45395 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45397         [BZ #13705]
45398         * math/libm-test.inc (exp_test): Do not allow overflow exception
45399         on underflow test.
45401 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45403         [BZ #13705]
45404         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45405         instead of __kernel_standard_f.
45407 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45409         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45410         * sysdeps/x86_64/memset_chk.S: Likewise.
45412 2012-04-08  Andreas Jaeger  <aj@suse.de>
45414         [BZ #10153]
45415         * manual/startup.texi (Environment Access): Describe return value
45416         for putenv and setenv.
45418         [BZ #6895]
45419         * manual/filesys.texi (Directory Entries): Add description for
45420         DT_LNK.
45422         [BZ #6890]
45423         * manual/filesys.texi (Directory Entries): Clarify that it's file
45424         system not operating system in the description of DT_UNKNOWN.
45426         [BZ #6578]
45427         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45429 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45431         [BZ #6649]
45432         * manual/llio.texi (Opening and Closing Files): Add cross
45433         reference to explain mode argument.
45435 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45437         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45438         * sysdeps/x86_64/memset_chk.S: Likewise.
45440 2012-04-07  David S. Miller  <davem@davemloft.net>
45442         * elf/elf.h (R_SPARC_WDISP10): Define.
45443         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45444         R_SPARC_SIZE32.
45445         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45446         R_SPARC_SIZE64 and R_SPARC_H34.
45448 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45450         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45451         conditions and remove no longer applicable assertion.
45453 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45455         * bits/byteswap.h: Include <features.h>.
45456         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45457         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45459 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45461         * bits/byteswap.h (__bswap_16): Removed.
45462         Include <bits/byteswap-16.h> to get __bswap_16.
45463         * sysdeps/i386/bits/byteswap.h: Likewise.
45464         * sysdeps/s390/bits/byteswap.h: Likewise.
45465         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45466         * bits/byteswap-16.h: New file.
45467         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45468         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45469         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45470         * string/Makefile (headers): Add bits/byteswap-16.h.
45472 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45474         [BZ #13895]
45475         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45476         extra indirection.
45477         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45478         * nss/tst-nss-static.c: New.
45480 2012-04-06  Robert Millan  <rmh@gnu.org>
45482         [BZ #6486]
45483         * manual/llio.texi (File Position Primitive): lseek
45484         refers to WHENCE when it really means OFFSET.
45486 2012-04-06  Andreas Jaeger  <aj@suse.de>
45488         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45489         strncmp declarations.
45491         * abilist/libc.abilist: Add __poll and __ppoll.
45493 2012-04-05  David S. Miller  <davem@davemloft.net>
45495         * scripts/check-local-headers.sh: Accept a host triplet in the
45496         path matched by the exclude regexp.
45498         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45499         definition.
45500         * sysdeps/powerpc/powerpc32/dl-machine.h
45501         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45502         * sysdeps/s390/s390-32/dl-machine.h
45503         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45504         * sysdeps/sparc/sparc32/dl-machine.h
45505         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45506         * sysdeps/sparc/sparc64/dl-machine.h
45507         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45509         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45510         lazy binding.
45511         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45512         undefined symbol errors.
45514         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45515         DT_NEEDED entries.
45517 2012-04-05  Michael Matz  <matz@suse.de>
45519         [BZ #13592]
45520         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45522 2012-04-05  Andreas Jaeger  <aj@suse.de>
45524         [BZ #13908]
45525         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45526         comment.
45528 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45530         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45531         which ROUND is no valid rounding mode.
45533 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45535         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45536         read again.
45537         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45539 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45541         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45542         an exception using FPU order intentionally.
45544 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45546         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45547         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45548         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45549         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45551 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45553         [BZ #12340]
45554         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45555         EINVAL when BUFLEN is too smal.
45557 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45559         [BZ #13553]
45560         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45561         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45563 2012-04-03  Andreas Jaeger  <aj@suse.de>
45565         [BZ #13938]
45566         * manual/setjmp.texi (System V contexts): Fix sentence.
45568         [BZ #13926]
45569         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45570         New macro for this case.
45571         [!__GNUC__] (__bswap_64): New inline function for this case.
45572         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45573         * bits/byteswap.h: Likewise.
45574         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45575         ull, guard with __GLIBC_HAVE_LONG_LONG.
45577         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45578         __GLIBC_HAVE_LONG_LONG.
45580         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45581         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45583 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45585         [BZ #13691]
45586         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45587         inptr and inend, rather than using last_ch.
45589 2012-04-02  David S. Miller  <davem@davemloft.net>
45591         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45592         * stdio-common/printf-parse.h (read_int): Change return type to
45593         'int', return -1 on INT_MAX overflow.
45594         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45595         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45596         overflows INT_MAX.  Check for overflow of in-format-string precision
45597         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45598         SIZE_MAX not INT_MAX for integer overflow test.
45599         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45600         skip the construct in the format string but do not record anything.
45601         * stdio-common/bug22.c: Adjust to test both width/prevision
45602         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45603         explicitly for proper errno values.
45605 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45607         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45608         CHAR_MAX.
45609         * string/test-strcmp.c [! WIDE]: Likewise.
45610         * time/tst-mktime2.c: Likewise for INT_MAX.
45611         * string/test-string.h: #include <sys/param.h> for MIN.
45613         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45614         * sysdeps/i386/init-first.c (init): Likewise.
45615         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45616         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45617         * sysdeps/sh/init-first.c (init): Likewise.
45619 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45621         * po/ru.po: Update from translation team.
45622         * po/vi.po: Likewise.
45624 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45626         * resolv/nss_dns/dns-host.c: Merge copyright years.
45628 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45630         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45631         Optimize memcpy with prefetch if
45632         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45633         src, dst pointers have unequal 16 byte alignments.
45635 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45637         [BZ #13928]
45638         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45639         from a CNAME entry and return the minimum ttl for the query.
45640         (gaih_getanswer_slice): Likewise.
45642 2012-03-30  Jeff Law  <law@redhat.com>
45644         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45645         due to long keys.
45646         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45647         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45649         * resolv/nss_dns/dns-host.c: Update copyright year.
45651 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45653         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45654         requests to save a system call.  Fix check that all bytes are sent.
45656         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45657         comments for sendmmsg.
45659 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45661         [BZ #13691]
45662         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45663         with only 1 character between 0x0041 and 0x01b0.
45664         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45665         * wcsmbs/tst-mbsnrtowcs.c: New file.
45667 2012-03-29  David S. Miller  <davem@davemloft.net>
45669         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45670         small copies by hand.
45672 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45674         [BZ #13761]
45675         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45676         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45677         group memberships.
45679 2012-03-28  David S. Miller  <davem@davemloft.net>
45681         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45682         that branches into memcpy.
45683         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45684         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45685         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45686         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45687         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45688         bits.
45689         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45690         implementation too.
45691         * sysdeps/sparc/mempcpy.S: New file.
45693         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45694         the IFUNC routine in the libc case.
45695         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45697         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45698         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45699         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45700         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45701         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45702         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45703         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45704         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45706         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45707         loop to 256 bytes instead of 64 bytes and fix test signedness.
45709         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45710         * sysdeps/sparc/sparc32/Makefile: rather than here...
45711         * sysdeps/sparc/sparc64/Makefile: and here.
45713 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45715         * malloc/mallocbug.c: Avoid warnings about unused variables.
45717 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45719         [BZ #13760]
45720         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45721         in the right place. Discard and retry query if response is
45722         larger than input buffer size.
45724 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45726         [BZ #369]
45727         [BZ #2678]
45728         [BZ #3866]
45729         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45730         x for large integer exponent.
45731         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45732         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45733         sign of result as needed afterwards.
45734         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45735         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45736         result for underflowing pow the same as for overflow.
45737         (__kernel_standard_l): Handle powl overflow and underflow here
45738         rather than calling __kernel_standard.
45739         * math/libm-test.inc (pow_test): Add more tests.
45741         [BZ #3868]
45742         [BZ #13879]
45743         [BZ #13910]
45744         [BZ #13911]
45745         [BZ #13912]
45746         [BZ #13913]
45747         [BZ #13915]
45748         [BZ #13916]
45749         [BZ #13917]
45750         [BZ #13918]
45751         [BZ #13919]
45752         [BZ #13920]
45753         [BZ #13921]
45754         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45755         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45756         (__kernel_standard_l): New function.
45757         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45758         __kernel_standard.
45759         * math/w_acosl.c (__acosl): Likewise.
45760         * math/w_asinl.c (__asinl): Likewise.
45761         * math/w_atan2l.c (__atan2l): Likewise.
45762         * math/w_atanhl.c (__atanhl): Likewise.
45763         * math/w_coshl.c (__coshl): Likewise.
45764         * math/w_exp10l.c (__exp10l): Likewise.
45765         * math/w_exp2l.c (__exp2l): Likewise.
45766         * math/w_fmodl.c (__fmodl): Likewise.
45767         * math/w_hypotl.c (__hypotl): Likewise.
45768         * math/w_j0l.c (__j0l, __y0l): Likewise.
45769         * math/w_j1l.c (__j1l, __y1l): Likewise.
45770         * math/w_jnl.c (__jnl, __ynl): Likewise.
45771         * math/w_lgammal.c (__lgammal): Likewise.
45772         * math/w_log10l.c (__log10l): Likewise.
45773         * math/w_log2l.c (__log2l): Likewise.
45774         * math/w_logl.c (__logl): Likewise.
45775         * math/w_powl.c (__powl): Likewise.
45776         * math/w_remainderl.c (__remainderl): Likewise.
45777         * math/w_scalbl.c (sysv_scalbl): Likewise.
45778         * math/w_sinhl.c (__sinhl): Likewise.
45779         * math/w_sqrtl.c (__sqrtl): Likewise.
45780         * math/w_tgammal.c (__tgammal): Likewise.
45781         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45782         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45783         * math/libm-test.inc (acos_test): Add more tests.
45784         (acosh_test): Likewise.
45785         (asin_test): Likewise.
45786         (atanh_test): Likewise.
45787         (exp_test): Likewise.
45788         (exp10_test): Likewise.
45789         (exp2_test): Likewise.
45790         (expm1_test): Likewise.
45791         (lgamma_test): Likewise.
45792         (log_test): Likewise.
45793         (log10_test): Likewise.
45794         (log1p_test): Likewise.
45795         (log2_test): Likewise.
45796         (pow_test): Do not allow some spurious overflow exceptions.
45797         (sqrt_test): Add more tests.
45798         (tgamma_test): Likewise.
45799         (y0_test): Likewise.
45800         (y1_test): Likewise.
45801         (yn_test): Likewise.
45803 2012-03-27  Anton Blanchard  <anton@samba.org>
45805         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45806         MAP_HUGETLB.
45807         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45808         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45809         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45811 2012-03-27  David S. Miller  <davem@davemloft.net>
45813         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45815         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45816         have-as-vis3 check.
45818 2012-03-27  Andreas Jaeger  <aj@suse.de>
45820         * sysdeps/x86_64/elf/configure.in: Moved to ...
45821         * sysdeps/x86_64/configure.in: ... here.
45822         * sysdeps/x86_64/elf/start.S: Moved to ...
45823         * sysdeps/x86_64/start.S: ... here.
45824         * sysdeps/x86_64/elf/configure: Delete.
45826         * sysdeps/x86_64/configure.in: Merge contents from
45827         sysdeps/i386/configure.in (without i686 check).
45829         * sysdeps/i386/elf/Versions: Merge into ...
45830         * sysdeps/i386/Versions: ... this.
45831         * sysdeps/i386/elf/Versions: Delete file.
45832         * sysdeps/i386/elf/start.S: Moved to ...
45833         * sysdeps/i386/start.S: ...here.
45834         * sysdeps/i386/elf/configure.in: Merge into...
45835         * sysdeps/i386/configure.in: ...here.
45836         * sysdeps/i386/elf/configure.in: Delete file.
45837         * sysdeps/i386/elf/configure: Delete file.
45839         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45840         * debug/backtracesyms.c: ... here.
45841         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45842         * debug/backtracesymsfd.c: ... here.
45843         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45844         * sysdeps/generic/ifunc-sel.h: ... here.
45846         * sysdeps/unix/i386/start.c: Delete file.
45847         * sysdeps/unix/sparc/start.c: Delete file.
45848         * sysdeps/unix/start.c: Delete file.
45850         * sysdeps/sh/elf/configure.in: Moved to ...
45851         * sysdeps/sh/configure.in: ... here.
45852         * sysdeps/sh/elf/start.S: Moved to ...
45853         * sysdeps/sh/start.S: ... here.
45854         * sysdeps/sh/elf/configure: Delete file.
45856         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45857         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45858         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45859         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45860         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45861         * sysdeps/powerpc/powerpc64/start.S: here.
45862         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45863         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45864         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45865         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45866         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45868         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45869         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45870         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45871         * sysdeps/powerpc/powerpc32/start.S: ... here.
45872         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45873         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45874         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45876         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45877         * sysdeps/powerpc/ifunc-sel.h: ... here.
45878         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45879         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45881         * sysdeps/sparc/elf/configure.in: Moved to ...
45882         * sysdeps/sparc/configure.in: ... here.
45883         * sysdeps/sparc/elf/configure: Delete file.
45884         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45885         * sysdeps/sparc/sparc32/start.S: ... here.
45886         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45887         * sysdeps/sparc/sparc64/start.S: ... here.
45888         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45889         * sysdeps/sparc/sparc32/Makefile: ... this.
45890         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45891         * sysdeps/sparc/sparc64/Makefile: ... this.
45893         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45894         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45895         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45896         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45897         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45898         * sysdeps/s390/s390-32/setjmp.S: ... here.
45899         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45900         * sysdeps/s390/s390-32/configure.in: ... here.
45901         * sysdeps/s390/s390-32/elf/configure: Delete file.
45902         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45903         * sysdeps/s390/s390-32/start.S: ... here.
45905         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45906         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45907         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45908         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45909         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45910         * sysdeps/s390/s390-64/setjmp.S: ... here.
45911         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45912         * sysdeps/s390/s390-64/configure.in: ... here
45913         * sysdeps/s390/s390-64/elf/configure: Delete file.
45914         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45915         * sysdeps/s390/s390-64/start.S: ... here.
45916         * sysdeps/s390/s390-64/elf/configure: Delete.
45918         * configure.in: Remove support for elf directories in sysdeps.
45920         * configure: Regenerated.
45921         * sysdeps/i386/configure: Regenerated.
45922         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45923         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45924         * sysdeps/s390/s390-32/configure: Regenerated.
45925         * sysdeps/s390/s390-64/configure: Regenerated.
45926         * sysdeps/sh/configure: Regenerated.
45927         * sysdeps/sparc/configure: Regenerated.
45928         * sysdeps/x86_64/configure: Regenerated.
45930 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45935         denormal result into account.
45937 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45939         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45940         Reported by Allan McRae <allan@archlinux.org>.
45942 2012-03-23  Jeff Law  <law@redhat.com>
45944         * nss/getnssent.c (__nss_getent): Fix typo.
45946 2012-03-23  David S. Miller  <davem@davemloft.net>
45948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45950 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45952         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45953         to pad to uint64_t for each field.
45954         (dl_tls_index): Replace unsigned long with uint64_t.
45956 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45957         Paul Pluzhnikov  <ppluzhnikov@google.com>
45959         [BZ #6528]
45960         * grp/Makefile (otherlibs): Don't set it.
45961         * inet/Makefile (otherlibs): Likewise.
45962         * login/Makefile (otherlibs): Likewise.
45963         * nscd/Makefile (otherlibs): Likewise.
45964         * posix/Makefile (otherlibs): Likewise.
45965         * pwd/Makefile (otherlibs): Likewise.
45966         * rt/Makefile (otherlibs): Likewise.
45967         * sunrpc/Makefile (otherlibs): Likewise.
45968         * nss/Makefile (otherlibs): Likewise.
45969         Add libnss_files to routines and static-only-routines.
45970         ($(objpfx)getent): Remove rule.
45971         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45972         static-only-routines.
45974 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45976         [BZ #13892]
45977         * math/s_cexp.c: Include <float.h>.
45978         (__cexp): Handle exp result overflowing not necessarily
45979         overflowing both real and imaginary parts of result.
45980         * math/s_cexpf.c: Likewise.
45981         * math/s_cexpl.c: Likewise.
45982         * math/libm-test.inc (cexp_test): Add more tests.
45983         * sysdeps/i386/fpu/libm-test-ulps: Update.
45984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45986 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45988         * include/link.h (ELFW): New macro.
45989         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45990         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45992 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45994         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45995         with uint64_t.
45997 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45999         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46000         declaration.
46001         (struct La_x32_retval): Likewise.
46003 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46005         * sysdeps/x86_64/preconfigure.in: New file.
46006         * sysdeps/x86_64/preconfigure: New generated file.
46008 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46010         [BZ #13824]
46011         * math/e_exp2l.c: Include <float.h>.
46012         (__ieee754_exp2l): Handle overflow and underflow cases
46013         separately.  Only pass fractional part of argument to
46014         __ieee754_expl.
46015         * math/libm-test.inc (exp2_test): Add more tests.
46017         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46018         negating x to take absolute value.
46019         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46020         Likewise.
46021         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46022         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46023         Likewise.
46024         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46025         computing low part if x was negated.
46026         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46028 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46030         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46031         la_x32_gnu_pltexit.
46032         (pltexit): Cast int_retval to ptrdiff_t.
46033         * elf/tst-auditmod3b.c: Likewise.
46034         * elf/tst-auditmod4b.c: Likewise.
46035         * elf/tst-auditmod5b.c: Likewise.
46036         * elf/tst-auditmod6b.c: Likewise.
46037         * elf/tst-auditmod6c.c: Likewise.
46038         * elf/tst-auditmod7b.c: Likewise.
46040         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46041         and x32_gnu_pltexit.
46043         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46044         __ELF_NATIVE_CLASS.
46045         (La_x32_regs): New macro.
46046         (La_x32_retval): Likewise.
46047         (la_x32_gnu_pltenter): New function prototype.
46048         (la_x32_gnu_pltexit): Likewise.
46050 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
46052         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46053         exponent.
46055         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46057         * configure.in (libc_cv_cc_nofma): Check for option to disable
46058         generation of FMA instructions.
46059         * configure: Regenerate.
46060         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46061         * sysdeps/ieee754/dbl-64/Makefile: New file.
46062         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46063         Remove brandred-fma4.
46064         (CFLAGS-brandred-fma4.c): Remove.
46065         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46066         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46067         define.
46068         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46069         define.
46071 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46073         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46074         LLONG_MAX != LONG_MAX.
46075         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46076         (_fitoa_word): Likewise.
46077         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46078         LLONG_MAX != LONG_MAX.
46079         * stdio-common/_itowa.h: Include <_itoa.h>.
46080         (_itowa_word): Use _ITOA_WORD_TYPE on value.
46081         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
46082         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
46083         only if not defined.
46084         (_ITOA_WORD_TYPE): Likewise.
46085         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46086         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46088 2012-03-21  David S. Miller  <davem@davemloft.net>
46090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46092 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46094         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46095         of x86_64 when setting libc_cv_slibdir, libdir and
46096         libc_cv_localedir.
46097         * sysdeps/unix/sysv/linux/configure: Regenerated.
46099 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46101         * manual/lang.texi (Old Varargs): Remove section.
46102         (How Variadic): Update menu.
46103         (va_start): Do not mention varargs.h.
46105 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46106             Joseph Myers  <joseph@codesourcery.com>
46108         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46109         link test.
46110         * configure: Regenerated.
46112 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46114         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46115         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46116         conformtest.pl
46118 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46120         * NOTES: Remove.
46121         * Makefile (files-for-dist): Remove NOTES.
46122         (NOTES): Remove rule.
46123         * README: Don't refer to NOTES.
46124         * manual/creature.texi: Don't include macros.texi.
46125         * manual/intro.texi (creature.texi): Remove comment referring to
46126         NOTES.
46128         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46129         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46130         * configure: Regenerated.
46131         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46132         LIBC_TRY_CC_OPTION.
46133         (libc_cv_as_i686): Likewise.
46134         (libc_cv_cc_avx): Likewise.
46135         (libc_cv_cc_sse2avx): Likewise.
46136         (libc_cv_cc_fma4): Likewise.
46137         (libc_cv_cc_novzeroupper): Likewise.
46138         * sysdeps/i386/configure: Regenerated.
46140         [BZ #13883]
46141         * sysdeps/i386/fpu/s_cexp.S: Remove.
46142         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46143         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46144         * math/libm-test.inc (cexp_test): Add more tests.
46145         * sysdeps/i386/fpu/libm-test-ulps: Update.
46146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46148 2012-03-21  Allan McRae  <allan@archlinux.org>
46150         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46152 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46154         [BZ #13871]
46155         * math/w_exp2.c: Do not include <float.h>.
46156         (o_threshold, u_threshold): Remove.
46157         (__exp2): Calculate result before checking finiteness and calling
46158         __kernel_standard.
46159         * math/w_exp2f.c: Likewise.
46160         * math/w_exp2l.c: Likewise.
46161         * math/libm-test.inc (exp2_test): Require overflow exception for
46162         1e6 input.
46164         [BZ #3866]
46165         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46166         range of signed 64-bit integers before using fistpll.  Remove
46167         checks for whether integers fit in mantissa bits.
46168         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46169         the range of signed 32-bit integers before using fistpl.  Remove
46170         checks for whether integers fit in mantissa bits.
46171         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46172         (__ieee754_powl): Test for y outside the range of signed 64-bit
46173         integers before using fistpll.  Reduce 64-bit values to 63-bit
46174         ones as needed.
46175         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46176         divide-by-zero is raised for zero to large negative powers.
46177         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46178         (__ieee754_powl): Test for y outside the range of signed 64-bit
46179         integers before using fistpll.  Reduce 64-bit values to 63-bit
46180         ones as needed.
46181         * math/libm-test.inc (pow_test): Add more tests.
46183 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46185         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46186         <stdio-common/_itoa.h>.
46187         * debug/segfault.c: Likewise.
46188         * elf/dl-cache.c: Likewise.
46189         * elf/dl-minimal.c: Likewise.
46190         * elf/dl-misc.c: Likewise.
46191         * elf/dl-sysdep.c: Likewise.
46192         * elf/dl-version.c: Likewise.
46193         * elf/rtld.c: Likewise.
46194         * hurd/hurdsock.c: Likewise.
46195         * hurd/lookup-retry.c: Likewise.
46196         * malloc/malloc.c: Likewise.
46197         * malloc/mtrace.c: Likewise.
46198         * nscd/nscd_getgr_r.c: Likewise.
46199         * nscd/nscd_getpw_r.c: Likewise.
46200         * nscd/nscd_getserv_r.c: Likewise.
46201         * posix/getopt_init.c: Likewise.
46202         * posix/wordexp.c: Likewise.
46203         * stdio-common/_itoa.c: Likewise.
46204         * stdio-common/printf_fphex.c: Likewise.
46205         * stdio-common/vfprintf.c: Likewise.
46206         * string/_strerror.c: Likewise.
46207         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46208         * sysdeps/i386/i686/hp-timing.h: Likewise.
46209         * sysdeps/mach/_strerror.c: Likewise.
46210         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46211         * sysdeps/mach/hurd/sethostid.c: Likewise.
46212         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46213         * sysdeps/mach/xpg-strerror.c: Likewise.
46214         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46215         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46216         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46217         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46218         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46219         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46220         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46221         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46222         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46223         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46224         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46225         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46226         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46227         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46228         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46229         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46230         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46231         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46232         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46233         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46234         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46236         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46238         * stdio-common/_itoa.h: Moved to ...
46239         * sysdeps/generic/_itoa.h: Here.
46241         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46243         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46244         instead of "_itoa.h" and "_itowa.h".
46245         * stdio-common/vfprintf.: Likewise.
46247 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46249         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46250         <bits/wordsize.h>.
46251         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46252         (__signbit): Likwise.
46253         (llrintf): Likwise.
46254         (llrint): Likwise.
46256 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46258         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46259         __WORDSIZE != 64.
46261 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46263         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46264         OVERFLOW_EXCEPTION_OK.
46265         * math/libm-test.inc ("Philosophy"): Update comment about
46266         exception testing.
46267         (OVERFLOW_EXCEPTION): Define.
46268         (OVERFLOW_EXCEPTION_OK): Likewise.
46269         (INVALID_EXCEPTION_OK): Renumber.
46270         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46271         (IGNORE_ZERO_INF_SIGN): Likewise.
46272         (test_exceptions): Handle FE_OVERFLOW.
46273         (exp10_test): Expect overflow exceptions.
46274         (exp2_test): Likewise.
46275         (expm1_test): Likewise.
46276         (nextafter_test): Likewise.
46277         (pow_test): Likewise.
46278         (scalbn_test): Likewise.
46279         (scalbln_test): Likewise.
46281 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46283         * sysdeps/x86_64/bits/atomic.h
46284         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46285         64bit integer.
46286         (atomic_exchange_acq): Likewise.
46287         (__arch_exchange_and_add_body): Likewise.
46288         (__arch_add_body): Likewise.
46289         (atomic_add_negative): Likewise.
46290         (atomic_add_zero): Likewise.
46292 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46294         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46295         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46297 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46299         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46300         Check __x86_64__ instead of __WORDSIZE.
46302 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46304         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46306 2012-03-19  David S. Miller  <davem@davemloft.net>
46308         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46310         * sysdeps/sparc/fpu/fenv_private.h: New file.
46311         * sysdeps/sparc/fpu/math_private.h: Use it.
46312         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46313         Remove.
46314         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46315         (libc_feholdexcept_setroundl): Remove.
46316         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46317         Remove.
46318         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46319         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46321 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46323         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46324         int64_t instead of long int.
46325         (INSERT_WORDS64): Likwise.
46327 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46329         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46330         _Unwind_GetCFA return to _Unwind_Ptr first.
46332 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46334         [BZ #13629]
46335         * math/s_clog.c: Include <float.h>.
46336         (__clog): Scale large or subnormal inputs.
46337         * math/s_clogf.c: Likewise.
46338         * math/s_clogl.c: Likewise.
46339         * math/s_clog10.c: Include <float.h>.
46340         (M_LOG10_2): Define.
46341         (__clog10): Scale large or subnormal inputs.
46342         * math/s_clog10f.c: Likewise.
46343         * math/s_clog10l.c: Likewise.
46344         * math/libm-test.inc (clog_test): Add more tests.
46345         (clog10_test): Likewise.
46346         * sysdeps/i386/fpu/libm-test-ulps: Update.
46347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46349         [BZ #11451]
46350         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46351         x and y.
46352         * math/libm-test.inc (atan2_test): Add another test.
46354         * Makerules (common-objdir-compile): Remove.
46355         * sysdeps/unix/Makefile (config-generated): Do not add
46356         $(unix-generated) to variable.
46357         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46358         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46359         Remove rule.
46360         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46361         Likewise.
46362         [generic bits/local_lim.h] (before-compile): Do not append to
46363         variable.
46364         [generic bits/local_lim.h] (common-generated): Likewise.
46365         [generic sys/param.h] (before-compile): Do not append to variable.
46366         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46367         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46368         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46369         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46370         include.
46371         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46372         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46373         [generic sys/param.h] ($(addprefix
46374         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46375         [generic sys/param.h] (common-generated): Do not append to
46376         variable.
46377         [generic sys/param.h] (sysdep_headers): Likewise.
46378         [generic bits/errno.h] (before-compile): Do not append to
46379         variable.
46380         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46381         rule.
46382         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46383         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46384         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46385         [generic bits/errno.h] (common-generated): Do not append to
46386         variable.
46387         [generic bits/ioctls.h] (before-compile): Do not append to
46388         variable.
46389         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46390         rule.
46391         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46392         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46393         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46394         rule.
46395         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46396         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46397         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46398         [generic bits/ioctls.h] (common-generated): Do not append to
46399         variable.
46400         [generic sys/syscall.h] (syscall.h): Remove variable.
46401         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46402         rule.
46403         [generic sys/syscall.h] (before-compile): Do not append to
46404         variable.
46405         [generic sys/syscall.h] (common-generated): Likewise.
46406         * sysdeps/unix/errnos-tmpl.c: Remove file.
46407         * sysdeps/unix/errnos.awk: Likewise.
46408         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46409         * sysdeps/unix/ioctls.awk: Likewise.
46410         * sysdeps/unix/mk-local_lim.c: Likewise.
46411         * sysdeps/unix/snarf-ioctls: Likewise.
46413 2012-03-19  Richard Henderson  <rth@twiddle.net>
46415         * sysdeps/i386/fpu/fenv_private.h: New file.
46416         * sysdeps/i386/fpu/math_private.h: Use it.
46417         (math_opt_barrier, math_force_eval): Remove.
46418         (libc_feholdexcept_setround_53bit): Remove.
46419         (libc_feupdateenv_53bit): Remove.
46420         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46421         (math_opt_barrier, math_force_eval): Remove.
46422         (libc_feholdexcept): Remove.
46423         (libc_feholdexcept_setround): Remove.
46424         (libc_fetestexcept, libc_fesetenv): Remove.
46425         (libc_feupdateenv_test): Remove.
46426         (libc_feupdateenv, libc_feholdsetround): Remove.
46427         (libc_feresetround): Remove.
46429         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46430         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46432         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46433         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46434         (libc_feupdateenv_testl): New.
46435         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46436         (libc_feupdateenv_testf): New.
46437         (libc_feupdateenv): Use libc_feupdateenv_test.
46438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46439         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46441         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46442         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46443         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46444         (libc_feresetround_noex): New.
46445         (libc_feresetround_noexf): New.
46446         (libc_feresetround_noexl): New.
46447         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46448         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46449         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46450         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46451         SET_RESTORE_ROUND.
46452         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46453         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46454         (__cos): Likewise.
46455         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46456         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46457         SET_RESTORE_ROUND_NOEX.
46458         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46459         SET_RESTORE_ROUND_NOEXF.
46460         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46461         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46462         (libc_feholdsetroundf): New.
46463         (libc_feresetround, libc_feresetroundf): New.
46465         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46466         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46467         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46469         * sysdeps/generic/math_private.h: Include <fenv.h>.
46470         (default_libc_feholdexcept): New.
46471         (default_libc_feholdexcept_setround): New.
46472         (default_libc_fesetenv, default_libc_feupdateenv): New.
46473         (libc_feholdexcept): Only define if undefined.
46474         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46475         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46476         (libc_feholdexcept_setroundl): Likewise.
46477         (libc_feholdexcept_setround_53bit): Likewise.
46478         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46479         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46480         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46481         (libc_feupdateenv_53bit): Likewise.
46482         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46483         (libc_feholdexcept): Convert from macro to inline function.
46484         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46485         (libc_fesetenv, libc_feupdateenv): Likewise.
46487         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46488         not previously defined.
46489         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46490         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46491         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46492         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46493         * sysdeps/ieee754/flt-32/math_private.h: New file.
46494         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46495         math_private.h below SET_FLOAT_WORD.
46496         (__isnan, __isinf_ns, __finite): Remove.
46497         (__isnanf, __isinf_nsf, __finitef): Remove.
46499 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46501         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46503 2012-03-17  David S. Miller  <davem@davemloft.net>
46505         [BZ #6471]
46506         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46507         for 2.16.
46509 2012-03-16  David S. Miller  <davem@davemloft.net>
46511         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46512         warnings.
46514         [BZ #6471]
46515         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46516         properly.
46517         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46518         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46519         sysdep_routines when subdir is sysvipc.
46520         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46521         __getshmlba helper.
46523         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46525 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46527         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46528         [__LP64__].
46530 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46532         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46533         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46534         (__lround): Renamed to ...
46535         (__llround): This.  Replace long int with long long int.
46536         Define lround functions as aliases of llround functions.
46537         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46539 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46541         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46542         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46543         adresses to uintptr_t.  Replace "long int" and "unsigned long
46544         int" with "greg_t" on va_arg.
46546 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46548         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46549         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46551         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46552         Move e_machine check before EI_CLASS check.  Handle x32
46553         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46554         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46555         SKIP_EM_IA_64 and include
46556         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46558         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46559         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46560         (add_system_dir): New macro.
46562         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46563         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46565 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46567         [BZ #2551]
46568         [BZ #2552]
46569         [BZ #2553]
46570         [BZ #2554]
46571         [BZ #2562]
46572         [BZ #2563]
46573         [BZ #2565]
46574         [BZ #2566]
46575         [BZ #2576]
46576         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46577         (y0): Likewise.
46578         * math/w_j0f.c (j0f): Likewise.
46579         (y0f): Likewise.
46580         * math/w_j0l.c (__j0l): Likewise.
46581         (__y0l): Likewise.
46582         * math/w_j1.c (j1): Likewise.
46583         (y1): Likewise.
46584         * math/w_j1f.c (j1f): Likewise.
46585         (y1f): Likewise.
46586         * math/w_j1l.c (__j1l): Likewise.
46587         (__y1l): Likewise.
46588         * math/w_jn.c (jn): Likewise.
46589         (yn): Likewise.
46590         * math/w_jnf.c (jnf): Likewise.
46591         (ynf): Likewise.
46592         * math/w_jnl.c (__jnl): Likewise.
46593         (__ynl): Likewise.
46594         * math/libm-test.inc (j0_test): Add more tests.
46595         (j1_test): Likewise.
46596         (jn_test): Likewise.  Add trailing semicolon to existing test.
46597         (y0_test): Likewise.
46598         (y1_test): Likewise.
46599         * sysdeps/i386/fpu/libm-test-ulps: Update.
46600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46602         [BZ #13851]
46603         [BZ #13854]
46604         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46605         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46606         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46607         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46608         (__tanl): Set errno for infinite argument.
46609         * sysdeps/i386/fpu/mptan.c: Remove.
46610         * sysdeps/i386/fpu/s_tan.S: Likewise.
46611         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46612         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46613         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46614         * math/libm-test.inc (tan_test): Add more tests and enable more
46615         tests for double and long double.
46616         * sysdeps/i386/fpu/libm-test-ulps: Update.
46617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46619 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46621         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46622         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46624 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46626         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46627         * configure.in: Use it for both main tree and add-ons.
46628         * configure: Regenerated.
46630 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46632         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46634 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46636         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46637         in comment.
46639         [BZ #13851]
46640         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46641         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46642         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46643         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46644         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46645         infinite argument.
46646         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46647         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46648         != 0 for prec == 2.
46649         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46650         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46651         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46652         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46653         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46654         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46655         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46656         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46657         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46658         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46659         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46660         * math/libm-test.inc (cos_test): Add more tests and enable more
46661         tests for long double.
46662         (sin_test): Likewise.
46663         (sincos_test): Likewise.
46664         * sysdeps/i386/fpu/libm-test-ulps: Update.
46665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46667 2012-03-16  David S. Miller  <davem@davemloft.net>
46669         * sysdeps/sparc/fpu/math_private.h: New file.
46671 2012-03-15  David S. Miller  <davem@davemloft.net>
46673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46674         file.
46675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46677         file.
46678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46679         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46680         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46681         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46682         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46683         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46684         sysdep routines.
46685         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46687         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46688         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46690         * sysdeps/sparc/sparc-ifunc.h: New file.
46691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46692         sparc-ifunc.h
46693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46695         Likewise.
46696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46697         Likewise.
46698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46702         Likewise.
46703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46704         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46708         Likewise.
46709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46710         Likewise.
46711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46715         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46716         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46717         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46718         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46719         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46720         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46721         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46722         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46723         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46724         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46725         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46726         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46727         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46728         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46729         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46730         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46731         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46732         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46733         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46734         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46736 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46738         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46739         scaling.
46740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46742 2012-03-15  Andreas Jaeger  <aj@suse.de>
46744         [BZ #13852]
46745         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46746         ieee754/flt-32 implementation for sin, cos and sincos.
46747         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46748         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46749         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46750         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46751         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46752         ieee754/flt-32 implementation for tan.
46754         * math/libm-test.inc (cos_test): Enable some large input tests for
46755         float as well
46756         (sin_test): Likewise.
46757         (sincos_test): Likewise.
46758         (tan_test): Add tests for large input.
46760         * sysdeps/i386/fpu/libm-test-ulps: Update.
46762 2012-03-15  Andreas Jaeger  <aj@suse.de>
46764         [BZ #13658]
46765         * math/libm-test.inc (cos_test): Add more test cases.
46766         (sin_test): Likewise.
46767         (sincos_test): Likewise.
46769 2012-03-15  Andreas Jaeger  <aj@suse.de>
46771         [BZ #13837]
46772         * math/libm-test.inc (cos_test): Add a test case for large input
46773         value.
46774         (sin_test): Likewise.
46775         (sincos_test): Likewise.
46777 2012-03-15  Andreas Jaeger  <aj@suse.de>
46778             Joseph Myers  <joseph@codesourcery.com>
46780         [BZ #13658]
46781         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46782         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46783         * sysdeps/i386/fpu/branred.c: Likewise.
46784         * sysdeps/i386/fpu/dosincos.c: Likewise.
46785         * sysdeps/i386/fpu/mpa.c: Likewise.
46786         * sysdeps/i386/fpu/s_cos.S: Likewise.
46787         * sysdeps/i386/fpu/s_sin.S: Likewise.
46788         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46789         * sysdeps/i386/fpu/sincos32.c: Likewise.
46791         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46792         Define.
46793         (libc_feupdateenv_53bit): Define.
46794         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46795         Define.
46796         (libc_feupdateenv_53bit): Define.
46798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46799         53 bit (without extend i386 double precision).
46801         * math/libm-test.inc (sincos_test): Add tests for large input.
46802         (sin): Likewise.
46803         (cos): Likewise.
46805         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46807 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46809         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46811 2012-03-15  David S. Miller  <davem@davemloft.net>
46813         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46814         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46815         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46816         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46821         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46822         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46823         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46824         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46825         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46826         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46827         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46829         file.
46830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46832         file.
46833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46835         file.
46836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46838         file.
46839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46840         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46841         fmin/fmax sysdep routines.
46842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46844 2012-03-14  David S. Miller  <davem@davemloft.net>
46846         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46847         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46848         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46849         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46850         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46851         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46852         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46853         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46855         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46856         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46857         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46858         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46859         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46860         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46861         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46862         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46863         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46864         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46865         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46866         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46867         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46868         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46869         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46870         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46871         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46872         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46873         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46874         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46875         routines.
46876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46877         file.
46878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46880         file.
46881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46883         file.
46884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46886         file.
46887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46889         file.
46890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46892         file.
46893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46894         file.
46895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46896         file.
46897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46898         file.
46899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46900         New file.
46901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46902         file.
46903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46904         file.
46905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46907         file.
46908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46910         file.
46911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46913         file.
46914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46916         VIS3 routines.
46918         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46919         New file.
46921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46923         * sysdeps/sparc/configure.in: New file.
46924         * sysdeps/sparc/configure: Generate.
46925         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46926         * configure: Regenerate.
46927         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46928         * config.make.in (have-as-vis3): New.
46929         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46930         available use -Av9d instead of -Av9a.
46931         * sysdeps/sparc/sparc64/Makefile: Likewise.
46932         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46934         New file.
46935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46936         file.
46937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46938         New file.
46939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46940         file.
46941         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46942         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46943         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46944         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46945         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46947         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46948         fzeros/fnegs to load 0x80000000 into a float register instead of
46949         using the stack.
46950         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46952 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46955         bits/syscall.h.
46956         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46957         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46958         ($(inst_includedir)/bits/syscall.h): Remove rule.
46959         ($(objpfx)bits/syscall.d): Include instead of
46960         $(objpfx)syscall-list.d.
46961         (generated): Change syscall-list.h and syscall-list.d to
46962         bits/syscall.h and bits/syscall.d.
46964 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46966         [BZ #13846]
46967         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46969 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46971         [BZ #13841]
46972         * math/s_csqrt.c: Include <float.h>.
46973         (__csqrt): Scale large or subnormal inputs.
46974         * math/s_csqrtf.c: Likewise.
46975         * math/s_csqrtl.c: Likewise.
46976         * math/libm-test.inc (csqrt_test): Add more tests.
46977         * sysdeps/i386/fpu/libm-test-ulps: Update.
46978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46980         [BZ #13840]
46981         * math/libm-test.inc (hypot_test): Add more tests.
46983 2012-03-13  David S. Miller  <davem@davemloft.net>
46985         [BZ #13840]
46986         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46987         double-precision for the calculation instead of scaling.
46989 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46992         manipulate bits before adding and subtracting TWO52[sx].
46993         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46994         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46995         Likewise.
46996         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46998 2012-03-13  David S. Miller  <davem@davemloft.net>
47000         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47001         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47002         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47003         rtld-global-offsets.h
47004         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47006         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47007         large parameters.
47009         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47011         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47012         'err' in the ifdef scope in which it is actually used.
47014         * nss/nss_db/db-init.c: Include string.h
47016 2012-03-12  David S. Miller  <davem@davemloft.net>
47018         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47019         masking out of the most significant byte of random value used.
47020         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47021         Fix coding style in previous change.
47023         * sysdeps/unix/sysv/linux/kernel-features.h
47024         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47025         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47026         expression.
47027         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47028         later.
47030 2012-03-11  David S. Miller  <davem@davemloft.net>
47032         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47033         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47034         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47035         for 'resultvar' otherwise things get truncated on 64-bit.
47037         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47038         Fix masking out of the most significant byte of random value used.
47040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47042 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
47044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47046 2012-03-09  David S. Miller  <davem@davemloft.net>
47048         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47049         variables with appropriate CPP guards.
47050         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47051         from the frame pointer, not the stack pointer.  Correct layout
47052         comments.  Fix test on resulting framesize and the management of
47053         the outregs buffer for pltexit.  Preserve floating point return
47054         values across _dl_call_pltexit call.
47055         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47056         framesize and the management of the outregs buffer for pltexit.
47057         Preserve floating point return values across _dl_call_pltexit
47058         call.
47059         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47060         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47061         (la_sparc64_gnu_pltexit): New functions.
47062         (print_exit): Fix format string for return register value.
47064 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
47066         * sunrpc/Makefile (others): Add rpcgen.
47067         ($(objpfx)rpcgen): Remove special build rule and dependency on
47068         libc.
47069         * sunrpc/rpcgen.c: New file.
47071 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
47073         [BZ #13673]
47074         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47075         * stdio-common/bug-vfprintf-nargs.c: Likewise.
47076         * sysdeps/i386/crti.S: Likewise.
47077         * sysdeps/i386/crtn.S: Likewise.
47078         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47079         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47080         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47081         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47082         * sysdeps/sh/crti.S: Likewise.
47083         * sysdeps/sh/crtn.S: Likewise.
47084         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47086         [BZ #13673]
47087         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47088         with URL.
47089         * locale/programs/locfile-kw.gperf: Likewise.
47090         * locale/programs/charmap-kw.h: Regenerated.
47091         * locale/programs/locfile-kw.h: Likewise.
47093         [BZ #13673]
47094         * intl/plural.y: Replace FSF snail mail address with URL.
47095         * intl/plural.c: Regenerated.
47097 2012-03-09  Richard Henderson  <rth@twiddle.net>
47099         * include/math_private.h: Remove file.
47100         * math/math_private.h: Move file ...
47101         * sysdeps/generic/math_private.h: ... here.
47103         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47104         * sysdeps/powerpc/fpu/math_private.h: Likewise.
47105         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47107         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47108         and <math_private.h>.
47109         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47110         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47111         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47112         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47113         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47114         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47115         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47116         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47117         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47118         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47119         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47121         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47122         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47123         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47124         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47125         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47126         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47127         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47128         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47129         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47130         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47131         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47132         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47133         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47134         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47135         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47136         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47137         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47138         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47139         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47140         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47141         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47142         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47143         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47144         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47145         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47146         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47147         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47148         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47149         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47150         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47151         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47152         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47153         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47154         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47155         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47156         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47157         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47158         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47159         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47160         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47161         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47162         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47163         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47164         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47165         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47166         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47167         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47168         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47169         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47170         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47171         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47172         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47173         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47174         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47175         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47176         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47177         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47178         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47179         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47180         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47181         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47182         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47183         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47184         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47185         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47187         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47188         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47189         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47190         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47192         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47193         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47194         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47195         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47196         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47197         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47198         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47199         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47200         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47201         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47202         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47203         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47204         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47205         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47206         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47207         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47208         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47209         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47210         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47211         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47212         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47213         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47214         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47215         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47216         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47217         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47218         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47219         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47220         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47221         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47222         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47223         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47224         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47225         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47226         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47227         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47228         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47229         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47230         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47231         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47232         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47233         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47234         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47235         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47236         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47237         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47238         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47239         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47240         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47241         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47242         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47243         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47244         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47245         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47246         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47247         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47248         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47249         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47250         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47251         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47252         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47253         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47254         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47255         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47256         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47257         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47258         * sysdeps/ieee754/k_standard.c: Likewise.
47259         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47260         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47261         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47262         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47263         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47264         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47265         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47266         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47267         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47268         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47269         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47270         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47271         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47272         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47273         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47274         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47275         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47276         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47277         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47278         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47279         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47280         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47281         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47282         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47284         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47285         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47286         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47287         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47288         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47289         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47290         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47291         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47292         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47293         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47294         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47295         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47296         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47297         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47298         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47299         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47300         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47301         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47302         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47303         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47304         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47305         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47306         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47307         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47308         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47309         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47310         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47311         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47312         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47313         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47314         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47315         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47316         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47317         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47318         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47319         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47320         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47321         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47322         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47323         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47325         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47327         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47329         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47330         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47331         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47332         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47333         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47335         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47336         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47337         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47338         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47339         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47340         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47341         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47342         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47343         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47344         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47345         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47346         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47347         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47349         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47350         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47351         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47352         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47353         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47354         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47355         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47356         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47357         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47358         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47359         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47360         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47361         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47362         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47363         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47364         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47365         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47366         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47367         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47368         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47369         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47370         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47371         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47372         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47373         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47374         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47375         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47376         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47377         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47378         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47379         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47380         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47381         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47382         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47383         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47384         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47385         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47386         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47387         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47388         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47389         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47390         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47391         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47392         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47393         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47394         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47395         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47396         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47397         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47398         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47399         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47400         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47401         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47402         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47403         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47404         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47405         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47406         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47407         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47408         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47409         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47410         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47411         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47412         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47413         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47414         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47415         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47416         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47417         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47418         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47419         * sysdeps/ieee754/s_lib_version.c: Likewise.
47420         * sysdeps/ieee754/s_matherr.c: Likewise.
47421         * sysdeps/ieee754/s_signgam.c: Likewise.
47422         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47423         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47424         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47425         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47426         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47427         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47428         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47429         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47430         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47431         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47432         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47433         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47434         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47435         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47436         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47437         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47438         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47439         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47440         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47441         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47442         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47444 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47446         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47447         * sunrpc/rpc_main.c: Likewise.
47448         * sunrpc/rpc_svcout.c: Likewise.
47450 2012-03-09  David S. Miller  <davem@davemloft.net>
47452         * include/math_private.h: New file.
47454 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47456         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47457         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47458         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47459         from <bits/socket_type.h>.
47460         (enum __socket_type): Don't define here.
47461         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47463         bits/socket_type.h.
47465         [BZ #13566]
47466         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47467         checking __USE_GNU.
47469         * Makerules ($(inst_includedir)/%.h): New rule.
47470         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47471         (install-others): Remove variable setting.
47472         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47474 2012-03-08  Richard Henderson  <rth@twiddle.net>
47476         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47477         from macro to inline function; merge with the
47478         !__LIBC_INTERNAL_MATH_INLINES version.
47479         (__ieee754_sqrtf): Likewise.
47481         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47482         to inline function.
47483         (__rintf, __floor, __floorf): Likewise.
47485         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47486         macro to inline function.
47487         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47489         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47490         not <math/math_private.h>.
47492 2012-03-08  David S. Miller  <davem@davemloft.net>
47494         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47495         copyright year.
47496         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47498 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47500         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47501         normalization.
47502         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47503         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47505 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47507         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47508         be defined individually, they must be defined as a block.  Define
47509         S for printing a string instead of hidint the different by using a
47510         macro for adding the 'l'.
47511         * stdio-common/tst-fphex-wide.c: Adjust.
47513 2012-03-07  Marek Polacek  <polacek@redhat.com>
47515         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47517 2012-03-08  Marek Polacek  <polacek@redhat.com>
47519         [BZ #13806]
47520         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47521         * stdio-common/tst-fphex.c: Define a few macros to make the
47522         test reusable.  Use them.
47523         * stdio-common/tst-fphex-wide.c: New file.
47525 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47527         [BZ #6911]
47528         * manual/macros.texi (gnusystems): New macro.
47529         (nongnusystems): Likewise.
47530         (gnulinuxhurdsystems): Likewise.
47531         (gnuhurdsystems): Likewise..
47532         (gnulinuxsystems): Likewise.
47533         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47534         variants of the GNU system, not "GNU system".
47535         * manual/conf.texi: Likewise.
47536         * manual/errno.texi: Likewise.  Update example of errno macro
47537         expansion.
47538         * manual/filesys.texi: Likewise.
47539         (getumask): Document as specific to GNU/Hurd.
47540         * manual/install.texi: Likewise.  Reword some references to
47541         GNU/Linux.
47542         * manual/intro.texi: Likewise.
47543         * manual/io.texi: Likewise.
47544         (File Name Portability): Detail which constraints are inapplicable
47545         to all GNU systems and which are only inapplicable to GNU/Hurd.
47546         * manual/job.texi: Likewise.
47547         * manual/llio.texi: Likewise.
47548         (O_NOCTTY): Document as present on GNU/Linux.
47549         * manual/maint.texi: Likewise.
47550         * manual/memory.texi: Likewise.
47551         * manual/pattern.texi: Likewise.
47552         * manual/pipe.texi: Likewise.
47553         * manual/process.texi: Likewise.
47554         * manual/resource.texi: Likewise.
47555         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47556         child on GNU/Hurd.
47557         * manual/setjmp.texi: Likewise.
47558         * manual/signal.texi: Likewise.
47559         * manual/startup.texi: Likewise.
47560         * manual/stdio.texi: Likewise.
47561         * manual/terminal.texi: Likewise.
47562         (ONLCR): Document as POSIX.
47563         (OXTABS): Document availability on GNU/Linux as XTABS.
47564         (ONOEOT): Document availability separately from other bits.
47565         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47566         * manual/time.texi: Likewise.
47567         * manual/users.texi: Likewise.
47568         * INSTALL: Regenerated.
47569         * sysdeps/gnu/errlist.c: Regenerated.
47571         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47572         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47573         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47574         puts.
47575         * configure: Regenerated.
47577 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47579         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47580         default includes instead of AC_HEADER_CHECK.
47581         * sysdeps/i386/configure: Regenerated.
47583         [BZ #10716]
47584         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47585         * math/s_cacoshf.c (__cacoshf): Likewise.
47586         * math/s_cacoshl.c (__cacoshl): Likewise.
47587         * math/s_casinh.c (__casinh): Set signs of result from argument.
47588         * math/s_casinhf.c (__casinhf): Likewise.
47589         * math/s_casinhl.c (__casinhl): Likewise.
47590         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47591         (casinh_test): Add more tests.
47592         * sysdeps/i386/fpu/libm-test-ulps: Update.
47593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47595 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47597         * po/zh_TW.po: Update from translation team.
47599         * login/Makefile (distribute): Remove variable.
47600         * catgets/Makefile: Likewise.
47601         * mach/Makefile: Likewise.
47602         * malloc/Makefile: Likewise.
47603         * misc/Makefile: Likewise.
47604         * iconv/Makefile: Likewise.
47605         * nscd/Makefile: Likewise.
47606         * hurd/Makefile: Likewise.
47607         * manual/Makefile: Likewise.
47608         * locale/Makefile: Likewise.
47609         * intl/Makefile: Likewise.
47610         * conform/Makefile: Likewise.
47611         * nss/Makefile: Likewise.
47612         * time/Makefile: Likewise.
47613         * soft-fp/Makefile: Likewise.
47614         * dirent/Makefile: Likewise.
47615         * gmon/Makefile: Likewise.
47616         * po/Makefile: Likewise.
47617         * rt/Makefile: Likewise.
47618         * socket/Makefile: Likewise.
47619         * math/Makefile: Likewise.
47620         * signal/Makefile: Likewise.
47621         * debug/Makefile: Likewise.
47622         * elf/Makefile: Likewise.
47623         * timezone/Makefile: Likewise.
47624         * stdlib/Makefile: Likewise.
47625         * iconvdata/Makefile: Likewise.
47626         * sunrpc/Makefile: Likewise.
47627         * io/Makefile: Likewise.
47628         * argp/Makefile: Likewise.
47629         * inet/Makefile: Likewise.
47630         * hesiod/Makefile: Likewise.
47631         * grp/Makefile: Likewise.
47632         * csu/Makefile: Likewise.
47633         * wctype/Makefile: Likewise.
47634         * crypt/Makefile: Likewise.
47635         * libio/Makefile: Likewise.
47636         * string/Makefile: Likewise.
47637         * nis/Makefile: Likewise.
47638         * resolv/Makefile: Likewise.
47639         * stdio-common/Makefile: Likewise.
47640         * wcsmbs/Makefile: Likewise.
47641         * dlfcn/Makefile: Likewise.
47642         * posix/Makefile: Likewise.
47644         [BZ #6959]
47645         * timezone/Makefile: Don't install timezone files, just the programs
47646         and scripts.
47648 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47650         * nss/databases.def: Add missing gshadow entry.
47652         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47654 2012-03-06  Marek Polacek  <polacek@redhat.com>
47656         [BZ #13726]
47657         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47658         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47659         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47660         * stdio-common/tst-long-dbl-fphex.c: New file.
47662 2012-03-06  David S. Miller  <davem@davemloft.net>
47664         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47665         (set_obp_int): New function.
47666         (get_obp_int): New function.
47667         (__get_clockfreq_via_dev_openprom): Likewise.
47668         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47669         Avoid unused variable warnings on 'val' and use builtin_expect.
47670         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47671         __builtin_expect.
47672         (INLINE_CLONE_SYSCALL): Likewise.
47674 2012-03-05  David S. Miller  <davem@davemloft.net>
47676         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47678 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47680         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47682         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47683         only for |x| >= 40.
47684         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47686 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47688         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47689         Replace gettimeofday with __vdso_gettimeofday.
47691         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47692         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47693         __vdso_clock_gettime and __vdso_getcpu.
47695         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47696         time with __vdso_time.
47698 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47700         * manual/lang.texi (size_t): Note types to which size_t may be
47701         equivalent with the GNU C Library, but do not describe when
47702         differences between them are significant.
47704 2012-03-05  Andreas Jaeger  <aj@suse.de>
47706         * sysdeps/i386/fpu/libm-test-ulps: Update.
47708 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47710         [BZ #3976]
47711         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47712         (__ieee754_pow): Save and restore rounding mode and use
47713         round-to-nearest for main computations.
47714         * math/libm-test.inc (pow_test_tonearest): New function.
47715         (pow_test_towardzero): Likewise.
47716         (pow_test_downward): Likewise.
47717         (pow_test_upward): Likewise.
47718         (main): Call the new functions.
47719         * sysdeps/i386/fpu/libm-test-ulps: Update.
47720         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47722         [BZ #3976]
47723         * math/libm-test.inc (cosh_test_tonearest): New function.
47724         (cosh_test_towardzero): Likewise.
47725         (cosh_test_downward): Likewise.
47726         (cosh_test_upward): Likewise.
47727         (sinh_test_tonearest): Likewise.
47728         (sinh_test_towardzero): Likewise.
47729         (sinh_test_downward): Likewise.
47730         (sinh_test_upward): Likewise.
47731         (main): Call the new functions.
47732         * sysdeps/i386/fpu/libm-test-ulps: Update.
47733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47735 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47737         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47738         default stack guard is set in last bytes.
47739         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47741 2012-03-05  Kees Cook  <keescook@chromium.org>
47743         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47745         [BZ #13656]
47746         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47747         possibly allocate from heap instead of stack.
47748         * stdio-common/bug-vfprintf-nargs.c: New file.
47749         * stdio-common/Makefile (tests): Add nargs overflow test.
47751 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47755 2012-03-03  Marek Polacek  <polacek@redhat.com>
47757         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47758         * math/math_private.h: Likewise.
47759         * stdlib/tst-strtod.c: Likewise.
47760         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47761         * sysdeps/x86_64/bits/atomic.h: Likewise.
47763 2012-03-02  David S. Miller  <davem@davemloft.net>
47765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47766         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47769         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47770         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47771         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47772         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47774 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47776         [BZ #13792]
47777         * manual/examples/README: New file, says the example source files
47778         can be used under GPL>=2.
47779         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47780         line containing just "*/".
47781         * manual/examples/add.c: Add copyright header (GPL>=2).
47782         * manual/examples/argp-ex1.c: Likewise.
47783         * manual/examples/argp-ex2.c: Likewise.
47784         * manual/examples/argp-ex3.c: Likewise.
47785         * manual/examples/argp-ex4.c: Likewise.
47786         * manual/examples/atexit.c: Likewise.
47787         * manual/examples/db.c: Likewise.
47788         * manual/examples/dir.c: Likewise.
47789         * manual/examples/dir2.c: Likewise.
47790         * manual/examples/execinfo.c: Likewise.
47791         * manual/examples/filecli.c: Likewise.
47792         * manual/examples/filesrv.c: Likewise.
47793         * manual/examples/fmtmsgexpl.c: Likewise.
47794         * manual/examples/genpass.c: Likewise.
47795         * manual/examples/inetcli.c: Likewise.
47796         * manual/examples/inetsrv.c: Likewise.
47797         * manual/examples/isockad.c: Likewise.
47798         * manual/examples/longopt.c: Likewise.
47799         * manual/examples/memopen.c: Likewise.
47800         * manual/examples/memstrm.c: Likewise.
47801         * manual/examples/mkfsock.c: Likewise.
47802         * manual/examples/mkisock.c: Likewise.
47803         * manual/examples/mygetpass.c: Likewise.
47804         * manual/examples/pipe.c: Likewise.
47805         * manual/examples/popen.c: Likewise.
47806         * manual/examples/rprintf.c: Likewise.
47807         * manual/examples/search.c: Likewise.
47808         * manual/examples/select.c: Likewise.
47809         * manual/examples/setjmp.c: Likewise.
47810         * manual/examples/sigh1.c: Likewise.
47811         * manual/examples/sigusr.c: Likewise.
47812         * manual/examples/stpcpy.c: Likewise.
47813         * manual/examples/strdupa.c: Likewise.
47814         * manual/examples/strftim.c: Likewise.
47815         * manual/examples/strncat.c: Likewise.
47816         * manual/examples/subopt.c: Likewise.
47817         * manual/examples/swapcontext.c: Likewise.
47818         * manual/examples/termios.c: Likewise.
47819         * manual/examples/testopt.c: Likewise.
47820         * manual/examples/testpass.c: Likewise.
47821         * manual/examples/timeval_subtract.c: Likewise.
47823         [BZ #13792]
47824         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47825         function to ...
47826         * manual/timeval_subtract.c.texi: ... here, new file.
47828 2012-03-02  David S. Miller  <davem@davemloft.net>
47830         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47832 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47834         [BZ #3976]
47835         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47836         (__sin): Save and restore rounding mode and use round-to-nearest
47837         for all computations.
47838         (__cos): Save and restore rounding mode and use round-to-nearest
47839         for all computations.
47840         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47841         <fenv.h>.
47842         (tan): Save and restore rounding mode and use round-to-nearest for
47843         all computations.
47844         * math/libm-test.inc (cos_test_tonearest): New function.
47845         (cos_test_towardzero): Likewise.
47846         (cos_test_downward): Likewise.
47847         (cos_test_upward): Likewise.
47848         (sin_test_tonearest): Likewise.
47849         (sin_test_towardzero): Likewise.
47850         (sin_test_downward): Likewise.
47851         (sin_test_upward): Likewise.
47852         (tan_test_tonearest): Likewise.
47853         (tan_test_towardzero): Likewise.
47854         (tan_test_downward): Likewise.
47855         (tan_test_upward): Likewise.
47856         (main): Call the new functions.
47857         * sysdeps/i386/fpu/libm-test-ulps: Update.
47858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47860         [BZ #10135]
47861         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47862         small n, then large n, before computing and testing k+n.
47863         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47864         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47865         Likewise.
47866         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47867         Likewise.
47868         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47869         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47870         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47871         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47872         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47873         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47874         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47875         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47876         * math/libm-test.inc (scalbn_test): Add more tests.
47877         (scalbln_test): Likewise.
47879         * manual/filesys.texi (mode_t): Describe constraints on size and
47880         signedness, not exact equivalence to a particular type.
47881         (ino_t): Likewise.
47882         (ino64_t): Likewise.
47883         (dev_t): Likewise.
47884         (nlink_t): Likewise.
47885         (blkcnt_t): Likewise.
47886         (blkcnt64_t): Likewise.
47887         * manual/llio.texi (off_t): Likewise.
47889         [BZ #3976]
47890         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47891         (__ieee754_exp): Save and restore rounding mode and use
47892         round-to-nearest for all computations.
47893         * math/libm-test.inc (exp_test_tonearest): New function.
47894         (exp_test_towardzero): Likewise.
47895         (exp_test_downward): Likewise.
47896         (exp_test_upward): Likewise.
47897         (main): Call the new functions.
47898         * sysdeps/i386/fpu/libm-test-ulps: Update.
47899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47901 2012-03-01  Chris Demetriou  <cgd@google.com>
47903         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47904         have predictable order.
47906 2012-03-01  David S. Miller  <davem@davemloft.net>
47908         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47910         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47911         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47912         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47913         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47915         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47916         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47917         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47919         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47920         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47921         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47922         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47923         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47925         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47927         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47928         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47929         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47931         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47932         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47933         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47934         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47935         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47936         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47938         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47939         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47940         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47941         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47942         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47943         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47944         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47945         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47947         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47948         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47949         * sysdeps/sparc/elf/configure: Regenerated.
47951 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47953         * configure.in (AS, LD): Require binutils 2.20 or later.
47954         * configure: Regenerated.
47955         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47956         as required minimum version.
47957         * INSTALL: Regenerated.
47959         [BZ #2541]
47960         [BZ #4108]
47961         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47962         before squaring exponent.
47963         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47964         bottom long double and 27 bits of top long double before squaring
47965         exponent.
47966         * math/libm-test.inc (erfc_test): Add more tests.
47967         * sysdeps/i386/fpu/libm-test-ulps: Update.
47968         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47971 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47973         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47974         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47975         containing bit-fields.
47976         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47977         * soft-fp/single.h (_FP_UNION_S): Likewise.
47978         * soft-fp/double.h (_FP_UNION_D): Likewise.
47980 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47982         [BZ #13786]
47983         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47984         not include ../strcmp.S.
47985         [USE_AS_STRNCASECMP_L]: Likewise.
47986         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47987         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47988         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47989         (__strncasecmp_l_ia32): Define as alias to
47990         __strncasecmp_l_nonascii.
47992         [BZ #5794]
47993         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47994         * sysdeps/i386/fpu/libm-test-ulps: Update.
47995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47997         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48000 2012-02-29  Jeff Law  <law@redhat.com>
48002         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48003         out of bounds read.
48005 2012-02-29  Marek Polacek  <polacek@redhat.com>
48007         [BZ #13706]
48008         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48009         * elf/Makefile: Add rules to run tst-unused-dep.out.
48011 2012-02-28  David S. Miller  <davem@davemloft.net>
48013         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48014         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48015         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48016         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48017         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48018         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48020 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48022         * math/libm-test.inc (llround_test): Move one test from
48023         lround_test.  Use TEST_f_L in moved test.
48024         (lround_test): Move misplaced test to llround_test.  Add testcase
48025         from bug 2561.
48027 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
48029         * sysdeps/x86_64/fpu/e_expf.S: New file.
48030         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48032 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
48034         [BZ #13637]
48035         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48036         of remain_len that may cause incomplete multi-byte character and
48037         false match.
48038         * posix/bug-regex33.c: New file.
48039         * posix/Makefile (tests): Add bug-regex33.
48041 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
48043         * manual/macros.texi: New file.
48044         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48045         * manual/libc.texinfo: Include macros.texi.
48046         * manual/creatute.texi: Likewise.
48047         * manual/install.texi: Likewise.
48048         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48049         @glibcadj{} in references to the GNU C Library.
48050         * manual/charset.texi: Likewise.
48051         * manual/conf.texi: Likewise.
48052         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
48053         when not using those macros.
48054         * manual/creature.texi: Likewise.
48055         * manual/crypt.texi: Likewise.
48056         * manual/errno.texi: Likewise.
48057         * manual/filesys.texi: Likewise.
48058         * manual/header.texi: Likewise.
48059         * manual/install.texi: Likewise.
48060         * manual/intro.texi: Likewise.
48061         * manual/io.texi: Likewise.
48062         * manual/job.texi: Likewise.
48063         * manual/lang.texi: Likewise.
48064         * manual/libc.texiinfo: Likewise.
48065         * manual/llio.texi: Likewise.
48066         * manual/locale.texi: Likewise.
48067         * manual/maint.texi: Likewise.
48068         * manual/math.texi: Likewise.
48069         * manual/memory.texi: Likewise.
48070         * manual/message.texi: Likewise.
48071         * manual/nss.texi: Likewise.
48072         * manual/pattern.texi: Likewise.
48073         * manual/process.texi: Likewise.
48074         * manual/resource.texi: Likewise.
48075         * manual/search.texi: Likewise.
48076         * manual/setjmp.texi: Likewise.
48077         * manual/signal.texi: Likewise.
48078         * manual/socket.texi: Likewise.
48079         * manual/startup.texi: Likewise.
48080         * manual/stdio.texi: Likewise.
48081         * manual/string.texi: Likewise.
48082         * manual/sysinfo.texi: Likewise.
48083         * manual/syslog.texi: Likewise.
48084         * manual/terminal.texi: Likewise.
48085         * manual/time.texi: Likewise.
48086         * manual/users.texi: Likewise.
48087         * INSTALL: Regenerated.
48088         * NOTES: Regenerated.
48089         * sysdeps/gnu/errlist.c: Regenerated.
48091 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
48093         * include/dirent.h: Include <dirstream.h> before
48094         <dirent/dirent.h>.
48096 2012-02-28  David S. Miller  <davem@davemloft.net>
48098         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48099         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48100         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48101         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48103 2012-02-27  David S. Miller  <davem@davemloft.net>
48105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48107         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48108         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48111         frame pointer instead of stack pointer relative arg slot.
48112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48113         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48114         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48116 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48118         [BZ #3992]
48119         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48121 2012-02-27  David S. Miller  <davem@davemloft.net>
48123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48124         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48127         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48128         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48129         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48130         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48132 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48134         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48135         later.  Allow versions 5-9.
48136         * configure: Regenerated.
48137         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48138         required minimum version and 4.6 as recommended version.  Do not
48139         mention bugs in GCC 2.7 and 2.8.
48140         * INSTALL: Regenerated.
48142 2012-02-27  David S. Miller  <davem@davemloft.net>
48144         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48148         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48149         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48150         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48151         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48153         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48154         manipulate bits before adding and subtracting TWO112[sx].
48155         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48157 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48159         [BZ #13775]
48160         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48161         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48162         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48163         being in POSIX, because they are in 1003.1-2008.
48165         * rt/tst-aio.c: Include <fcntl.h>.
48166         * rt/tst-aio7.c: Likewise.
48167         * rt/tst-aio64.c: Likewise.
48169         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48171 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48173         * manual/install.texi (--with-headers): Describe headers as
48174         interface headers, not private headers.
48175         (Specific advice for GNU/Linux systems): Describe use of headers
48176         from "make headers_install", not private headers from older
48177         kernels.
48178         * INSTALL: Regenerated.
48179         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48180         Change to 2.6.19.
48181         * sysdeps/unix/sysv/linux/configure: Regenerated.
48183         * manual/llio.texi (fclean): Remove documentation.
48185         * manual/Makefile (libc-texi-generated): New variable.  Include
48186         version.texi.
48187         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48188         $(libc-texi-generated), not duplicated list of files.
48189         (version.texi, stamp-version): New rules.
48190         (realclean): Remove $(libc-texi-generated), not individual files
48191         from that list.  Do not remove dir-add.texinfo.
48192         * manual/libc.texinfo: Comment out uses of edition numbers and
48193         references to printed manual.  Remove last-updated dates.
48194         (EDITION): Comment out.
48195         (ISBN): Likewise.
48196         (VERSION, UPDATED): Remove.
48197         (version.texi): Include.
48199 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48201         * sysdeps/posix/spawni.c: Include <signal.h>.
48202         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48203         * sysdeps/pthread/aio_fsync.c: Likewise.
48205 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48207         * conform/Makefile (tests): Run only when not cross-compiling and
48208         when fast-check is not defined.
48210         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48211         * conform/data/limits.h-data: Fixes for POSIX2008.
48212         * conform/run-conformtest.sh: Run all tests.
48213         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48214         headers.
48215         * include/bits/dlfcn.h: Likewise.
48216         * include/langinfo.h: Likewise.
48217         * include/monetary.h: Likewise.
48218         * include/sys/poll.h: Likewise.
48220         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48221         for __USE_GNU.
48222         * posix/spawn.h: Define __need_sigset_t.
48223         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48224         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48225         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48226         to get sigevent_t only.
48227         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48228         only for __USE_GNU.
48229         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48230         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48231         process_vm_writev only for __USE_GNU.
48232         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48234         * conform/Makefile: For now ignore errors from run-conformtest.
48235         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48236         POSIX to avoid namespace pollution.  Don't prepend headers.
48237         * conform/data/aio.h-data: Fixes for POSIX testing.
48238         * conform/data/fcntl.h-data: Likewise.
48239         * conform/data/glob.h-data: Likewise.
48240         * conform/data/grp.h-data: Likewise.
48241         * conform/data/pthread.h-data: Likewise.
48242         * conform/data/pwd.h-data: Likewise.
48243         * conform/data/signal.h-data: Likewise.
48244         * conform/data/spawn.h-data: Likewise.
48245         * conform/data/stdio.h-data: Likewise.
48246         * conform/data/stdlib.h-data: Likewise.
48247         * conform/data/stropts.h-data: Likewise.
48248         * conform/data/sys/mman.h-data: Likewise.
48249         * conform/data/sys/stat.h-data: Likewise.
48250         * conform/data/sys/types.h-data: Likewise.
48251         * conform/data/sys/wait.h-data: Likewise.
48252         * conform/data/time.h-data: Likewise.
48253         * conform/data/unistd.h-data: Likewise.
48254         * conform/data/utime.h-data: Likewise.
48256         * io/sys/stat.h: fchmod was always in POSIX.
48257         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48258         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48259         * rt/aio.h: Define __need_timespec before including <time.h>.
48260         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48261         struct.  Add forward declaration of pthread_attr_t and use it in
48262         sigevent.
48263         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48264         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48265         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48266         always remove CLK_TCK definition.
48268 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48270         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48272 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48274         * conform/run-conformtest.sh: New file.
48275         * conform/Makefile: Run run-conformtest for tests.
48276         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48277         support.
48279         * conform/data/uchar.h-data: New file.
48280         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48281         * conform/data/arpa/inet.h-data: Likewise.
48282         * conform/data/assert.h-data: Likewise.
48283         * conform/data/complex.h-data: Likewise.
48284         * conform/data/cpio.h-data: Likewise.
48285         * conform/data/ctype.h-data: Likewise.
48286         * conform/data/dirent.h-data: Likewise.
48287         * conform/data/dlfcn.h-data: Likewise.
48288         * conform/data/errno.h-data: Likewise.
48289         * conform/data/fcntl.h-data: Likewise.
48290         * conform/data/float.h-data: Likewise.
48291         * conform/data/fmtmsg.h-data: Likewise.
48292         * conform/data/fnmatch.h-data: Likewise.
48293         * conform/data/ftw.h-data: Likewise.
48294         * conform/data/glob.h-data: Likewise.
48295         * conform/data/grp.h-data: Likewise.
48296         * conform/data/iconv.h-data: Likewise.
48297         * conform/data/inttypes.h-data: Likewise.
48298         * conform/data/langinfo.h-data: Likewise.
48299         * conform/data/libgen.h-data: Likewise.
48300         * conform/data/limits.h-data: Likewise.
48301         * conform/data/locale.h-data: Likewise.
48302         * conform/data/math.h-data: Likewise.
48303         * conform/data/monetary.h-data: Likewise.
48304         * conform/data/mqueue.h-data: Likewise.
48305         * conform/data/ndbm.h-data: Likewise.
48306         * conform/data/net/if.h-data: Likewise.
48307         * conform/data/netdb.h-data: Likewise.
48308         * conform/data/netinet/in.h-data: Likewise.
48309         * conform/data/nl_types.h-data: Likewise.
48310         * conform/data/poll.h-data: Likewise.
48311         * conform/data/pthread.h-data: Likewise.
48312         * conform/data/pwd.h-data: Likewise.
48313         * conform/data/regex.h-data: Likewise.
48314         * conform/data/sched.h-data: Likewise.
48315         * conform/data/search.h-data: Likewise.
48316         * conform/data/semaphore.h-data: Likewise.
48317         * conform/data/setjmp.h-data: Likewise.
48318         * conform/data/signal.h-data: Likewise.
48319         * conform/data/spawn.h-data: Likewise.
48320         * conform/data/stdarg.h-data: Likewise.
48321         * conform/data/stdio.h-data: Likewise.
48322         * conform/data/stdlib.h-data: Likewise.
48323         * conform/data/string.h-data: Likewise.
48324         * conform/data/strings.h-data: Likewise.
48325         * conform/data/stropts.h-data: Likewise.
48326         * conform/data/sys/ipc.h-data: Likewise.
48327         * conform/data/sys/mman.h-data: Likewise.
48328         * conform/data/sys/msg.h-data: Likewise.
48329         * conform/data/sys/resource.h-data: Likewise.
48330         * conform/data/sys/select.h-data: Likewise.
48331         * conform/data/sys/sem.h-data: Likewise.
48332         * conform/data/sys/shm.h-data: Likewise.
48333         * conform/data/sys/socket.h-data: Likewise.
48334         * conform/data/sys/stat.h-data: Likewise.
48335         * conform/data/sys/statvfs.h-data: Likewise.
48336         * conform/data/sys/time.h-data: Likewise.
48337         * conform/data/sys/timeb.h-data: Likewise.
48338         * conform/data/sys/times.h-data: Likewise.
48339         * conform/data/sys/types.h-data: Likewise.
48340         * conform/data/sys/uio.h-data: Likewise.
48341         * conform/data/sys/un.h-data: Likewise.
48342         * conform/data/sys/utsname.h-data: Likewise.
48343         * conform/data/sys/wait.h-data: Likewise.
48344         * conform/data/syslog.h-data: Likewise.
48345         * conform/data/tar.h-data: Likewise.
48346         * conform/data/termios.h-data: Likewise.
48347         * conform/data/utime.h-data: Likewise.
48348         * conform/data/utmpx.h-data: Likewise.
48349         * conform/data/varargs.h-data: Likewise.
48350         * conform/data/wchar.h-data: Likewise.
48351         * conform/data/wctype.h-data: Likewise.
48352         * conform/data/wordexp.h-data: Likewise.
48354         * include/stropts.h: New file.
48355         * include/uchar.h: New file.
48356         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48357         * include/assert.h: Likewise.
48358         * include/ctype.h: Likewise.
48359         * include/dirent.h: Likewise.
48360         * include/dlfcn.h: Likewise.
48361         * include/fcntl.h: Likewise.
48362         * include/fnmatch.h: Likewise.
48363         * include/glob.h: Likewise.
48364         * include/grp.h: Likewise.
48365         * include/libio.h: Likewise.
48366         * include/locale.h: Likewise.
48367         * include/math.h: Likewise.
48368         * include/net/if.h: Likewise.
48369         * include/netdb.h: Likewise.
48370         * include/netinet/in.h: Likewise.
48371         * include/pthread.h: Likewise.
48372         * include/pwd.h: Likewise.
48373         * include/regex.h: Likewise.
48374         * include/sched.h: Likewise.
48375         * include/search.h: Likewise.
48376         * include/setjmp.h: Likewise.
48377         * include/signal.h: Likewise.
48378         * include/stdio.h: Likewise.
48379         * include/stdlib.h: Likewise.
48380         * include/string.h: Likewise.
48381         * include/sys/cdefs.h: Likewise.
48382         * include/sys/mman.h: Likewise.
48383         * include/sys/msg.h: Likewise.
48384         * include/sys/resource.h: Likewise.
48385         * include/sys/select.h: Likewise.
48386         * include/sys/socket.h: Likewise.
48387         * include/sys/stat.h: Likewise.
48388         * include/sys/statvfs.h: Likewise.
48389         * include/sys/time.h: Likewise.
48390         * include/sys/times.h: Likewise.
48391         * include/sys/uio.h: Likewise.
48392         * include/sys/utsname.h: Likewise.
48393         * include/sys/wait.h: Likewise.
48394         * include/termios.h: Likewise.
48395         * include/time.h: Likewise.
48396         * include/ulimit.h: Likewise.
48397         * include/unistd.h: Likewise.
48398         * include/utime.h: Likewise.
48399         * include/wchar.h: Likewise.
48400         * include/wctype.h: Likewise.
48401         * include/wordexp.h: Likewise.
48403         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48405         * time/time.h: TIME_UTC must be a macro.
48406         Make timespec_get available for ISO C11 only as well.
48408 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48410         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48411         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48413 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48415         * configure.in: Use -o not -a in test for unsupported multi-arch.
48417 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48419         * manual/texinfo.tex: Update to version 2012-01-19.16.
48421 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48423         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48425 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48427         [BZ #13738]
48428         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48429         * manual/fdl-1.3.texi: New file.
48430         * manual/fdl-1.1.texi: File removed.
48432         [BZ #13738]
48433         * manual/libc.texinfo (FDL_VERSION): New @set.
48434         Use it for mention of FDL in cover text.
48435         (Documentation License): Use it in @include file name.
48437 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48438             Roland McGrath  <roland@hack.frob.com>
48440         [BZ #5461]
48441         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48442         (not LONG_LONG_MAX and LONG_LONG_MIN.
48443         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48444         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48445         name.
48446         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48448 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48450         [BZ #2547]
48451         [BZ #11365]
48452         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48453         manipulate bits before adding and subtracting TWO23[sx].
48454         * math/libm-test.inc (nearbyint_test): Add more tests.
48456 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48458         [BZ #2548]
48459         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48460         bits before adding and subtracting TWO23[sx].
48461         * math/libm-test.inc (rint_test): Add more tests.
48462         (rint_test_tonearest): Likewise.
48463         (rint_test_towardzero): Likewise.
48464         (rint_test_downward): Likewise.
48465         (rint_test_upward: Likewise.
48467 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48469         [BZ #10110]
48470         * include/stdc-predef.h: New file.  Extracted from features.h.
48471         * include/features.h: Include stdc-predef.h.
48472         * Makefile (headers): Add stdc-predef.h.
48473         * CONFORMANCE (Compiler limitations): Update.
48475 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48477         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48479 2012-02-21  David S. Miller  <davem@davemloft.net>
48481         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48482         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48484 2012-02-20  David S. Miller  <davem@davemloft.net>
48486         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48487         using a normal save/restore sequence, rather than allocating a
48488         dummy stack frame just to store a frame pointer and restore.
48489         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48491 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48493         * manual/install.texi: Fix stray word in line-wrapped comment.
48495 2012-02-20  David S. Miller  <davem@davemloft.net>
48497         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48498         both binutils and gcc support GOTDATA.
48500         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48501         "rd %pc" in the PIC register setup sequences.
48503         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48504         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48505         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48506         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48507         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48509         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48510         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48511         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48512         (SYSCALL_ERROR_HANDLER): Likewise.
48513         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48514         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48515         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48516         (SYSCALL_ERROR_HANDLER): Likewise.
48518         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48519         (HAVE_GCC_GOTDATA): New.
48520         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48521         relocation support in both binutils and gcc.
48522         * sysdeps/sparc/elf/configure: Regenerate.
48524         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48525         * sysdeps/sparc/sparc32/elf/configure: Delete.
48526         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48527         * sysdeps/sparc/sparc64/elf/configure: Delete.
48528         * sysdeps/sparc/elf/configure.in: New file.
48529         * sysdeps/sparc/elf/configure: Generate.
48531         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48532         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48533         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48534         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48535         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48537 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48539         * manual/install.texi: Do not mention specific glibc version
48540         numbers.
48541         * manual/libc.texinfo (VERSION, UPDATED): Update.
48542         (@copying): Use @copyright{} and range of years.
48544 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48546         [BZ #13695]
48547         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48548         [crti.S not in sysdirs] (generated): Do not append.
48549         [crti.S not in sysdirs] (omit-deps): Likewise.
48550         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48551         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48552         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48553         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48554         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48555         Likewise.
48556         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48557         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48558         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48559         * csu/defs.awk: Remove file.
48560         * sysdeps/generic/initfini.c: Likewise.
48561         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48562         variable.
48563         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48564         Likewise.
48566 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48568         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48569         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48570         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48571         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48572         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48573         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48574         <bits/epoll.h>.
48575         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48576         (__EPOLL_PACKED): Define to empty if not defined by
48577         <bits/epoll.h>.
48578         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48579         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48580         bits/epoll.h.
48582 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48584         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48585         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48586         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48587         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48588         <bits/timerfd.h>.
48589         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48590         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48591         bits/timerfd.h.
48593 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48595         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48596         in C locale.
48597         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48598         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48599         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48602 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48604         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48605         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48607 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48609         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48610         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48611         defined.
48612         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48613         Likewise.
48614         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48615         entry for 2.16.
48617 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48619         * math/w_acos.c: Use non-signaling floating-point comparisons.
48620         * math/w_acosf.c: Likewise.
48621         * math/w_acosh.c: Likewise.
48622         * math/w_acoshf.c: Likewise.
48623         * math/w_acoshl.c: Likewise.
48624         * math/w_acosl.c: Likewise.
48625         * math/w_asin.c: Likewise.
48626         * math/w_asinf.c: Likewise.
48627         * math/w_asinl.c: Likewise.
48628         * math/w_atanh.c: Likewise.
48629         * math/w_atanhf.c: Likewise.
48630         * math/w_atanhl.c: Likewise.
48631         * math/w_exp2.c: Likewise.
48632         * math/w_exp2f.c: Likewise.
48633         * math/w_exp2l.c: Likewise.
48634         * math/w_j0.c: Likewise.
48635         * math/w_j0f.c: Likewise.
48636         * math/w_j0l.c: Likewise.
48637         * math/w_j1.c: Likewise.
48638         * math/w_j1f.c: Likewise.
48639         * math/w_j1l.c: Likewise.
48640         * math/w_jn.c: Likewise.
48641         * math/w_jnf.c: Likewise.
48642         * math/w_log.c: Likewise.
48643         * math/w_log10.c: Likewise.
48644         * math/w_log10f.c: Likewise.
48645         * math/w_log10l.c: Likewise.
48646         * math/w_log2.c: Likewise.
48647         * math/w_log2f.c: Likewise.
48648         * math/w_log2l.c: Likewise.
48649         * math/w_logf.c: Likewise.
48650         * math/w_logl.c: Likewise.
48651         * math/w_sqrt.c: Likewise.
48652         * math/w_sqrtf.c: Likewise.
48653         * math/w_sqrtl.c: Likewise.
48654         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48655         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48656         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48657         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48658         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48660 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48662         [BZ #9739]
48663         * manual/string.texi (strnlen): Use correct parameter name in
48664         equivalent expression.
48666 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48668         [BZ #11174]
48669         * manual/users.texi (seteuid): Consistently use neweuid for
48670         argument name.
48672 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48674         [BZ #13704]
48675         * manual/nss.texi (Services in the NSS configuration): Correct
48676         list of services in example configuration file.
48678 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48680         [BZ #11322]
48681         * manual/arith.texi: Remove statements about negative zero
48682         behaving identically to zero.
48684 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48686         [BZ #5993]
48687         * manual/install.texi: Do not document upgrading from libc5.
48689 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48691         [BZ #4596]
48692         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48694 2012-02-18  David S. Miller  <davem@davemloft.net>
48696         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48697         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48698         %o7 across the call.
48699         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48700         instead.
48701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48702         SETUP_PIC_REG_LEAF.
48703         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48704         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48705         * sysdeps/sparc/crtn.S: Likewise.
48707 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48709         * aout/Makefile: Remove.
48711 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48713         [BZ #13058]
48714         * manual/examples/argp-ex1.c (main): Format definition in GNU
48715         style.
48716         * manual/examples/argp-ex2.c (main): Likewise.
48717         * manual/examples/argp-ex3.c (main): Likewise.
48718         * manual/examples/argp-ex4.c (main): Likewise.
48719         * manual/examples/longopt.c (main): Use new-style prototype
48720         definition.
48721         * manual/examples/strncat.c (main): Specify return type and use
48722         (void) for arguments.
48723         * manual/examples/subopt.c (main): Use char **argv argument.
48725 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48727         [BZ #5077]
48728         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48729         rounding modes.
48731 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48733         [BZ #6907]
48734         * manual/string.texi (strchr): Change when strchrnul is
48735         recommended.
48737 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48739         [BZ #174]
48740         * manual/locale.texi (setlocale): Document LOCPATH.
48742 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48744         [BZ #10210]
48745         * manual/process.texi (execle): Move @dots{} before last argument.
48747 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48749         [BZ #12047]
48750         * manual/charset.texi (Generic Charset Conversion): Fix typo
48751         (LC_TYPE -> LC_CTYPE).
48753 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48755         [BZ #5805]
48756         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48757         (scalbnf): Likewise.
48758         (scalbnl): Likewise.
48759         (scalbln): Likewise.
48760         (scalblnf): Likewise.
48761         (scalblnl): Likewise.
48762         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48763         (vwarnx): Likewise.
48764         (verr): Likewise.
48765         (verrx): Likewise.
48766         * manual/filesys.texi (telldir): Use braces around return type.
48767         * manual/llio.texi (mmap): Add space after comma.
48768         (mmap64): Likewise.
48769         * manual/math.texi (jn): Use @var{} on parameter names.
48770         (jnf): Likewise.
48771         (jnl): Likewise.
48772         (yn): Likewise.
48773         (ynf): Likewise.
48774         (ynl): Likewise.
48775         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48776         line.
48777         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48778         "...".
48779         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48780         (sched_get_priority_max): Likewise.
48781         * manual/signal.texi (sigvec): Add space after comma.
48782         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48783         names.
48784         (if_indextoname): Likewise.
48785         (if_freenameindex): Likewise.
48786         (sendto): Use ',' instead of '.' in prototype.
48787         * manual/startup.texi (syscall): Use @dots{} instead of literal
48788         "...".
48789         * manual/stdio.texi (__fpending): Separate initial words of
48790         paragraph from @deftypefun line.
48791         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48792         "...".
48793         (vsyslog): Use @var{} on parameter names.
48794         * manual/terminal.texi (stty): Use @var{} on parameter names.
48795         * manual/users.texi (getutmp): Use @var{} on parameter names.
48796         (getutmpx): Likewise.
48798 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48800         [BZ #6884]
48801         * manual/stdio.texi (fopen): Fix typos in description of
48802         ",ccs=STRING".
48804 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48806         [BZ #4026]
48807         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48808         get clock_id definition.
48810 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48812         [BZ #4822]
48813         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48814         (madvise): Cast every argument to void on its own.
48816 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48818         [BZ #9902]
48819         * manual/startup.texi (Exit Status): Fix typo.
48821 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48823         [BZ #10140]
48824         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48825         * manual/examples/argp-ex2.c: Likewise.
48826         * manual/examples/argp-ex3.c: Likewise.
48828 2012-02-16  Richard Henderson  <rth@redhat.com>
48830         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48831         * sysdeps/s390/s390-32/initfini.c: Remove.
48832         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48833         * sysdeps/s390/s390-64/initfini.c: Remove.
48835 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48837         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48838         compiler output for sysdeps/generic/initfini.c.
48839         * sysdeps/sh/elf/initfini.c: Remove file.
48841 2012-02-16  David S. Miller  <davem@davemloft.net>
48843         [BZ #11494]
48844         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48846         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48847         * sysdeps/sparc/crti.S: New file.
48848         * sysdeps/sparc/crtn.S: New file.
48849         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48850         * sysdeps/sparc/sparc64/Makefile: Likewise.
48852 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48854         [BZ #3335]
48855         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48857 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48859         [BZ #4822]
48860         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48862         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48863         (write, read, close): Likewise.
48864         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48866 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48868         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48869         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48870         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48871         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48872         <bits/signalfd.h>.
48873         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48875         bits/signalfd.h.
48877 2012-02-14  Marek Polacek  <polacek@redhat.com>
48879         * sysdeps/x86_64/crti.S: New file.
48880         * sysdeps/x86_64/crtn.S: New file.
48881         * sysdeps/x86_64/elf/initfini.c: Remove file.
48883 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48885         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48886         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48887         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48888         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48889         <bits/inotify.h>.
48890         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48892         bits/inotify.h.
48894 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48896         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48897         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48898         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48899         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48900         <bits/eventfd.h>.
48901         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48902         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48903         bits/eventfd.h.
48905 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48907         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48908         __feraiseexcept instead of feraiseexcept.
48910         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48911         nanosleep invocations.
48912         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48913         strings, and add error checking for a nanosleep invocations.
48915 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48917         Replace FSF snail mail address with URLs, as per GNU coding standards.
48918         Most of the snail mail addresses were wrong anyway, and omitting
48919         them makes the source code easier to maintain.  Almost all of the
48920         changes are to license notices and to locale LC_IDENTIFICATION
48921         addresses, except for this one:
48922         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48923         not its snail mail address.
48925 2012-02-09  Richard Henderson  <rth@twiddle.net>
48927         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48928         of kernel-features.h.
48930         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48932 2012-02-08  Marek Polacek  <polacek@redhat.com>
48934         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48935         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48936         * sysdeps/gnu/_G_config.h: Likewise.
48937         * sysdeps/generic/_G_config.h: Likewise.
48939 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48941         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48942         tests.
48943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48945         * sysdeps/powerpc/powerpc32/crti.S: New file.
48946         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48947         * sysdeps/powerpc/powerpc64/crti.S: New file.
48948         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48950         * Makeconfig (have-initfini): Don't set.
48951         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48952         * configure.in (nopic_initfini): Don't substitute.
48953         * config.h.in (HAVE_INITFINI): Don't #undef.
48954         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48955         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48957 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48959         Support crti.S and crtn.S provided directly by architectures.
48960         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48961         [crti.S in sysdirs] (omit-deps): Likewise.
48962         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48963         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48964         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48965         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48966         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48967         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48968         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48969         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48970         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48971         compiler output for sysdeps/generic/initfini.c.
48972         * sysdeps/i386/elf/Makefile: Remove file.
48973         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48975 2012-02-07  Marek Polacek  <polacek@redhat.com>
48977         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48978         * sysdeps/gnu/_G_config.h: Likewise.
48979         * sysdeps/mach/hurd/_G_config.h: Likewise.
48981 2012-02-07  Marek Polacek  <polacek@redhat.com>
48983         * math/Makefile (tests): Add tst-CMPLX2.
48984         * math/tst-CMPLX2.c: New file.
48986 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48988         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48990         * math/libm-test.inc (jn_test): Add missing L suffix.
48992 2012-02-06  Marek Polacek  <polacek@redhat.com>
48994         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48995         * sysdeps/i386/fpu/e_powf.S: Likewise.
48996         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48997         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48998         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48999         * sysdeps/i386/fpu/e_pow.S: Likewise.
49000         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49001         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49002         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49003         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49004         * sysdeps/i386/fpu/e_log2.S: Likewise.
49005         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49006         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49007         * sysdeps/i386/fpu/e_powl.S: Likewise.
49008         * sysdeps/i386/fpu/s_log1p.S: Likewise.
49009         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49010         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49011         * sysdeps/i386/fpu/e_logl.S: Likewise.
49012         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49013         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49014         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49015         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49016         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49017         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49018         * sysdeps/i386/fpu/e_log.S: Likewise.
49019         * sysdeps/i386/fpu/s_cexp.S: Likewise.
49020         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49021         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49022         * sysdeps/i386/fpu/e_logf.S: Likewise.
49023         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49024         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49025         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49026         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49027         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49028         * sysdeps/i386/fpu/e_log10.S: Likewise.
49029         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49030         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49031         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49032         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49033         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49034         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49035         * sysdeps/i386/asm-syntax.h: Likewise.
49036         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49037         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49038         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49039         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49040         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49041         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49042         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49043         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49044         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49045         * sysdeps/powerpc/sysdep.h: Likewise.
49046         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49047         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49049 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49051         [BZ #411]
49052         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49054 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49056         * sysdeps/i386/sysdep.h: Include <features.h>.
49057         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49058         version.
49060 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
49062         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49063         Define.
49064         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49065         LOAD_PIC_REG_STR.
49067 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49069         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49070         (SETUP_PIC_REG): Use GET_PC_THUNK.
49071         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49072         macro.
49074 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49076         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49077         for non-PIC compilation.
49078         (SETUP_PIC_REG): Add .p2align directive.
49079         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49080         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49081         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49082         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49083         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49084         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49085         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49086         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49087         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49088         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49089         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49090         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49091         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49092         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49093         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49094         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49095         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49096         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49097         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49098         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49099         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49100         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49101         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49102         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49103         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49104         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49105         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49106         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49107         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49108         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49109         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49110         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49111         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49112         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49113         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49114         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49115         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49116         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49117         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49118         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49119         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49121 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49123         * math/tst-CMPLX.c: Include <stdio.h>.
49125 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49127         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49128         float.
49129         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49130         * sysdeps/sparc/bits/mathdef.h: Likewise.
49132 2012-01-31  Marek Polacek  <polacek@redhat.com>
49134         * libio/libio.h: Don't define _PARAMS.
49135         * locale/programs/config.h: Don't define PARAMS.
49136         * stdlib/strtol_l.c: Likewise.
49137         (__strtol_l): Remove PARAMS from the prototype.
49139 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49141         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49142         names.  Just use the correct names.  Remove unnecessary wrapper
49143         functions.
49144         * malloc/arena.c: Likewise.
49145         * malloc/hooks.c: Likewise.
49147         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49148         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49149         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49151 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49153         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49154         into tail calls.
49155         (update_get_addr): New function.
49156         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49157         GET_ADDR_MODULE parameter.
49159 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49161         * crypt/cert.c: Remove __STDC__ conditionals.
49162         * crypt/crypt-entry.c: Likewise.
49163         * crypt/crypt_util.c: Likewise.
49164         * libio/filedoalloc.c: Likewise.
49165         * libio/fileops.c: Likewise.
49166         * libio/genops.c: Likewise.
49167         * libio/iofclose.c: Likewise.
49168         * libio/iofdopen.c: Likewise.
49169         * libio/iofopen.c: Likewise.
49170         * libio/iofopen64.c: Likewise.
49171         * libio/iogetdelim.c: Likewise.
49172         * libio/iopopen.c: Likewise.
49173         * libio/obprintf.c: Likewise.
49174         * libio/oldfileops.c: Likewise.
49175         * libio/oldiofclose.c: Likewise.
49176         * libio/oldiofdopen.c: Likewise.
49177         * libio/oldiofopen.c: Likewise.
49178         * libio/oldiopopen.c: Likewise.
49179         * libio/wfiledoalloc.c: Likewise.
49180         * libio/wgenops.c: Likewise.
49181         * locale/programs/xmalloc.c: Likewise.
49182         * misc/syslog.c: Likewise.
49183         * stdio-common/xbug.c: Likewise.
49184         * string/memchr.c: Likewise.
49185         * string/memcmp.c: Likewise.
49186         * string/memrchr.c: Likewise.
49187         * string/rawmemchr.c: Likewise.
49188         * sysdeps/posix/getcwd.c: Likewise.
49189         * time/strftime_l.c: Likewise.
49191 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49193         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49194         * config.make.in (config-cflags-sse2avx): Define.
49195         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49196         Fix typo.
49198 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49200         * scripts/config.guess: Update from upstream config git repository.
49201         * scripts/config.sub: Likewise.
49203 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49205         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49206         (EM_NUM): Update.
49207         (R_TILEPRO_*, R_TILEGX_*): New macros.
49209         * scripts/firstversions.awk: Fix bug in version range handling.
49211         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49213         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49215         * include/sys/epoll.h: New file.
49216         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49217         libc_hidden_def.
49219 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49221         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49222         Avoid unnecessary __WORDSIZE == 64 test.
49223         (fmaxf): Use VEX format if possible.
49224         (fmax): Likewise.
49225         (fminf): Likewise.
49226         (fmin): Likewise.
49228         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49229         * math/math_private.h: Remove libc_fegetround* and
49230         libc_fesetround*.
49231         * sysdeps/i386/configure.in: Check for -msse2avx.
49232         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49233         also if SSE2AVX is defined.
49234         Remove libc_fegetround* and libc_fesetround*.
49235         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49236         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49237         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49238         of HAS_YMM_USABLE.
49239         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49240         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49241         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49242         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49243         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49245         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49247 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49249         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49250         size is not set.
49251         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49253 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49255         [BZ #13618]
49256         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49257         relocation.
49258         * Makeconfig (libm): Define.
49259         * elf/Makefile: Add rules to build and run tst-relsort1.
49260         * elf/tst-relsort1.c: New file.
49261         * elf/tst-relsort1mod1.c: New file.
49262         * elf/tst-relsort1mod2.c: New file.
49264 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49266         * math/s_ldexp.c: Remove __STDC__ conditionals.
49267         * math/s_ldexpf.c: Likewise.
49268         * math/s_ldexpl.c: Likewise.
49269         * math/s_nextafter.c: Likewise.
49270         * math/s_nexttowardf.c: Likewise.
49271         * math/s_significand.c: Likewise.
49272         * math/s_significandf.c: Likewise.
49273         * math/s_significandl.c: Likewise.
49274         * math/w_jnl.c: Likewise.
49275         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49276         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49277         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49278         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49279         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49280         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49281         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49282         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49283         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49284         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49285         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49286         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49287         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49288         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49289         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49290         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49291         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49292         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49293         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49294         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49295         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49296         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49297         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49298         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49299         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49300         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49301         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49302         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49303         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49304         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49305         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49306         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49307         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49308         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49309         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49310         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49311         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49312         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49313         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49314         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49315         * sysdeps/ieee754/k_standard.c: Likewise.
49316         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49317         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49318         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49319         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49320         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49321         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49322         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49323         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49324         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49325         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49326         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49327         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49328         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49329         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49330         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49331         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49332         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49333         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49334         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49335         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49336         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49337         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49338         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49339         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49340         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49341         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49342         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49343         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49344         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49345         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49346         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49347         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49348         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49349         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49350         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49351         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49352         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49353         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49354         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49355         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49356         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49357         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49358         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49359         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49360         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49361         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49362         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49363         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49364         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49365         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49366         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49367         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49368         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49369         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49370         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49371         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49372         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49373         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49374         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49375         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49376         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49377         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49378         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49379         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49380         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49381         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49382         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49383         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49384         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49385         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49386         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49387         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49388         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49389         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49390         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49391         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49392         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49393         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49394         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49395         * sysdeps/ieee754/s_matherr.c: Likewise.
49396         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49397         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49398         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49399         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49401 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49403         * crypt/md5.h: Remove __STDC__ conditionals.
49404         * libio/libioP.h: Likewise.
49405         * locale/programs/config.h: Likewise.
49406         * sysdeps/generic/sysdep.h: Likewise.
49407         * sysdeps/i386/asm-syntax.h: Likewise.
49408         * sysdeps/s390/asm-syntax.h: Likewise.
49409         * sysdeps/unix/sysdep.h: Likewise.
49410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49413 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49415         * libio/libio.h: Remove __STDC__ conditionals.
49416         * malloc/obstack.h: Likewise.
49417         * math/complex.h: Likewise.
49418         * math/math.h: Likewise.
49419         * sysdeps/generic/_G_config.h: Likewise.
49420         * sysdeps/gnu/_G_config.h: Likewise.
49421         * sysdeps/mach/hurd/_G_config.h: Likewise.
49422         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49423         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49424         * sysdeps/sparc/bits/mathdef.h: Likewise.
49426 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49428         [BZ #13583]
49429         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49430         Clean up HAS_* macros.
49431         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49432         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49433         possible.
49434         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49435         HAS_AVX.
49436         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49437         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49438         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49439         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49440         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49442 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49444         * elf/tst-unique3.cc (gets): Remove declaration.
49445         * elf/tst-unique3lib.cc (gets): Likewise.
49446         * elf/tst-unique3lib2.cc (gets): Likewise.
49447         * elf/tst-unique4.cc (gets): Likewise.
49449 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49451         * include/stdio.h: Add C++ protection.  Add gets declarations and
49452         definitions.
49453         * debug/tst-chk1.c: Don't declare gets here.
49454         * stdio-common/tst-gets.c: Likewise.
49456 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49458         * posix/glob: Remove directory.
49460 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49462         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49464 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49466         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49467         of the non-standard EPFNOSUPPORT.
49469 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49471         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49472         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49473         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49475 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49477         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49479 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49481         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49482         transient errors.
49483         * nscd/grpcache.c (cache_addgr): Likewise.
49484         * nscd/hstcache.c (cache_addhst): Likewise.
49485         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49486         * nscd/pwdcache.c (cache_addpw): Likewise.
49487         * nscd/servicescache.c (cache_addserv): Likewise.
49489 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49491         * malloc/malloc.c: Various cleanups.
49492         * malloc/hooks.c: Likewise.
49494         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49495         * stdlib/bug-fmtmsg1.c: New file.
49497         * stdlib/fmtmsg.c (init): Add missing unlock.
49498         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49500 2012-01-12  Marek Polacek  <polacek@redhat.com>
49502         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49503         and _GNU_SOURCE.
49505 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49507         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49508         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49509         macro to ensure uniqueness of label name.
49510         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49511         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49513 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49515         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49517         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49518         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49519         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49520         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49522 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49524         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49526         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49527         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49528         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49530         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49532         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49533         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49534         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49535         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49537         * math/bits/math-finite.h: Add ldexp support.
49539 2012-01-10  Marek Polacek  <polacek@redhat.com>
49541         * locale/programs/localedef.h (show_archive_content): Add noreturn
49542         attribute.
49544 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49546         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49548 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49550         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49552         * io/Makefile (headers): Add bits/poll2.h.
49554 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49557         typo #include statement.
49559 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49561         * include/sys/cdefs.h: Define __attribute_alloc_size.
49562         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49563         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49564         * elf/pldd.c: Likewise.
49565         * iconv/iconv_charmap.c: Likewise.
49566         * iconv/iconvconfig.c: Likewise.
49567         * iconv/strtab.c: Likewise.
49568         * locale/programs/locale.c: Likewise.
49569         * locale/programs/localedef.h: Likewise.
49570         * locale/programs/simple-hash.c: Likewise.
49571         * nscd/nscd.h: Likewise.
49572         * nss/makedb.c: Likewise.
49573         * sysdeps/generic/ldconfig.h: Likewise.
49574         * locale/programs/localedef.c: Remove xmalloc prototype.
49575         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49577 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49579         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49580         appropriate.
49582 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49584         * math/Makefile (tests): Add tst-CMPLX.
49585         * math/tst-CMPLX.c: New file.
49587         * math/complex.h (CMPLXL): Fix typo.
49589         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49590         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49591         GLIBC_2.16.
49592         * debug/tst-chk1.c: Add poll and ppoll tests.
49593         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49594         * include/sys/poll.h: Add hidden proto for ppoll.
49595         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49596         * sysdeps/mach/hurd/ppoll.c: Likewise.
49597         * io/ppoll.c: Likewise.
49598         * debug/poll_chk.c: New file.
49599         * debug/ppoll_chk.c: New file.
49600         * include/bits/poll2.h: New file.
49601         * io/bits/poll2.h: New file.
49603         [BZ #1350]
49604         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49606         * configure.in: static is always set to yes.  Remove.
49607         * config.make.in: Don't set build-static.
49608         * Makeconfig: Remove use of build-static.
49609         * dlfcn/Makefile: Likewise.
49610         * elf/Makefile: Likewise.
49611         * math/Makefile: Likewise.
49612         * misc/Makefile: Likewise.
49613         * nptl/Makefile: Likewise.
49614         * sysdeps/mach/hurd/Makefile: Likewise.
49616         * configure.in: PWD_P is not used anymore.
49617         * config.make.in: Remove PWD_P entry.
49619         * configure.in: Remove last remnants of RANLIB.
49620         No need to check for signed size_t anymore.
49621         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49622         and IA-64.
49623         Remove __builtin_expect test because we require at least gcc 3.4.
49624         * aclocal.m4: Likewise.
49626         * wcsmbs/mbrtoc16.c: Implement using towc function.
49627         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49628         * wcsmbs/wcsmbsload.c: Likewise.
49629         * iconv/gconv_simple.c: Likewise.
49630         * iconv/gconv_int.h: Likewise.
49631         * iconv/gconv_builtin.h: Likewise.
49632         * iconv/iconv_prog.c: Remove CHAR16 handling.
49634         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49636         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49638         * configure.in: Remove --with-elf and --enable-bounded options.
49639         Dont set base_machine for ia64.  More non-ELF conditions removed.
49640         Remove testing and setting of leading underscore information.
49641         * config.make.in (build-bounded): Set to no.
49642         * config.h.in: Remove NO_UNDERSCORES entry.
49643         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49644         them.
49645         * csu/start.c: Remove !NO_UNDERSCORE code.
49646         * locale/localeinfo.h: Likewise.
49647         * sysdeps/generic/machine-gmon.h: Likewise.
49648         * sysdeps/generic/sysdep.h: Likewise.
49649         * sysdeps/i386/sysdep.h: Likewise.
49650         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49651         * sysdeps/mach/sysdep.h: Likewise.
49652         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49653         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49654         * sysdeps/sh/sysdep.h: Likewise.
49655         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49656         * sysdeps/unix/i386/sysdep.S: Likewise.
49657         * sysdeps/unix/sparc/start.c: Likewise.
49658         * sysdeps/unix/sparc/sysdep.S: Likewise.
49659         * sysdeps/unix/sparc/sysdep.h: Likewise.
49660         * sysdeps/unix/start.c: Likewise.
49661         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49662         * sysdeps/x86_64/sysdep.h: Likewise.
49664 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49666         [BZ #13553]
49667         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49668         for non-gcc.
49669         * argp/argp-fmtstream.h: Use const instead __const.
49670         * argp/argp.h: Likewise.
49671         * assert/assert.h: Likewise.
49672         * bits/fenv.h: Likewise.
49673         * bits/sched.h: Likewise.
49674         * bits/sigset.h: Likewise.
49675         * bits/sigthread.h: Likewise.
49676         * catgets/nl_types.h: Likewise.
49677         * conform/data/pthread.h-data: Likewise.
49678         * crypt/crypt-private.h: Likewise.
49679         * crypt/crypt.h: Likewise.
49680         * crypt/crypt_util.c: Likewise.
49681         * ctype/ctype.h: Likewise.
49682         * debug/execinfo.h: Likewise.
49683         * debug/mbsnrtowcs_chk.c: Likewise.
49684         * debug/mbsrtowcs_chk.c: Likewise.
49685         * debug/wcsnrtombs_chk.c: Likewise.
49686         * debug/wcsrtombs_chk.c: Likewise.
49687         * debug/wcstombs_chk.c: Likewise.
49688         * dirent/dirent.h: Likewise.
49689         * dlfcn/dlfcn.h: Likewise.
49690         * elf/neededtest4.c: Likewise.
49691         * grp/grp.h: Likewise.
49692         * gshadow/gshadow.h: Likewise.
49693         * iconv/gconv.h: Likewise.
49694         * iconv/gconv_int.h: Likewise.
49695         * iconv/gconv_simple.c: Likewise.
49696         * iconv/iconv.h: Likewise.
49697         * iconv/loop.c: Likewise.
49698         * iconv/skeleton.c: Likewise.
49699         * include/aio.h: Likewise.
49700         * include/aliases.h: Likewise.
49701         * include/argz.h: Likewise.
49702         * include/arpa/inet.h: Likewise.
49703         * include/assert.h: Likewise.
49704         * include/dirent.h: Likewise.
49705         * include/dlfcn.h: Likewise.
49706         * include/execinfo.h: Likewise.
49707         * include/fcntl.h: Likewise.
49708         * include/fenv.h: Likewise.
49709         * include/glob.h: Likewise.
49710         * include/grp.h: Likewise.
49711         * include/libintl.h: Likewise.
49712         * include/mntent.h: Likewise.
49713         * include/netdb.h: Likewise.
49714         * include/pwd.h: Likewise.
49715         * include/rpc/netdb.h: Likewise.
49716         * include/sched.h: Likewise.
49717         * include/search.h: Likewise.
49718         * include/shadow.h: Likewise.
49719         * include/signal.h: Likewise.
49720         * include/stdio.h: Likewise.
49721         * include/stdlib.h: Likewise.
49722         * include/string.h: Likewise.
49723         * include/sys/socket.h: Likewise.
49724         * include/sys/stat.h: Likewise.
49725         * include/sys/statfs.h: Likewise.
49726         * include/sys/statvfs.h: Likewise.
49727         * include/sys/syslog.h: Likewise.
49728         * include/sys/time.h: Likewise.
49729         * include/sys/uio.h: Likewise.
49730         * include/time.h: Likewise.
49731         * include/unistd.h: Likewise.
49732         * include/utmp.h: Likewise.
49733         * include/wchar.h: Likewise.
49734         * include/wctype.h: Likewise.
49735         * inet/aliases.h: Likewise.
49736         * inet/arpa/inet.h: Likewise.
49737         * inet/netinet/ether.h: Likewise.
49738         * inet/netinet/in.h: Likewise.
49739         * intl/libintl.h: Likewise.
49740         * io/bits/fcntl2.h: Likewise.
49741         * io/fcntl.h: Likewise.
49742         * io/ftw.h: Likewise.
49743         * io/sys/poll.h: Likewise.
49744         * io/sys/stat.h: Likewise.
49745         * io/sys/statfs.h: Likewise.
49746         * io/sys/statvfs.h: Likewise.
49747         * io/utime.h: Likewise.
49748         * libio/bits/stdio.h: Likewise.
49749         * libio/bits/stdio2.h: Likewise.
49750         * libio/libio.h: Likewise.
49751         * libio/libioP.h: Likewise.
49752         * libio/stdio.h: Likewise.
49753         * locale/lc-ctype.c: Likewise.
49754         * locale/locale.h: Likewise.
49755         * login/utmp.h: Likewise.
49756         * malloc/arena.c: Likewise.
49757         * malloc/malloc.c: Likewise.
49758         * malloc/malloc.h: Likewise.
49759         * malloc/mcheck.c: Likewise.
49760         * malloc/mtrace.c: Likewise.
49761         * math/bits/mathcalls.h: Likewise.
49762         * math/fenv.h: Likewise.
49763         * math/math_private.h: Likewise.
49764         * misc/bits/error.h: Likewise.
49765         * misc/bits/syslog.h: Likewise.
49766         * misc/err.h: Likewise.
49767         * misc/error.h: Likewise.
49768         * misc/fstab.h: Likewise.
49769         * misc/mntent.h: Likewise.
49770         * misc/regexp.h: Likewise.
49771         * misc/search.h: Likewise.
49772         * misc/sgtty.h: Likewise.
49773         * misc/sys/mman.h: Likewise.
49774         * misc/sys/syslog.h: Likewise.
49775         * misc/sys/uio.h: Likewise.
49776         * misc/sys/xattr.h: Likewise.
49777         * misc/ttyent.h: Likewise.
49778         * nis/rpcsvc/ypclnt.h: Likewise.
49779         * nss/nss.h: Likewise.
49780         * posix/bits/unistd.h: Likewise.
49781         * posix/fnmatch.h: Likewise.
49782         * posix/glob.h: Likewise.
49783         * posix/sched.h: Likewise.
49784         * posix/spawn.h: Likewise.
49785         * posix/sys/wait.h: Likewise.
49786         * posix/unistd.h: Likewise.
49787         * posix/wordexp.h: Likewise.
49788         * pwd/pwd.h: Likewise.
49789         * resolv/netdb.h: Likewise.
49790         * resource/sys/resource.h: Likewise.
49791         * rt/aio.h: Likewise.
49792         * rt/bits/mqueue2.h: Likewise.
49793         * rt/mqueue.h: Likewise.
49794         * shadow/shadow.h: Likewise.
49795         * signal/signal.h: Likewise.
49796         * socket/send.c: Likewise.
49797         * socket/sendto.c: Likewise.
49798         * socket/sys/socket.h: Likewise.
49799         * stdio-common/printf.h: Likewise.
49800         * stdlib/bits/stdlib.h: Likewise.
49801         * stdlib/fmtmsg.h: Likewise.
49802         * stdlib/monetary.h: Likewise.
49803         * stdlib/stdlib.h: Likewise.
49804         * stdlib/ucontext.h: Likewise.
49805         * streams/stropts.h: Likewise.
49806         * string/argz.h: Likewise.
49807         * string/bits/string2.h: Likewise.
49808         * string/string.h: Likewise.
49809         * string/strings.h: Likewise.
49810         * sunrpc/rpc/auth.h: Likewise.
49811         * sunrpc/rpc/auth_des.h: Likewise.
49812         * sunrpc/rpc/clnt.h: Likewise.
49813         * sunrpc/rpc/netdb.h: Likewise.
49814         * sunrpc/rpc/pmap_clnt.h: Likewise.
49815         * sunrpc/rpc/xdr.h: Likewise.
49816         * sysdeps/generic/inttypes.h: Likewise.
49817         * sysdeps/generic/net/if.h: Likewise.
49818         * sysdeps/generic/sys/swap.h: Likewise.
49819         * sysdeps/gnu/net/if.h: Likewise.
49820         * sysdeps/gnu/utmpx.h: Likewise.
49821         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49822         * sysdeps/i386/i486/bits/string.h: Likewise.
49823         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49824         * sysdeps/s390/bits/string.h: Likewise.
49825         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49826         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49827         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49828         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49829         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49830         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49831         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49832         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49833         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49834         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49835         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49836         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49837         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49838         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49839         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49840         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49841         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49842         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49843         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49844         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49845         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49846         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49847         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49848         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49849         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49850         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49851         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49852         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49853         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49854         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49855         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49856         * sysvipc/sys/ipc.h: Likewise.
49857         * sysvipc/sys/msg.h: Likewise.
49858         * sysvipc/sys/sem.h: Likewise.
49859         * sysvipc/sys/shm.h: Likewise.
49860         * termios/termios.h: Likewise.
49861         * time/sys/time.h: Likewise.
49862         * time/time.h: Likewise.
49863         * wcsmbs/bits/wchar2.h: Likewise.
49864         * wcsmbs/uchar.h: Likewise.
49865         * wcsmbs/wchar.h: Likewise.
49866         * wctype/wctype.h: Likewise.
49868         [BZ #13551]
49869         * Makeconfig: Remove all but ELF support including AIX support.
49870         * Makerules: Likewise.
49871         * config.h.in: Likewise.
49872         * config.make.in: Likewise.
49873         * configure: Likewise.
49874         * configure.in: Likewise.
49875         * csu/Makefile: Likewise.
49876         * csu/version.c: Likewise.
49877         * debug/Makefile: Likewise.
49878         * dlfcn/Makefile: Likewise.
49879         * elf/Makefile: Likewise.
49880         * extra-lib.mk: Likewise.
49881         * iconv/Makefile: Likewise.
49882         * include/libc-symbols.h: Likewise.
49883         * include/shlib-compat.h: Likewise.
49884         * resolv/Makefile: Likewise.
49885         * resolv/res_libc.c: Likewise.
49886         * rt/Makefile: Likewise.
49887         * sysdeps/i386/asm-syntax.h: Likewise.
49888         * sysdeps/i386/sysdep.h: Likewise.
49889         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49890         * sysdeps/mach/sysdep.h: Likewise.
49891         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49892         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49893         * sysdeps/s390/asm-syntax.h: Likewise.
49894         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49895         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49896         * sysdeps/sh/sysdep.h: Likewise.
49897         * sysdeps/unix/sparc/sysdep.h: Likewise.
49898         * sysdeps/wordsize-32/divdi3.c: Likewise.
49899         * sysdeps/x86_64/sysdep.h: Likewise.
49901         * argp/Versions: Remove _argp_unlock_xxx.
49903         [BZ #13559]
49904         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49905         * abilist/libBrokenLocale.abilist: Likewise.
49906         * abilist/libanl.abilist: Likewise.
49907         * abilist/libc.abilist: Likewise.
49908         * abilist/libcrypt.abilist: Likewise.
49909         * abilist/libdl.abilist: Likewise.
49910         * abilist/libm.abilist: Likewise.
49911         * abilist/libnsl.abilist: Likewise.
49912         * abilist/libpthread.abilist: Likewise.
49913         * abilist/libresolv.abilist: Likewise.
49914         * abilist/librt.abilist: Likewise.
49915         * abilist/libthread_db.abilist: Likewise.
49916         * abilist/libutil.abilist: Likewise.
49917         * abilist/libnss_db.abilist: New file.
49919         * scripts/abilist.awk: Add support for indirect functions.
49921         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49923         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49925         * shlib-versions: Remove entries for ports architectures.
49927         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49928         files in ports.
49929         * elf/stackguard-macros.h: Remove support for IA-64.
49930         * elf/tst-auditmod1.c: Likewise.
49931         * sysdeps/generic/ldsodefs.h: Likewise.
49933         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49934         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49935         configure files.
49937         [BZ #13552]
49938         * configure.in: Remove --enable-omitfp support.
49939         * FAQ.in: Adjust.
49940         * config.make.in: Likewise.
49941         * Makeconfig: Likewise.
49942         * manual/install.texi: Likewise.
49944         In case anyone cares, the IA-64 architecture could move to ports.
49945         * sysdeps/ia64/*: Removed.
49946         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49947         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49949         [BZ #13555]
49950         * configure.in: Remove entries for unsupported architectures.
49952         [BZ #13533]
49953         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49954         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49955         routines.
49956         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49957         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49958         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49959         fall back to using wcrtomb.
49960         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49961         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49962         renaming.
49963         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49964         * wcsmbs/tst-c16c32-1.c: New file.
49966         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49967         local variable.
49969         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49971         * elf/tst-unique3.cc: Add explicit declaration of gets.
49972         * elf/tst-unique3lib.cc: Likewise.
49973         * elf/tst-unique3lib2.cc: Likewise.
49974         * elf/tst-unique4.cc: Likewise.
49976         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49978 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49980         [BZ #13566]
49981         * assert/assert.h (static_assert): Don't define for C++.
49982         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49983         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49985 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49987         * iconv/loop.c (single loop): Fix assertion in storing of
49988         remaining bytes.
49990         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49992 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49994         * posix/getconf.c: Update copyright year.
49995         * nss/getent.c: Likewise.
49996         * nss/makedb.c: Likewise.
49997         * iconv/iconvconfig.c: Likewise.
49998         * iconv/iconv_prog.c: Likewise.
49999         * elf/ldconfig.c: Likewise.
50000         * elf/pldd.c: Likewise.
50001         * elf/sotruss.ksh: Likewise.
50002         * catgets/gencat.c: Likewise.
50003         * csu/version.c: Likewise.
50004         * elf/ldd.bash.in: Likewise.
50005         * elf/sprof.c (print_version): Likewise.
50006         * locale/programs/locale.c: Likewise.
50007         * locale/programs/localedef.c: Likewise.
50008         * login/programs/pt_chown.c: Likewise.
50009         * nscd/nscd.c (print_version): Likewise.
50010         * debug/xtrace.sh: Likewise.
50011         * malloc/memusage.sh: Likewise.
50012         * malloc/mtrace.pl: Likewise.
50013         * debug/catchsegv.sh: Likewise.
50015 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
50017         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50018         pure attribute.
50020 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
50022         [BZ #13533]
50023         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50024         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50025         transformations.
50026         * iconv/gconv_int.h: Likewise.
50027         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50028         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50029         from libc for GLIBC_2.16.
50030         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50031         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50032         * wcsmbs/uchar.h: Really define mbstate_t.
50033         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50034         * wcsmbs/c16rtomb.c: New file.
50035         * wcsmbs/mbrtoc16.c: New file.
50036         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50037         for C/POSIX locale.
50038         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50039         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50041         * wcsmbs/wchar.h: Add missing __restrict.
50043 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50045         [BZ #13532]
50046         * time/Makefile (routines): Add timespec_get.
50047         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50048         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
50049         timespec for ISO C11.
50050         * time/timespec_get.c: New file.
50051         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50052         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50054         [BZ #13531]
50055         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50056         * stdlib/stdlib.h: Declare aligned_alloc.
50057         * Versions.def: Add GLIBC_2.16 for libc.
50058         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50060         [BZ 13527]
50061         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50062         ISO C11.
50064         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50065         code.
50067         [BZ #13528]
50068         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50070         [BZ #13529]
50071         * assert/assert.h (static_assert): Define.
50073         * version.h: Update for 2.16 development version.
50075         [BZ #13526]
50076         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50077         _ISOC11_SOURCE.
50079         * version.h (RELEASE): Bump for 2.15 release.
50080         * include/features.h (__GLIBC_MINOR__): Bump to 15.
50082         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50083         Patch by Marek Polacek <mpolacek@redhat.com>.
50085         * bits/byteswap.h: Protect long long constants with __extension__.
50086         * sysdeps/i386/bits/byteswap.h: Likewise.
50087         * sysdeps/ia64/bits/byteswap.h: Likewise.
50088         * sysdeps/s390/bits/byteswap.h: Likewise.
50089         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50091 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50093         [BZ #13540]
50094         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50095         destination buffer.
50096         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50098 2011-12-23  Marek Polacek  <polacek@redhat.com>
50100         * elf/dl-addr.c (determine_info): Add inline keyword.
50101         * elf/tst-auditmod4b.c (check_avx): Likewise.
50102         * elf/tst-auditmod6b.c (check_avx): Likewise.
50103         * elf/tst-auditmod6c.c (check_avx): Likewise.
50104         * elf/tst-auditmod7b.c (check_avx): Likewise.
50106 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50108         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50109         !__SSE_MATH__.
50111 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50113         [BZ #13540]
50114         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50115         processing for last bytes.
50117 2011-08-06  Bruno Haible  <bruno@clisp.org>
50119         [BZ #13061]
50120         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50121         U+0385, not to U+1FEE.
50123         [BZ #13062]
50124         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50125         entry for U+00A5 U+0301.
50127 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50129         [BZ #13166]
50130         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50131         buffer for the output is too small.
50133         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50134         optimization.
50136         [BZ #13185]
50137         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50138         SSE flags if possible.
50140 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50142         [BZ #13540]
50143         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50144         processing for last bytes.
50146 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50148         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50149         (syscall-list-default-options, syscall-list-default-condition)
50150         (syscall-list-includes): Define.
50151         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50152         list of ABIs and options and #if conditions for each ABI.  Do not
50153         handle common syscalls between ABIs specially.
50154         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50155         Remove.
50156         (syscall-list-variants, syscall-list-32bit-options)
50157         (syscall-list-32bit-condition, syscall-list-64bit-options)
50158         (syscall-list-64bit-condition): Define.
50159         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50160         (syscall-list-variants, syscall-list-32bit-options)
50161         (syscall-list-32bit-condition, syscall-list-64bit-options)
50162         (syscall-list-64bit-condition): Define.
50163         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50164         Remove.
50165         (syscall-list-variants, syscall-list-32bit-options)
50166         (syscall-list-32bit-condition, syscall-list-64bit-options)
50167         (syscall-list-64bit-condition): Define.
50168         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50169         Remove.
50170         (syscall-list-variants, syscall-list-32bit-options)
50171         (syscall-list-32bit-condition, syscall-list-64bit-options)
50172         (syscall-list-64bit-condition): Define.
50174 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50176         * locale/iso-639.def: Add brx entry.
50178         [BZ #13328]
50179         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50180         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50182         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50183         __feraiseexcept_renamed.
50185 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50187         [BZ #13538]
50188         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50189         EPOLLET with unsigned values.
50190         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50191         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50193         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50194         to large cancellation.
50195         * math/s_cacoshf.c: Likewise.
50196         * math/s_cacoshl.c: Likewise.
50198 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50200         [BZ #13305]
50201         [BZ #12786]
50202         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50203         * math/s_cacoshf.c: Likewise.
50204         * math/s_cacoshl.c: Likewise.
50206 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50208         [BZ #13439]
50209         * iconv/gconv.h: Define __GCONV_SWAP.
50210         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50211         * iconvdata/utf-16.c: Likewise.
50212         * iconvdata/utf-32.c: Likewise.
50214 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50216         [BZ #13524]
50217         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50218         numerator after shifting it by one limb.
50220 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50222         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50223         under [__USE_EXTERN_INLINES].
50225 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50227         [BZ #13446]
50228         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50230 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50232         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50233         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50234         optimized code.
50235         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50236         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50237         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50238         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50239         for strncasecmp/strncasecmp_l compilation.
50240         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50241         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50243 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50245         [BZ #13484]
50246         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50247         of __asm__.
50249 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50251         [BZ #13506]
50252         * time/tzfile.c (__tzfile_read): Check values from file header.
50254 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50256         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50257         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50258         * powerpc/powerpc32/dl-start.S: Likewise.
50259         * powerpc/powerpc32/elf/start.S: Likewise.
50260         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50261         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50262         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50263         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50264         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50265         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50266         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50267         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50268         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50269         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50270         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50271         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50272         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50273         * powerpc/powerpc32/memset.S: Likewise.
50274         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50275         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50276         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50277         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50278         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50279         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50280         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50281         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50282         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50283         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50284         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50285         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50286         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50288 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50290         * math/libm-test.inc: Added more nearbyint tests.
50291         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50292         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50293         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50294         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50296 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50298         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50299         FD_CLOEXEC.
50301 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50303         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50304         Add wcscpy-ssse3 wcscpy-c.
50305         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50306         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50307         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50308         * sysdeps/x86_64/wcschr.S: New file.
50309         * sysdeps/x86_64/wcsrchr.S: New file.
50310         * string/test-strcmp.c: Remove checking of wcscmp function for
50311         wrong alignments.
50312         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50313         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50314         wcsrchr-sse2 wcsrchr-c.
50315         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50316         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50317         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50318         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50319         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50320         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50321         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50322         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50323         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50324         * wcsmbc/wcschr.c (WCSCHR): New macro.
50326 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50328         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50329         * wcsmbs/test-wcsrchr.c: New file.
50330         * string/test-strrchr.c: Add wcsrchr support.
50331         (WIDE): New macro.
50332         * wcsmbs/test-wcscpy.c: New file.
50333         * string/test-strcpy.c: Add wcscpy support.
50334         (WIDE): New macro.
50336 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50338         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50339         the inner loop.
50341 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50343         [BZ #13472]
50344         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50346 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50348         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50349         Minor optimizations.
50351         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50352         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50353         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50355 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50357         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50358         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50359         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50360         for gcc to avoid warnings.
50361         * inet/Makefile (tests): Add tst-checks.
50362         * inet/tst-checks.c: New file.
50364         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50365         warning.
50367         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50368         __wmemcmp_sse2.
50370         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50371         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50373         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50375 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50377         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50378         problem.
50380         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50382 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50384         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50385         conditional on GCC version.
50386         (__arch_compare_and_exchange_val_8_acq)
50387         (__arch_compare_and_exchange_val_16_acq)
50388         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50389         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50390         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50392 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50394         * sysdeps/sh/backtrace.c: New file.
50396 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50398         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50399         parenthesis.
50401 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50403         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50404         falling back to utime.
50406 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50408         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50409         expectations for float.
50411 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50413         * locale/weight.h (findidx): Add parameter len.
50414         * locale/weightwc.h (findidx): Likewise.
50415         * posix/fnmatch_loop.c (FCT): Adjust caller.
50416         * posix/regcomp.c (build_equiv_class): Likewise.
50417         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50418         * posix/regexec.c (check_node_accept_bytes): Likewise.
50419         * string/strcoll_l.c (STRCOLL): Likewise.
50420         * string/strxfrm_l.c (STRXFRM): Likewise.
50422 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50424         * Makefile.in: Remove CVSOPT handling.
50425         * configure.in: Remove use of AC_REVISION.
50426         * iconvdata/Makefile (distribute): No need to filter out CVS.
50427         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50428         handling.
50430 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50433         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50434         [USE_AS_STRNCASECMP_L]: Likewise.
50435         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50436         NO_TLS_DIRECT_SEG_REFS.
50437         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50438         Fix argument offsets for non-PIC.
50439         [USE_AS_STRNCASECMP_L]: Likewise.
50440         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50441         NO_TLS_DIRECT_SEG_REFS.
50443 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50445         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50446         O_CLOEXEC.
50447         * locale/loadlocale.c (_nl_load_locale): Likewise.
50449 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50451         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50452         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50453         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50454         (SYSCALL_GETTIME): Set errno on error.
50456         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50457         count references to noai6ai_cached.
50459 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50461         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50463         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50464         FD_CLOEXEC for /proc/self/maps.
50466         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50467         FD_CLOEXEC for /proc/meminfo.
50469         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50470         gai.conf.
50472         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50473         FD_CLOEXEC for given file.
50475         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50477         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50478         FD_CLOEXEC for /etc/hosts.
50479         (_gethtent): Likewise.
50481         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50483         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50484         cancellation and set FD_CLOEXEC for /etc/netgroup.
50486         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50487         reading /etc/publickey.
50489         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50490         allow cancellation when reading /etc/group.
50492         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50493         cancellation.
50494         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50496         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50497         when using data file.
50499         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50501         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50502         (write_nis_obj): Use "c" and "e" in fopen.
50504         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50506         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50508         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50510         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50512         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50513         locale.alias.
50515         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50517         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50519         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50521         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50522         file parsing and set FD_CLOEXEC.
50524 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50526         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50528 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50530         * malloc/arena.c (arena_get2): Don't call reused_arena when
50531         _int_new_arena failed.
50533 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50535         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50536         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50537         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50538         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50539         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50540         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50541         to compile strcasecmp and strncasecmp.
50542         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50543         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50547 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50549         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50550         locale-defines.sym to gen-as-const-headers.
50551         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50552         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50553         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50554         to compile strcasecmp and strncasecmp.
50555         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50556         strcasecmp_l and strncasecmp_l.
50557         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50558         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50559         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50560         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50561         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50562         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50563         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50564         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50565         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50566         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50567         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50569 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50571         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50572         result of SYSDEP_GETTIME_CPU to retval.
50573         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50574         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50576         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50577         variable.
50579         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50580         mantissa words.
50581         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50583         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50584         from unused variable.
50586         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50587         DWARF definitions.
50588         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50589         for assembling.
50591         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50592         over namespaces.
50594         * sunrpc/rpc_prot.c (rejected): Fix case value.
50596         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50597         unsigned long long int to avoid warnings in shift.
50599         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50600         of use of trans.
50601         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50602         variable tmp.
50604         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50605         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50606         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50608         * nis/nis_table.c (nis_list): Use variable of correct type for
50609         result of __follow_path call.
50611 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50613         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50614         of math functions ceil, trunc, floor, round, and sqrt, when
50615         avaliable on the platform.
50616         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50617         name clash.
50618         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50619         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50620         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50622 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50624         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50625         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50627 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50629         * include/unistd.h: Fix __readlink return type.
50630         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50632 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50634         * stdlib/ucontext.h: Undo last change for makecontext.
50636 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50638         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50640         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50641         * setjmp/setjmp.h: Mark functions as non-leaf.
50642         * setjmp/bits/setjmp2.h: Likewise.
50643         * stdlib/ucontext.h: Likewise.
50645 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50647         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50648         (reused_arena): Don't check arena limit.
50649         (arena_get2): Atomically check arena limit.
50651 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50653         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50654         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50656         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50657         instructions.
50659 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50661         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50662         handler when locking.
50664         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50665         Fix size of allocated buffer.
50667 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50669         [BZ #10103]
50670         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50671         declarations for long double functions.
50672         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50674         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50676 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50678         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50679         installed.
50681         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50682         is disabled.
50684 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50686         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50688 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50690         * include/alloca.h (stackinfo_alloca_round): Define.
50691         (extend_alloca): Use it.
50692         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50693         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50694         here.
50696         * scripts/check-local-headers.sh: Ignore libaudit.h.
50698         * nscd/Makefile (extra-objs): Make recursively expanded.
50700 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50702         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50703         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50705         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50706         * posix/tst-rfc3484-2.c: Likewise.
50707         * posix/tst-rfc3484-3.c: Likewise.
50709         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50710         process_vm_writev.
50711         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50712         process_vm_writev.
50713         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50714         process_vm_writev from libc using GLIBC_2.15 version.
50716         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50718 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50720         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50721         stack usage.
50723 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50725         [BZ #13367]
50726         * nss/getent.c (initgroups_keys): Show error message in case no group
50727         names are given.
50729         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50730         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50731         __bump_nl_timestamp.
50732         * nscd/connections (nscd_init): When host database is served open
50733         netlink socket and request notification about configuration changes.
50734         (main_loop_poll): Track netlink file descriptor and bump timestamp
50735         in case data becomes available.
50736         (main_loop_epoll): Likewise.
50737         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50738         (database_pers_head): Add extra_data fileds.
50739         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50740         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50741         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50742         Adjust caller.
50743         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50744         in6ai data, call __free_in6ai.
50745         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50746         Add -DHAVE_NETLINK.
50747         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50748         interface information.  Reuse previous data if netlink timestamp
50749         is not changed.
50750         (__bump_nl_timestamp): New function.
50751         (__free_in6ai): New function.
50753 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50755         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50756         close_not_cancel_no_status here.
50757         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50759 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50761         [BZ #13276]
50762         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50763         return value.
50765         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50766         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50767         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50769 2011-07-03  Andreas Jaeger  <aj@suse.de>
50771         [BZ #10709]
50772         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50773         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50774         * math/libm-test.inc (sin_test): Add test case.
50776 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50778         [BZ #13337]
50779         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50780         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50782         * elf/chroot_canon.c (chroot_canon): Cleanups.
50784         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50786         [BZ #13335]
50787         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50788         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50790         * string/test-strchr.c: Make usable for strchrnul testing.
50791         * string/test-strchrnul.c: New file.
50792         * string/Makefile (strop-tests): Add strchrnul.
50794         * po/it.po: Update from translation team.
50795         * po/es.po: Likewise.
50797 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50799         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50800         the three constants needed as parameters.  Drop the others.
50801         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50802         __m128i_strloadu_tolower.
50803         Create and initialize variable zero and use it in all the places
50804         where _mm_setzero_si128 was used.
50806         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50807         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50808         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50809         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50810         anymore.
50811         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50812         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50813         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50814         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50815         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50816         __mpranred, __mptan.
50817         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50818         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50819         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50820         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50821         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50822         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50823         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50824         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50825         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50827 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50829         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50830         redefine if SHARED.
50831         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50833         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50834         wide char related routines to wcsmbs subdir.
50836 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50838         [BZ #13344]
50839         * misc/sys/cdefs.h (__THROWNL): Define.
50840         * posix/unistd.h: Use __THREADNL instead of __THREAD
50841         for memory synchronization functions.
50843 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50845         [BZ #13349]
50846         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50847         doesn't exist.
50848         * manual/stdio.texi (Obstack Streams): Node removed.
50850 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50852         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50853         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50854         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50856         * math/math_private.h (math_force_eval): Allow non-addressable
50857         arguments.
50858         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50860 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50862         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50863         file is not needed.
50865         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50866         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50867         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50868         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50869         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50870         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50871         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50872         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50873         Add AVX variants.
50874         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50875         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50876         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50877         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50878         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50879         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50880         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50881         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50882         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50883         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50884         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50885         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50886         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50887         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50888         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50889         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50890         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50891         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50892         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50894         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50895         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50897         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50898         place.  Use VEX encoding when compiling for AVX.
50900 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50902         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50903         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50905         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50907 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50909         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50910         useless if() expression.
50911         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50912         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50913         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50914         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50915         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50916         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50917         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50918         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50919         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50920         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50921         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50922         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50923         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50924         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50925         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50926         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50927         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50928         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50929         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50931         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50933 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50935         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50936         condition.
50937         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50939 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50941         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50942         .text section.  Avoid duplicate constants.
50943         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50945         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50947         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50948         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50949         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50950         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50951         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50952         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50953         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50954         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50955         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50956         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50957         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50958         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50959         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50960         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50961         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50962         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50963         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50964         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50965         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50966         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50967         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50968         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50969         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50970         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50971         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50972         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50973         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50974         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50975         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50976         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50977         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50978         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50979         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50980         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50981         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50982         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50983         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50984         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50985         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50986         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50987         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50989 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50991         * sysdeps/x86_64/dla.h: Move to ...
50992         * sysdeps/x86_64/fpu/dla.h: ...here.
50993         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50994         situations.  Use __builtin_fma only for gcc 4.6 and up.
50996         * config.make.in: Add have-mfma4 entry.
50997         * configure.in: Substitute libc_cv_cc_fma4.
50998         * math/Makefile (dbl-only-routines): Add sincostab.
50999         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51000         Use __sincostab not sincos.
51001         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51002         name is a macro.
51003         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51004         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51005         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51006         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
51007         using __copysign.
51008         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
51009         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
51010         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51011         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51012         and __inv.
51013         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51014         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51015         __copysign.
51016         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
51017         define aliases when function name is a macro.
51018         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51019         sysdeps/ieee754/dbl-64/sincos.tbl.
51020         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51021         fma4-enabled routines.
51022         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51023         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51024         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51025         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51026         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51027         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51028         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51029         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51030         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51031         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51032         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51033         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51034         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51035         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51036         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51037         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51038         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51039         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51040         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51041         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51042         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51043         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51044         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51045         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51046         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51047         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51048         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51049         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51050         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51051         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51053         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51054         rename.
51055         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51056         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51057         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51058         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51059         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51061         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51062         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51064 2011-10-24  Andreas Schwab  <schwab@redhat.com>
51066         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51068 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51070         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51072         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51073         prediction.
51074         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51076         * string/strnlen.c: Don't define STRNLEN, reverse logic.
51077         Remove unused variable magic_bits.
51078         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51080         * string/strnlen.c: Define and use STRNLEN macro.
51081         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51082         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51083         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51084         * wcsmbs/wcslen.c: Define and use WCSLEN.
51085         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51086         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51087         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51088         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51089         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51090         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51091         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51093 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51095         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51096         strnlen-sse2-no-bsf.
51097         Rename strlen-no-bsf to strlen-sse2-no-bsf.
51098         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51099         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51100         Add strnlen support.
51101         (USE_AS_STRNLEN): New macro.
51102         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51103         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51104         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51105         * sysdeps/x86_64/wcslen.S: New file.
51107 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
51109         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51110         XMM-moves are used for copying on small sizes.
51112 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51114         * wcsmbs/Makefile (strop-tests): Add wcschr.
51115         * wcsmbs/test-wcschr.c: New file.
51116         * string/test-strchr.c: Update.
51117         Add wcschr support.
51118         (WIDE): New macro.
51120 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51122         * wcsmbs/Makefile (strop-tests): Add wcslen.
51123         * wcsmbs/test-wcslen.c: New file.
51124         * string/test-strlen.c: Update.
51125         Add wcslen support.
51126         (WIDE): New macro.
51128 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51130         * po/it.po: Update from translation team.
51132 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51134         * sysdeps/x86_64/wcscmp.S: Update.
51135         Fix wrong comparison semantics.
51136         wcscmp shall use signed comparison not unsigned.
51137         Don't use substraction to avoid overflow bug.
51138         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51139         * wcsmbc/wcscmp.c: Likewise.
51140         * string/test-strcmp.c: Likewise.
51141         Add new tests to check cases with negative values.
51143 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51145         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51146         * sysdeps/x86_64/dla.h: ...here.  New file.
51147         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51148         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51150         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51151         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51152         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51153         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51154         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51155         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51157 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51160         __ynl_finite aliases.
51162 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51164         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51166         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51167         define DLA_FMA.
51168         [DLA_FMA] (EMULV): Use DLA_FMA.
51169         [DLA_FMA] (MUL12): Use EMULV.
51170         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51171         that are not needed.
51172         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51174         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51175         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51176         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51177         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51178         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51180 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51182         * math/s_nan.c: Undef __nan.
51183         * math/s_nanf.c: Undef __nanf.
51184         * math/s_nanl.c: Undef __nanl.
51185         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51186         "math_private.h".
51188 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51190         * math/s_catan.c: Add branch predictions.
51191         * math/s_catanf.c: Likewise.
51192         * math/s_catanh.c: Likewise.
51193         * math/s_catanhf.c: Likewise.
51194         * math/s_catanhl.c: Likewise.
51195         * math/s_catanl.c: Likewise.
51196         * math/s_cexp.c: Likewise.
51197         * math/s_cexpf.c: Likewise.
51198         * math/s_cexpl.c: Likewise.
51199         * math/s_clog.c: Likewise.
51200         * math/s_clog10.c: Likewise.
51201         * math/s_clog10f.c: Likewise.
51202         * math/s_clog10l.c: Likewise.
51203         * math/s_clogf.c: Likewise.
51204         * math/s_clogl.c: Likewise.
51205         * math/s_csqrt.c: Likewise.
51206         * math/s_csqrtf.c: Likewise.
51207         * math/s_csqrtl.c: Likewise.
51208         * math/s_ctanf.c: Likewise.
51209         * math/s_ctanh.c: Likewise.
51210         * math/s_ctanhf.c: Likewise.
51211         * math/s_ctanhl.c: Likewise.
51212         * math/s_ctanl.c: Likewise.
51214         * math/math_private.h: Define __nan, __nanf, __nanl.
51215         * math/s_cacosh.c: Include <math_private.h>.
51216         * math/s_cacoshl.c: Likewise.
51217         * math/s_casinh.c: Likewise.
51218         * math/s_casinhf.c: Likewise.
51219         * math/s_casinhl.c: Likewise.
51220         * math/s_ccos.c: Rely entire on ccosh.
51221         * math/s_ccosf.c: Rely entire on ccoshf.
51222         * math/s_ccosl.c: Rely entirely on ccoshl.
51223         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51224         Remove tests for FE_INVALID.
51225         * math/s_ccoshf.c: Likewise.
51226         * math/s_ccoshl.c: Likewise.
51227         * math/s_csin.c: Likewise.
51228         * math/s_csinf.c: Likewise.
51229         * math/s_csinh.c Likewise.
51230         * math/s_csinhf.c: Likewise.
51231         * math/s_csinhl.c: Likewise.
51232         * math/s_csinl.c: Likewise.
51233         * math/s_ctan.c: Likewise.
51234         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51235         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51236         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51238 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51240         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51241         compilation problems.
51243         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51244         __builtin_expect.
51246 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51248         * sysdeps/i386/configure.in: Test for -mfma4 option.
51249         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51250         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51251         COMMON_CPUID_INDEX_80000001.
51252         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51253         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51254         use it if FMA3 is not supported.
51255         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51257         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51258         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51260 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51262         [BZ #12892]
51263         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51264         it would create a cycle with a link time dependency.
51266 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51268         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51269         instruction.
51270         * string/Makefile (strop-tests): Add rawmemchr.
51271         * string/test-rawmemchr.c: New file.
51273         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51274         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51275         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51276         when compiling str{,n}casecmp and when AVX is available.  Hook up
51277         new optimized code in initializers.
51279 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51281         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51282         __feraiseexcept instead of feraiseexcept.
51284 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51286         * math/math_private.h: Define defaults for libc_fetestexcept and
51287         libc_feupdateenv.
51288         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51289         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51290         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51291         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51292         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51293         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51294         libc_fetestexcept and libc_feupdateenv.
51296         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51297         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51298         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51299         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51300         libc_feholdexcept_setround.
51302         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51303         Add s_nearbyint-c and s_nearbyintf-c.
51304         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51305         nearbyintf inlines.
51306         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51307         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51308         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51309         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51311         * math/math_private.h: Define defaults for libc_fegetround,
51312         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51313         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51314         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51315         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51316         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51317         standard functions.
51318         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51319         Remove comments and hacks for old compiler versions.
51320         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51321         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51322         libc_feholdexceptl.
51324 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51326         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51327         (__feraiseexcept_renamed): Add __NTH.
51328         (feraiseexcept): Add __NTH.  Rename local variables to fix
51329         namespace violations.
51331 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51333         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51335         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51337         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51338         recently added interfaces.
51339         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51341         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51342         about macro parameter expansion.
51344         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51345         __NO_MATH_INLINES is defined.  Cleanups.
51347         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51348         and __floorf is target has SSE4.1.
51349         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51350         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51351         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51352         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51354         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51355         name.
51356         (floorf): Likewise.
51358         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51360 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51362         * misc/sys/cdefs.h: Fix last change.
51364         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51365         database lookup.
51367 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51369         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51371         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51372         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51373         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51374         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51375         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51376         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51377         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51378         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51379         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51380         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51381         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51382         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51383         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51384         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51385         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51386         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51387         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51388         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51389         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51390         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51391         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51392         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51394         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51395         ceil, ceilf, floor, floorf.
51397         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51398         Perform IRELATIVE relocations last.
51400         * elf/do-rel.h: Add another parameter nrelative, replacing the
51401         local variable with the same name.  Change name of the function
51402         to end in Rel or Rela (uppercase).
51403         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51404         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51405         elf_dynamic_do_##reloc function.
51407 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51409         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51410         is sufficient, at least on modern CPUs.
51412         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51414         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51415         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51417         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51418         __expl_finite.
51419         * math/bits/math-finite.h: Add entries for exp.
51420         * math/e_expl.c: Add __*_finite alias.
51421         * sysdeps/i386/fpu/e_exp.S: Likewise.
51422         * sysdeps/i386/fpu/e_expf.S: Likewise.
51423         * sysdeps/i386/fpu/e_expl.c: Likewise.
51424         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51425         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51426         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51427         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51428         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51429         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51430         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51432         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51433         is sufficient, at least on modern CPUs.
51435         * ctype/ctype-info.c (__ctype_init): Define.
51436         * include/ctype.h (__ctype_init): Declare.
51437         (__ctype_b_loc): The variable is always initialized.
51438         (__ctype_toupper_loc): Likewise.
51439         (__ctype_tolower_loc): Likewise.
51440         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51441         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51443 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51445         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51447         * configure.in: Also look in $cxxmachine/include for C++ system
51448         headers.
51450 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51452         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51453         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51454         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51455         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51456         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51457         (USE_AS_WMEMCMP): New macro.
51458         Fixing indents.
51459         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51460         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51461         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51462         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51463         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51464         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51465         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51466         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51467         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51468         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51469         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51470         (USE_AS_WMEMCMP): New macro.
51471         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51472         * sysdeps/string/test-memcmp.c: Update.
51473         Fix simple_wmemcmp.
51474         Add new tests.
51475         * wcsmbs/wmemcmp.c: Update.
51476         (WMEMCMP): New macro.
51477         Fix overflow bug.
51479 2011-10-12  Andreas Jaeger  <aj@suse.de>
51481         [BZ #13268]
51482         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51484 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51486         * libio/iofwide.c (do_length): Avoid warning.
51488         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51490 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51492         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51494         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51495         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51496         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51497         * sysdeps/i386/i686/fpu/e_log.S: New file.
51498         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51499         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51501         * ctype/ctype.h: Add support for inlined isXXX functions when
51502         compiling C++ code.
51504 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51506         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51508         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51510 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51512         [BZ #13291]
51513         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51515 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51517         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51518         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51519         feraiseexcept.
51521         * sysdeps/x86_64/memrchr.S: Check for zero size.
51523         * string/stratcliff.c: Add memrchr tests.
51525 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51527         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51528         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51529         rawmemchr-sse2 rawmemchr-sse2-bsf.
51530         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51531         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51532         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51533         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51534         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51535         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51536         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51537         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51538         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51539         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51540         * string/memrchr.c (MEMRCHR): New macro.
51542 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51544         Add integration with gcc's -ffinite-math-only and optimize wrapper
51545         functions in libm.
51546         * Versions.def: Define GLIBC_2.15 version for libm.
51547         * math/Makefile (headers): Add bits/math-finite.h.
51548         * math/bits/math-finite.h: New file.
51549         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51550         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51551         * math/e_acoshl.c: Add __*_finite alias.
51552         * math/e_acosl.c: Likewise.
51553         * math/e_asinl.c: Likewise.
51554         * math/e_atan2l.c: Likewise.
51555         * math/e_atanhl.c: Likewise.
51556         * math/e_coshl.c: Likewise.
51557         * math/e_exp10.c: Likewise.
51558         * math/e_exp10f.c: Likewise.
51559         * math/e_exp10l.c: Likewise.
51560         * math/e_exp2l.c: Likewise.
51561         * math/e_fmodl.c: Likewise.
51562         * math/e_gammal_r.c: Likewise.
51563         * math/e_hypotl.c: Likewise.
51564         * math/e_j0l.c: Likewise.
51565         * math/e_j1l.c: Likewise.
51566         * math/e_jnl.c: Likewise.
51567         * math/e_lgammal_r.c: Likewise.
51568         * math/e_log10l.c: Likewise.
51569         * math/e_log2l.c: Likewise.
51570         * math/e_logl.c: Likewise.
51571         * math/e_powl.c: Likewise.
51572         * math/e_sinhl.c: Likewise.
51573         * math/e_sqrtl.c: Likewise.
51574         * math/e_scalb.c: Completely rewritten and optimized.
51575         * math/e_scalbf.c: Likewise.
51576         * math/e_scalbl.c: Likewise.
51577         * math/w_acos.c: Likewise.
51578         * math/w_acosf.c: Likewise.
51579         * math/w_acosl.c: Likewise.
51580         * math/w_acosh.c: Likewise.
51581         * math/w_acoshf.c: Likewise.
51582         * math/w_acoshl.c: Likewise.
51583         * math/w_asin.c: Likewise.
51584         * math/w_asinf.c: Likewise.
51585         * math/w_asinl.c: Likewise.
51586         * math/w_atan2.c: Likewise.
51587         * math/w_atan2f.c: Likewise.
51588         * math/w_atan2l.c: Likewise.
51589         * math/w_atanh.c: Likewise.
51590         * math/w_atanhf.c: Likewise.
51591         * math/w_atanhl.c: Likewise.
51592         * math/w_exp10.c: Likewise.
51593         * math/w_exp10f.c: Likewise.
51594         * math/w_exp10l.c: Likewise.
51595         * math/w_fmod.c: Likewise.
51596         * math/w_fmodf.c: Likewise.
51597         * math/w_fmodl.c: Likewise.
51598         * math/w_j0.c: Likewise.
51599         * math/w_j0f.c: Likewise.
51600         * math/w_j0l.c: Likewise.
51601         * math/w_j1.c: Likewise.
51602         * math/w_j1f.c: Likewise.
51603         * math/w_j1l.c: Likewise.
51604         * math/w_jn.c: Likewise.
51605         * math/w_jnf.c: Likewise.
51606         * math/w_log.c: Likewise.
51607         * math/w_logf.c: Likewise.
51608         * math/w_logl.c: Likewise.
51609         * math/w_log10.c: Likewise.
51610         * math/w_log10f.c: Likewise.
51611         * math/w_log10l.c: Likewise.
51612         * math/w_log2.c: Likewise.
51613         * math/w_log2f.c: Likewise.
51614         * math/w_log2l.c: Likewise.
51615         * math/w_pow.c: Likewise.
51616         * math/w_powf.c: Likewise.
51617         * math/w_powl.c: Likewise.
51618         * math/w_remainder.c: Likewise.
51619         * math/w_remainderf.c: Likewise.
51620         * math/w_remainderl.c: Likewise.
51621         * math/w_scalb.c: Likewise.
51622         * math/w_scalbf.c: Likewise.
51623         * math/w_scalbl.c: Likewise.
51624         * math/w_sqrt.c: Likewise.
51625         * math/w_sqrtf.c: Likewise.
51626         * math/w_sqrtl.c: Likewise.
51627         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51628         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51629         used.
51630         * math/math_private.h: Declare __kernel_standard_f.
51631         * math/w_cosh.c: Remove cruft and optimize a bit.
51632         * math/w_coshf.c: Likewise.
51633         * math/w_coshl.c: Likewise.
51634         * math/w_exp2.c: Likewise.
51635         * math/w_exp2f.c: Likewise.
51636         * math/w_exp2l.c: Likewise.
51637         * math/w_hypot.c: Likewise.
51638         * math/w_hypotf.c: Likewise.
51639         * math/w_hypotl.c: Likewise.
51640         * math/w_lgamma.c: Likewise.
51641         * math/w_lgamma_r.c: Likewise.
51642         * math/w_lgammaf.c: Likewise.
51643         * math/w_lgammaf_r.c: Likewise.
51644         * math/w_lgammal.c: Likewise.
51645         * math/w_lgammal_r.c: Likewise.
51646         * math/w_sinh.c: Likewise.
51647         * math/w_sinhf.c: Likewise.
51648         * math/w_sinhl.c: Likewise.
51649         * math/w_tgamma.c: Likewise.
51650         * math/w_tgammaf.c: Likewise.
51651         * math/w_tgammal.c: Likewise.
51652         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51653         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51654         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51655         Minor optimizations.  Pretty printing.  Remove cruft.
51656         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51657         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51658         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51659         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51660         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51661         * sysdeps/i386/fpu/e_asin.S: Likewise.
51662         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51663         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51664         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51665         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51666         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51667         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51668         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51669         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51670         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51671         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51672         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51673         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51674         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51675         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51676         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51677         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51678         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51679         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51680         * sysdeps/i386/fpu/e_log.S: Likewise.
51681         * sysdeps/i386/fpu/e_log10.S: Likewise.
51682         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51683         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51684         * sysdeps/i386/fpu/e_log2.S: Likewise.
51685         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51686         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51687         * sysdeps/i386/fpu/e_logf.S: Likewise.
51688         * sysdeps/i386/fpu/e_logl.S: Likewise.
51689         * sysdeps/i386/fpu/e_pow.S: Likewise.
51690         * sysdeps/i386/fpu/e_powf.S: Likewise.
51691         * sysdeps/i386/fpu/e_powl.S: Likewise.
51692         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51693         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51694         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51695         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51696         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51697         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51698         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51699         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51700         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51701         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51702         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51703         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51704         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51705         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51706         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51707         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51708         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51709         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51710         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51711         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51712         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51713         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51714         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51715         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51716         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51717         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51718         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51719         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51720         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51721         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51722         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51723         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51724         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51725         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51726         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51727         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51728         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51729         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51730         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51731         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51732         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51733         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51734         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51735         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51736         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51737         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51738         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51739         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51740         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51741         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51742         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51743         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51744         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51745         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51746         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51747         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51748         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51749         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51750         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51751         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51752         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51753         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51754         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51755         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51756         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51757         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51758         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51759         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51760         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51761         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51762         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51763         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51764         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51765         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51766         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51767         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51768         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51769         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51770         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51771         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51772         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51773         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51774         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51775         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51776         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51777         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51778         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51779         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51780         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51781         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51782         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51783         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51784         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51785         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51786         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51787         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51788         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51789         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51790         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51791         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51792         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51793         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51794         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51795         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51796         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51797         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51798         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51799         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51800         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51801         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51802         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51803         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51804         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51805         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51806         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51807         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51808         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51809         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51810         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51811         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51812         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51813         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51814         (__isnanf): Likewise.
51815         (__isinf_ns): Likewise.
51816         (__isinf_nsf): Likewise.
51817         (__finite): Likewise.
51818         (__finitef): Likewise.
51819         (__ieee754_sqrt): Define as macro.
51820         (__ieee754_sqrtf): Define as macro.
51821         (__ieee754_sqrtl): Define as macro.
51822         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51823         inlined copy.
51824         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51825         __FINITE_MATH_ONLY__ consistent.
51826         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51828 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51830         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51831         of rawmemchr.
51833         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51835 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51837         * po/ja.po: Update from translation team.
51839 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51841         * locale/programs/locarchive.c (prepare_address_space): New function.
51842         (create_archive, enlarge_archive, open_archive): Use it.
51844         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51845         inside [SHARED], where it is used.
51847         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51849         * nss/getent.c (netgroup_keys): Remove unused variable.
51850         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51852 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51854         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51855         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51856         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51857         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51858         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51859         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51860         * math/Makefile (libm-calls): Add s_isinf_ns.
51861         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51862         * math/multc3.c: Likewise.
51863         * math/s_casin.c: Likewise.
51864         * math/s_casinf.c: Likewise.
51865         * math/s_casinl.c: Likewise.
51866         * math/s_ccos.c: Likewise.
51867         * math/s_ccosf.c: Likewise.
51868         * math/s_ccosl.c: Likewise.
51869         * math/s_ctan.c: Likewise.
51870         * math/s_ctanf.c: Likewise.
51871         * math/s_ctanh.c: Likewise.
51872         * math/s_ctanhf.c: Likewise.
51873         * math/s_ctanhl.c: Likewise.
51874         * math/s_ctanl.c: Likewise.
51875         * math/w_fmod.c: Likewise.
51876         * math/w_fmodf.c: Likewise.
51877         * math/w_fmodl.c: Likewise.
51878         * math/w_remainder.c: Likewise.
51879         * math/w_remainderf.c: Likewise.
51880         * math/w_remainderl.c: Likewise.
51881         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51882         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51883         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51884         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51885         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51886         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51887         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51888         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51890         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51891         of the number.
51892         * stdio-common/printf_fphex.c: Likewise.
51893         * stdio-common/printf_size.c: Likewise.
51895         * math/e_exp10.c: Include math_private.h using <...> not "...".
51896         * math/e_exp10f.c: Likewise.
51897         * math/e_exp10l.c: Likewise.
51898         * math/e_exp2l.c: Likewise.
51899         * math/e_j0l.c: Likewise.
51900         * math/e_j1l.c: Likewise.
51901         * math/e_jnl.c: Likewise.
51902         * math/e_lgammal_r.c: Likewise.
51903         * math/e_rem_pio2l.c: Likewise.
51904         * math/e_scalb.c: Likewise.
51905         * math/e_scalbf.c: Likewise.
51906         * math/e_scalbl.c: Likewise.
51907         * math/k_cosl.c: Likewise.
51908         * math/k_sinl.c: Likewise.
51909         * math/k_tanl.c: Likewise.
51910         * math/s_cacoshf.c: Likewise.
51911         * math/s_catan.c: Likewise.
51912         * math/s_catanf.c: Likewise.
51913         * math/s_catanh.c: Likewise.
51914         * math/s_catanhf.c: Likewise.
51915         * math/s_catanhl.c: Likewise.
51916         * math/s_catanl.c: Likewise.
51917         * math/s_ccosh.c: Likewise.
51918         * math/s_ccoshf.c: Likewise.
51919         * math/s_ccoshl.c: Likewise.
51920         * math/s_cexp.c: Likewise.
51921         * math/s_cexpf.c: Likewise.
51922         * math/s_cexpl.c: Likewise.
51923         * math/s_clog.c: Likewise.
51924         * math/s_clog10.c: Likewise.
51925         * math/s_clog10f.c: Likewise.
51926         * math/s_clog10l.c: Likewise.
51927         * math/s_clogf.c: Likewise.
51928         * math/s_clogl.c: Likewise.
51929         * math/s_csin.c: Likewise.
51930         * math/s_csinf.c: Likewise.
51931         * math/s_csinh.c: Likewise.
51932         * math/s_csinhf.c: Likewise.
51933         * math/s_csinhl.c: Likewise.
51934         * math/s_csinl.c: Likewise.
51935         * math/s_csqrt.c: Likewise.
51936         * math/s_csqrtf.c: Likewise.
51937         * math/s_csqrtl.c: Likewise.
51938         * math/s_ctan.c: Likewise.
51939         * math/s_ctanf.c: Likewise.
51940         * math/s_ctanh.c: Likewise.
51941         * math/s_ctanhf.c: Likewise.
51942         * math/s_ctanhl.c: Likewise.
51943         * math/s_ctanl.c: Likewise.
51944         * math/s_ldexp.c: Likewise.
51945         * math/s_ldexpf.c: Likewise.
51946         * math/s_ldexpl.c: Likewise.
51947         * math/s_significand.c: Likewise.
51948         * math/s_significandf.c: Likewise.
51949         * math/s_significandl.c: Likewise.
51950         * math/w_acos.c: Likewise.
51951         * math/w_acosf.c: Likewise.
51952         * math/w_acosh.c: Likewise.
51953         * math/w_acoshf.c: Likewise.
51954         * math/w_acoshl.c: Likewise.
51955         * math/w_acosl.c: Likewise.
51956         * math/w_asin.c: Likewise.
51957         * math/w_asinf.c: Likewise.
51958         * math/w_asinl.c: Likewise.
51959         * math/w_atan2.c: Likewise.
51960         * math/w_atan2f.c: Likewise.
51961         * math/w_atan2l.c: Likewise.
51962         * math/w_atanh.c: Likewise.
51963         * math/w_atanhf.c: Likewise.
51964         * math/w_atanhl.c: Likewise.
51965         * math/w_cosh.c: Likewise.
51966         * math/w_coshf.c: Likewise.
51967         * math/w_coshl.c: Likewise.
51968         * math/w_dremf.c: Likewise.
51969         * math/w_exp10.c: Likewise.
51970         * math/w_exp10f.c: Likewise.
51971         * math/w_exp10l.c: Likewise.
51972         * math/w_exp2.c: Likewise.
51973         * math/w_exp2f.c: Likewise.
51974         * math/w_fmod.c: Likewise.
51975         * math/w_fmodf.c: Likewise.
51976         * math/w_fmodl.c: Likewise.
51977         * math/w_hypot.c: Likewise.
51978         * math/w_hypotf.c: Likewise.
51979         * math/w_hypotl.c: Likewise.
51980         * math/w_j0.c: Likewise.
51981         * math/w_j0f.c: Likewise.
51982         * math/w_j0l.c: Likewise.
51983         * math/w_j1.c: Likewise.
51984         * math/w_j1f.c: Likewise.
51985         * math/w_j1l.c: Likewise.
51986         * math/w_jn.c: Likewise.
51987         * math/w_jnf.c: Likewise.
51988         * math/w_jnl.c: Likewise.
51989         * math/w_lgamma.c: Likewise.
51990         * math/w_lgamma_r.c: Likewise.
51991         * math/w_lgammaf.c: Likewise.
51992         * math/w_lgammaf_r.c: Likewise.
51993         * math/w_lgammal.c: Likewise.
51994         * math/w_lgammal_r.c: Likewise.
51995         * math/w_log.c: Likewise.
51996         * math/w_log10.c: Likewise.
51997         * math/w_log10f.c: Likewise.
51998         * math/w_log10l.c: Likewise.
51999         * math/w_log2.c: Likewise.
52000         * math/w_log2f.c: Likewise.
52001         * math/w_log2l.c: Likewise.
52002         * math/w_logf.c: Likewise.
52003         * math/w_logl.c: Likewise.
52004         * math/w_pow.c: Likewise.
52005         * math/w_powf.c: Likewise.
52006         * math/w_powl.c: Likewise.
52007         * math/w_remainder.c: Likewise.
52008         * math/w_remainderf.c: Likewise.
52009         * math/w_remainderl.c: Likewise.
52010         * math/w_scalb.c: Likewise.
52011         * math/w_scalbf.c: Likewise.
52012         * math/w_scalbl.c: Likewise.
52013         * math/w_sinh.c: Likewise.
52014         * math/w_sinhf.c: Likewise.
52015         * math/w_sinhl.c: Likewise.
52016         * math/w_sqrt.c: Likewise.
52017         * math/w_sqrtf.c: Likewise.
52018         * math/w_sqrtl.c: Likewise.
52019         * math/w_tgamma.c: Likewise.
52020         * math/w_tgammaf.c: Likewise.
52021         * math/w_tgammal.c: Likewise.
52023         * po/ja.po: Update from translation team.
52025 2011-09-29  Andreas Jaeger  <aj@suse.de>
52027         [BZ #13179]
52028         * sunrpc/netname.c (netname2host): Fix logic.
52030         [BZ #6779]
52031         [BZ #6783]
52032         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52033         correctly.
52034         * math/w_remainder.c (__remainder): Likewise.
52035         * math/w_remainderf.c (__remainderf): Likewise.
52036         * math/libm-test.inc (remainder_test): Add test cases.
52038 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52040         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
52041         sdiv_qrnnd.
52043 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52045         * string/test-memcmp.c: Avoid unncessary #defines.
52046         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52048 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52050         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52051         Use new sse2 version for core i3 - i7 as it's faster
52052         than sse42 version.
52053         (bit_Prefer_PMINUB_for_stringop): New.
52054         * sysdeps/x86_64/rawmemchr.S: Update.
52055         Replace with faster SSE2 version.
52056         * sysdeps/x86_64/memrchr.S: New file.
52057         * sysdeps/x86_64/memchr.S: Update.
52058         Replace with faster SSE2 version.
52060 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
52062         * elf/dl-load.c (lose): Add cast to avoid warning.
52064 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52066         * po/ca.po: Update from translation team.
52068         * inet/getnetgrent_r.c: Hook up nscd.
52069         * nscd/Makefile (routines): Add nscd_netgroup.
52070         (nscd-modules): Add netgroupcache.
52071         (CFLAGS-netgroupcache.c): Define.
52072         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52073         (cache_search): Add const to second parameter.
52074         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52075         INNETGR.
52076         (dbs): Add netgrdb entry.
52077         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52078         (verify_persistent_db): Handle netgrdb.
52079         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52080         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52081         GETFDNETGR.
52082         (netgroup_response_header): Define.
52083         (innetgroup_response_header): Define.
52084         (datahead): Add netgroup_response_header and innetgroup_response_header
52085         elements.
52086         * nscd/nscd.conf: Add entries for netgroup cache.
52087         * nscd/nscd.h (dbtype): Add netgrdb.
52088         (_PATH_NSCD_NETGROUP_DB): Define.
52089         (netgroup_iov_disabled): Declare.
52090         (xmalloc, xcalloc, xrealloc): Move declarations here.
52091         (cache_search): Adjust prototype.
52092         Add netgroup-related prototypes.
52093         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52094         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52095         (__nscd_innetgr): Declare.
52096         * nscd/selinux.c (perms): Use access_vector_t as element type and
52097         add netgroup-related initializers.
52098         * nscd/netgroupcache.c: New file.
52099         * nscd/nscd_netgroup.c: New file.
52100         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52101         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52102         For four parameters use innetgr.
52103         * nss/nss_files/files-init.c: Add definition and callback for netgr.
52104         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52105         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52106         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52108         * nscd/connections.c (register_traced_file): Don't register file
52109         for disabled databases.
52111 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
52113         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52115         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52116         from tree and freeing node.
52118 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52120         * nss/nsswitch.c (__nss_database_lookup): Handle
52121         nss_parse_service_list out of memory case.
52123 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52125         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52126         out of memory case.
52128 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52130         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52131         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52132         pass it down.
52133         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52134         elf_machine_rela, elf_machine_lazy_rel.
52135         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52136         (ELF_DYNAMIC_DO_REL): Likewise.
52137         (ELF_DYNAMIC_DO_RELA): Likewise.
52138         (ELF_DYNAMIC_RELOCATE): Likewise.
52139         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52140         to ELF_DYNAMIC_DO_REL.
52141         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52142         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52143         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52144         elf_machine_rela.
52145         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52146         skip_ifunc, don't call ifunc function if non-zero.
52147         (elf_machine_rela): Likewise.
52148         (elf_machine_lazy_rel): Likewise.
52149         (elf_machine_lazy_rela): Likewise.
52150         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52151         (elf_machine_lazy_rel): Likewise.
52152         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52153         Likewise.
52154         (elf_machine_lazy_rel): Likewise.
52155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52156         Likewise.
52157         (elf_machine_lazy_rel): Likewise.
52158         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52159         (elf_machine_lazy_rel): Likewise.
52160         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52161         (elf_machine_lazy_rel): Likewise.
52162         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52163         (elf_machine_lazy_rel): Likewise.
52164         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52165         (elf_machine_lazy_rel): Likewise.
52166         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52167         (elf_machine_lazy_rel): Likewise.
52168         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52169         (elf_machine_lazy_rel): Likewise.
52171 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52173         * nss/nss_files/files-init.c (_nss_files_init): Use static
52174         initialization for all the *_traced_file variables.
52176 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52178         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52180 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52182         [BZ #13226]
52183         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52185 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52187         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52188         Reread the line before reparsing it.
52190 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52192         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52194 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52195             Maxim Kuvyrkov  <maxim@codesourcery.com>
52196             Joseph Myers  <joseph@codesourcery.com>
52198         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52199         if needed for __stack_chk_guard.
52201 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52203         * sysdeps/posix/spawni.c (script_execute): Always define it.
52204         It will be optimized away if unused.
52205         (maybe_script_execute): New function.
52206         (__spawni): Call it.
52208         * Makerules: Don't include tls.make.
52209         (config-tls): Always set to thread.
52210         * tls.make.c: File removed.
52212 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52214         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52215         * config.make.in (CPPFLAGS-config): New substituted variable.
52217 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52219         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52221         [BZ #13192]
52222         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52223         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52225 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52227         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52228         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52229         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52230         (CALL_FAIL): Likewise.
52231         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52232         (CALL_FAIL): Macro removed.
52233         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52235 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52237         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52238         for __FINITE_MATH_ONLY__ == 1.
52240 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52242         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52243         __ieee754_sqrt instead of sqrt.
52244         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52245         __ieee754_sqrtf instead of sqrtf.
52246         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52247         __floorf instead of floorf.
52248         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52249         __floorf, __truncf instead of floorf, truncf.
52251 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52253         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52255         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52256         __extern_always_inline.
52257         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52258         32-bit.
52260 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52262         * elf/rtld.c (dl_main): Also relocate in dependency order when
52263         doing symbol dependency testing.
52265 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52267         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52268         Always define `refsym'.
52270 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52272         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52273         (__FD_ELT): Renamed from __FDELT.
52274         * misc/bits/select2.h (__FD_ELT): Likewise.
52275         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52276         __FD_MASK instead of __FDELT, __FDMASK.
52277         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52278         Likewise.
52279         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52280         Likewise.
52282         * elf/Makefile (gen-ldd): Fix pattern.
52284         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52285         (init_tls): Likewise.
52287 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52289         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52291 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52293         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52294         `struct cmsghdr *' instead of `void *'.
52295         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52296         Likewise.
52298 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52300         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52301         if non-absolute.
52302         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52303         ldd_rewrite_script.
52305 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52307         * configure.in: Remove --with-tls option.
52308         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52309         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52310         out in case it is missing.
52311         * sysdeps/ia64/elf/configure.in: Likewise.
52312         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52313         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52314         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52315         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52316         * sysdeps/sh/elf/configure.in: Likewise.
52317         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52318         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52319         * sysdeps/x86_64/elf/configure.in: Likewise.
52320         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52321         * sysdeps/mach/hurd/tls.h: Likewise.
52323         [BZ #13067]
52324         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52326         [BZ #13090]
52327         * configure.in: Fix use of AC_INIT.
52329         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52331 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52333         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52334         __set_errno.
52335         * malloc/hooks.c: Likewise.
52337         [BZ #11929]
52338         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52339         variables statically.
52340         (narenas): Initialize.
52341         (list_lock): Initialize.
52342         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52343         initializtion of main_arena and list_lock.  Small cleanups.
52344         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52345         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52346         Add initializers to main_arena and mp_.
52347         (malloc_state): Remove pagesize member.  Change all users to use
52348         GLRO(dl_pagesize).
52350         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52351         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52352         is always initialized.
52354         * malloc/malloc.c: Removed unused configurations and dead code.
52355         * malloc/arena.c: Likewise.
52356         * malloc/hooks.c: Likewise.
52357         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52359         * include/tls.h: Removed.  USE___THREAD must always be defined.
52360         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52361         * elf/dl-libc.c: Likewise.
52362         * elf/dl-tsd.c: Likewise.
52363         * include/errno.h: Likewise.
52364         * include/netdb.h: Likewise.
52365         * include/resolv.h: Likewise.
52366         * inet/herrno-loc.c: Likewise.
52367         * inet/herrno.c: Likewise.
52368         * malloc/arena.c: Likewise.
52369         * malloc/hooks.c: Likewise.
52370         * malloc/malloc.c: Likewise.
52371         * resolv/res-state.c: Likewise.
52372         * resolv/res_libc.c: Likewise.
52373         * sysdeps/i386/dl-machine.h: Likewise.
52374         * sysdeps/ia64/dl-machine.h: Likewise.
52375         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52376         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52377         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52378         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52379         * sysdeps/sh/dl-machine.h: Likewise.
52380         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52381         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52382         * sysdeps/unix/i386/sysdep.S: Likewise.
52383         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52384         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52385         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52387         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52388         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52389         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52390         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52391         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52392         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52393         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52394         * sysdeps/x86_64/dl-machine.h: Likewise.
52395         * tls.make.c: Likewise.
52397         * configure.in: Remove --with-__thread option.  Make tests for
52398         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52399         tls_model attribute fail if no support is available.  Remove
52400         USE_IN_LIBIO.
52401         * Makeconfig: Adjust for dropped configure option.  All features are
52402         now mandatory.
52403         * Makerules: Likewise.
52404         * Versions.def: Likewise.
52405         * argp/argp-fmtstream.c: Likewise.
52406         * argp/argp-fmtstream.h: Likewise.
52407         * argp/argp-help.c: Likewise.
52408         * assert/assert.c: Likewise.
52409         * config.h.in: Likewise.
52410         * config.make.in: Likewise.
52411         * configure: Likewise.
52412         * configure.in: Likewise.
52413         * csu/Versions: Likewise.
52414         * csu/init.c: Likewise.
52415         * elf/tst-audit2.c: Likewise.
52416         * elf/tst-tls10.c: Likewise.
52417         * elf/tst-tls10.h: Likewise.
52418         * elf/tst-tls11.c: Likewise.
52419         * elf/tst-tls12.c: Likewise.
52420         * elf/tst-tls14.c: Likewise.
52421         * elf/tst-tlsmod11.c: Likewise.
52422         * elf/tst-tlsmod12.c: Likewise.
52423         * elf/tst-tlsmod13.c: Likewise.
52424         * elf/tst-tlsmod13a.c: Likewise.
52425         * elf/tst-tlsmod14a.c: Likewise.
52426         * elf/tst-tlsmod15b.c: Likewise.
52427         * elf/tst-tlsmod16a.c: Likewise.
52428         * elf/tst-tlsmod16b.c: Likewise.
52429         * elf/tst-tlsmod7.c: Likewise.
52430         * elf/tst-tlsmod8.c: Likewise.
52431         * elf/tst-tlsmod9.c: Likewise.
52432         * gmon/gmon.c: Likewise.
52433         * grp/fgetgrent_r.c: Likewise.
52434         * grp/putgrent.c: Likewise.
52435         * hurd/fopenport.c: Likewise.
52436         * include/libc-symbols.h: Likewise.
52437         * include/tls.h: Likewise.
52438         * intl/gettextP.h: Likewise.
52439         * intl/loadinfo.h: Likewise.
52440         * locale/global-locale.c: Likewise.
52441         * locale/localeinfo.h: Likewise.
52442         * mach/devstream.c: Likewise.
52443         * malloc/arena.c: Likewise.
52444         * malloc/set-freeres.c: Likewise.
52445         * misc/err.c: Likewise.
52446         * misc/getttyent.c: Likewise.
52447         * misc/mntent_r.c: Likewise.
52448         * posix/getopt.c: Likewise.
52449         * posix/wordexp.c: Likewise.
52450         * pwd/fgetpwent_r.c: Likewise.
52451         * resolv/Versions: Likewise.
52452         * resolv/res_hconf.c: Likewise.
52453         * shadow/fgetspent_r.c: Likewise.
52454         * shadow/putspent.c: Likewise.
52455         * stdio-common/printf_fphex.c: Likewise.
52456         * stdio-common/tmpfile.c: Likewise.
52457         * stdlib/abort.c: Likewise.
52458         * stdlib/fmtmsg.c: Likewise.
52459         * sunrpc/auth_unix.c: Likewise.
52460         * sunrpc/clnt_perr.c: Likewise.
52461         * sunrpc/clnt_tcp.c: Likewise.
52462         * sunrpc/clnt_udp.c: Likewise.
52463         * sunrpc/clnt_unix.c: Likewise.
52464         * sunrpc/openchild.c: Likewise.
52465         * sunrpc/svc_simple.c: Likewise.
52466         * sunrpc/svc_tcp.c: Likewise.
52467         * sunrpc/svc_udp.c: Likewise.
52468         * sunrpc/svc_unix.c: Likewise.
52469         * sunrpc/xdr.c: Likewise.
52470         * sunrpc/xdr_array.c: Likewise.
52471         * sunrpc/xdr_rec.c: Likewise.
52472         * sunrpc/xdr_ref.c: Likewise.
52473         * sunrpc/xdr_stdio.c: Likewise.
52475 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52477         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52479 2011-07-03  Andreas Jaeger  <aj@suse.de>
52481         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52482         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52483         regenerate with gen-libm-tests.pl.
52485 2010-05-12  Petr Baudis  <pasky@suse.cz>
52487         [BZ #11589]
52488         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52489         around j0() zero points by switching to j1().
52490         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52491         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52492         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52493         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52495 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52497         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52498         instead of 0.
52499         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52500         instead of 0.
52501         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52502         Patch in part by Pavel Roskin <proski@gnu.org>.
52504         [BZ #13138]
52505         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52506         realloc.
52507         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52508         Free memory block if necessary.
52510         [BZ #12847]
52511         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52512         be NULL.  Don't lock in this case.
52514 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52516         * elf/elf.h (ELFOSABI_GNU): New macro.
52517         (ELFOSABI_LINUX): Define to that.
52519 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52521         * string/strncat.c (strncat): Undef the symbol in case it has been
52522         defined in bits/string.h.
52524 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52526         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52528         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52529         link map.
52531 2011-08-17  Andreas Jaeger  <aj@suse.de>
52533         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52535 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52536             Ian Lance Taylor  <iant@google.com>
52538         * math/libm-test.inc (lround_test): New testcase.
52539         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52541 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52543         * Makefile: Remove support for automatic cvs check-ins.
52544         * Makerules: Likewise.
52545         * config.make.in: Likewise.
52546         * configure.in: Likewise.
52547         * intl/Makefile: Likewise.
52548         * locale/Makefile: Likewise.
52549         * po/Makefile: Likewise.
52550         * posix/Makefile: Likewise.
52551         * sysdeps/gnu/Makefile: Likewise.
52552         * sysdeps/mach/hurd/Makefile: Likewise.
52553         * sysdeps/sparc/sparc32/Makefile: Likewise.
52555         [BZ #13118]
52556         * posix/Makefile (bug-regex32-ENV): Define.
52557         Patch by John Stanley <jpsinthemix@verizon.net>.
52559         * misc/Makefile (headers): Add bits/select2.h.
52560         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52561         * misc/bits/select2.h: New file.
52562         * include/bits/select2.h: New file.
52563         * debug/Makefile (routines): Add fdelt_chk.
52564         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52565         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52566         FD_ISSET.
52567         * debug/fdelt_chk.c: New file.
52569         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52570         * wcsmbs/test-wmemcmp.c: Likewise.
52571         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52572         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52574 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52576         * string/Makefile (strop-tests): Add memcmp.
52577         * string/test-wmemcmp.c: New file.
52578         * string/test-memcmp.c: Add wmemcmp support.
52580 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52582         [BZ #13153]
52583         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52584         2011-07-19 change.
52586         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52587         garbage value in a __mach_port_mod_refs call in the cases of the
52588         task-self and thread-self ports.
52590 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52592         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52594 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52596         * elf/dl-load.c (lose): Check for non-null L.
52598 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52600         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52602         * elf/dl-libc.c (dlerror_run): Pass back error code from
52603         dl_catch_error.
52605         [BZ #13123]
52606         * elf/dl-load.c (lose): Free l_origin if it is valid.
52608         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52609         names.
52610         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52611         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52612         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52613         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52614         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52615         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52617 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52619         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52620         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52621         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52622         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52623         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52624         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52625         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52626         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52627         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52628         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52630 2011-08-15  Alan Modra  <amodra@gmail.com>
52632         [BZ #13092]
52633         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52634         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52635         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52636         ppc_mcount to static-only-routines.
52637         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52638         __mcount_internal.
52639         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52640         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52642 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52644         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52645         for finite and infinity parameters.
52647 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52649         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52650         and add nop instructions for throughput optimization.
52651         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52653 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52655         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52656         aligned copy for power7 with vector-scalar instructions.
52657         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52659 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52661         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52662         AVX check.
52664 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52666         [BZ #13144]
52667         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52668         last change.
52670 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52672         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52673         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52674         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52675         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52676         clock_gettime.
52678 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52680         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52681         Forgot to demangle the pointer.
52683         * sysdeps/i386/sysdep.h: Define atom_text_section.
52684         * sysdeps/x86_64/sysdep.h: Likewise.
52685         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52686         section with atom_text_section.
52687         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52688         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52689         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52690         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52691         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52693         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52694         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52695         already be defined.  Change to take two parameters and don't assign
52696         result to variable.  Adjust all users.
52697         Define INTERNAL_GETTIME if not already defined.
52698         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52699         call.
52700         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52701         HAVE_CLOCK_GETTIME_VSYSCALL.
52702         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52704         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52705         gettimeofday vsyscall, just use time.
52707 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52709         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52710         <errno.h>.
52712 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52714         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52715         syscall on x86-64.
52716         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52717         syscall.
52718         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52719         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52720         syscall if possible.
52722 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52724         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52725         e_ident.  Don't pass to find_mapsXX.
52726         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52728 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52731         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52732         * sysdeps/x86_64/multiarch/strchr.S: Update.
52733         Check bit_slow_BSF bit.
52734         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52735         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52736         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52738 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52740         [BZ #13134]
52741         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52742         before glibc 2.15.
52743         (tryshell): Define.
52744         (__spawni): Change last parameter to be flag.  Test
52745         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52746         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52747         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52748         * posix/spawni.c: Likewise.
52749         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52750         * posix/spawnp.c: Likewise.  Change normal version to use
52751         SPAWN_XFLAGS_USE_PATH.
52752         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52753         SPAWN_XFLAGS_TRY_SHELL.
52755         [BZ #13150]
52756         * posix/glob.h: Remove gcc 1.x support.
52758         [BZ #13068]
52759         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52761 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52763         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52764         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52765         strrchr-sse2-bsf
52766         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52767         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52768         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52769         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52770         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52771         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52773 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52775         * sysdeps/x86_64/wcscmp.S: New file.
52777         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52778         wcscmp-c wcscmp-sse2
52779         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52780         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52781         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52782         * wcsmbs/wcscmp.c: Allow renaming.
52784 2011-09-05  David S. Miller  <davem@davemloft.net>
52786         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52787         stack slot, rather than the struct return pointer slot.
52788         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52789         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52791         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52793 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52795         * po/ja.po: Update from translation team.
52797         [BZ #13144]
52798         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52799         kernel in 64-bit binaries.
52801 2011-09-01  David S. Miller  <davem@davemloft.net>
52803         * elf/elf.h (HWCAP_SPARC_*): Move to..
52804         * sysdeps/sparc/sysdep.h: this new file and add new values.
52805         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52806         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52807         _DL_HWCAP_COUNT to 24.
52808         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52809         entries.
52810         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52811         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52812         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52813         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52814         instead of magic constants.
52815         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52817 2011-08-31  David S. Miller  <davem@davemloft.net>
52819         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52820         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52821         Reimplement to do errno handling inline.
52822         (SYSCALL_ERROR_HANDLER): New macro.
52823         (__SYSCALL_STRING): Do not do errno handling in asm.
52824         (__CLONE_SYSCALL_STRING): Delete.
52825         (__INTERNAL_SYSCALL_STRING): Delete.
52826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52827         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52828         (PSEUDO): Reimplement to do errno handling inline.
52829         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52830         (SYSCALL_ERROR_HANDLER): New macro.
52831         (__SYSCALL_STRING): Do not do errno handling in asm.
52832         (__CLONE_SYSCALL_STRING): Delete.
52833         (__INTERNAL_SYSCALL_STRING): Delete.
52834         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52835         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52836         i386.
52837         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52838         (inline_syscall*): Add 'err' argument.
52839         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52840         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52841         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52842         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52844         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52845         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52847 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52849         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52851 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52853         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52854         directive.
52856 2011-08-24  David S. Miller  <davem@davemloft.net>
52858         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52860 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52862         * elf/Makefile: Add rules to build and run unload8 test.
52863         * elf/unload8.c: New file.
52864         * elf/unload8mod1.c: New file.
52865         * elf/unload8mod1x.c: New file.
52866         * elf/unload8mod2.c: New file.
52867         * elf/unload8mod3.c: New file.
52869         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52870         it wasn't used.
52872 2011-08-23  David S. Miller  <davem@davemloft.net>
52874         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52875         subtract stack bias.
52876         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52877         %sp not %fp in calculations.
52878         (_JMPBUF_UNWINDS_ADJ): Likewise.
52880         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52881         (aio_suspend): Call it to force an exception region around the
52882         AIO_MISC_WAIT() invocation.
52884 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52886         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52887         backslash.
52889 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52891         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52892         protection macro.
52893         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52894         and <dl-machine.h>.
52895         (Elf64_FuncDesc): Remove.
52897 2011-08-22  David S. Miller  <davem@davemloft.net>
52899         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52900         sigaltstack check, add missing cfi directives.
52901         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52902         missing cfi directives, and sigaltstack handling.
52904 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52906         [BZ #11724]
52907         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52908         object is seen twice.
52909         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52911         * elf/Makefile (distribute): Add tst-initorder2.c.
52912         (tests): Add tst-initorder2.
52913         (modules-names): Add tst-initorder2a tst-initorder2b
52914         tst-initorder2c tst-initorder2d.  Add rules to build them.
52915         ($(objpfx)tst-initorder2.out): New rule.
52916         * elf/tst-initorder2.c: New file.
52917         * elf/tst-initorder2.exp: New file.
52919 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52921         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52923         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52924         dependencies back to end of function.
52926         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52927         $(elfobjdir)/ld.so.
52929 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52932         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52933         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52934         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52935         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52936         of __vdso_gettimeofday.
52937         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52938         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52939         attribute_hidden.
52940         (_libc_vdso_platform_setup): Remove initialization of
52941         __vdso_gettimeofday and __vdso_time.
52943 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52945         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52946         and fgetc_unlocked.
52947         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52948         getc_unlocked.
52950         * elf/dl-open.c (add_to_global): Report additions to the global scope
52951         for LD_DEBUG=scopes.
52952         (dl_open_worker): Also print scope of newly loaded dependencies.
52953         (_dl_show_scope): Indicate if there is no scope.
52955         [BZ #13114]
52956         * stdio-common/Makefile (tests): Add bug24.
52957         * stdio-common/bug24.c: New file.
52959 2011-08-19  Andreas Jaeger  <aj@suse.de>
52961         [BZ #13114]
52962         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52963         non-existant file when using close-on-exec mode.
52965 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52967         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52968         the very first instruction.
52970         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52971         the CFI state in the end.
52972         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52973         inclusion of dl-trampoline.h.
52974         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52976 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52978         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52979         expectations for long double.
52981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52982         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52984 2011-08-14  David S. Miller  <davem@davemloft.net>
52986         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52987         artificual limit depends upon the system page size.
52989 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52991         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52992         * resolv/Makefile: Define CFLAGS-libresolv.
52994 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52996         * nss/makedb.c (compute_tables): Make variables used in nested
52997         function static.
52999 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53001         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53002         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53003         if buffer was too small.
53005         * elf/pldd.c (main): Attach to all threads in the process.
53006         Rewrite /proc handling to use *at functions.
53008 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
53010         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53011         specifies first scope to show.
53012         (dl_open_worker): Update callers.  Move printing scope of new
53013         object to before the relocation.
53014         * elf/rtld.c (dl_main): Update _dl_show_scope call.
53015         * sysdeps/generic/ldsodefs.h: Update declaration.
53017         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53018         string for the scope number.
53020 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
53022         * nscd/servicescache.c (cache_addserv): Make sure written is always
53023         initialized.
53025 2011-08-14  Roland McGrath  <roland@hack.frob.com>
53027         * sysdeps/i386/i486/bits/atomic.h
53028         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53029         statement expression, so as to suppress "set but not used" warning.
53030         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53032         * string/strncat.c (STRNCAT): Use prototype definition.
53034         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53035         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53036         -Iprograms here.
53037         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53038         (localedef-modules): Add localedef.
53039         (locale-modules): Add locale.
53041         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53042         * elf/rtld.c (dl_main): Invert order of assignment in last change,
53043         to avoid a warning.
53045 2011-08-14  David S. Miller  <davem@davemloft.net>
53047         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53048         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53050 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
53052         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53053         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53054         * elf/rtld.c (dl_main): Set l_name of vDSO.
53055         Call _dl_show_scope when DL_DEBUG_SCOPES.
53056         (process_dl_debug): Recognize scopes flag and also set it for all.
53057         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53058         Declare _dl_show_scope.
53060         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53061         (do_dlopen): Pass caller_dlopen to dl_open.
53062         (__libc_dlopen_mode): Initialize caller_dlopen.
53064         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53065         of libc.  Make tolower call locale-independent.  Optimize a bit by
53066         using isdigit instead of isalnum.
53067         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53069 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
53071         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53072         was a dependency or dynamically loaded.
53074 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
53076         * intl/l10nflist.c: Allow architecture-specific pop function.
53077         * sysdeps/x86_64/l10nflist.c: New file.
53079         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53080         classification.
53082 2011-08-10  Andreas Schwab  <schwab@redhat.com>
53084         * include/dirent.h: Add libc_hidden_proto for scandirat and
53085         scandirat64.  Don't declare __scandirat64.
53086         * dirent/scandirat.c: Add libc_hidden_def.
53087         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53088         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53090 2011-08-10  David S. Miller  <davem@davemloft.net>
53092         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53093         enum.
53094         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53095         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53096         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53098 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
53100         * Versions.def [libc]: Add GLIBC_2.15.
53101         * dirent/Makefile (routines): Add scandirat and scandirat64.
53102         * dirent/Versions [libc]: Export scandirat and scandirat64 for
53103         GLIBC_2.15.
53104         * dirent/dirent.h: Declare scandirat and scandirat64.
53105         * dirent/scandirat.c: New file.
53106         * dirent/scandirat64.c: New file.
53107         * sysdeps/wordsize-64/scandirat.c: New file.
53108         * sysdeps/wordsize-64/scandirat64.c: New file.
53109         * dirent/opendir.c: Define opendirat.
53110         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
53111         using scandirat.
53112         * dirent/scandir64.c: Adjust for scandir.c change.
53113         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
53114         __scandirat64, and __scandir_cancel_handler.
53115         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53116         additional parameter and use openat instead of open (outside of ld.so).
53117         Add new __opendir as wrapper around __opendirat.
53118         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53119         here without requiring old scandirat implementation.
53121 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53123         * dirent/scandir.c (cancel_handler): Renamed to
53124         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53125         defined.  Adjust users.
53126         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53127         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53129 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53131         * string/test-string.h (IMPL): Use __STRING to expand name and then
53132         stringify it.
53134         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53135         of cleanups.
53137 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53139         * string/Makefile: Update.
53140         (strop-tests): Append strncat.
53141         * string/test-wcscmp.c: New file.
53142         New comprehensive test for wcscmp.
53143         * string/test-strcmp.c: Update.
53144         (WIDE): New define.
53146 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53148         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53149         line.
53151 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53153         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53154         encoding to ACE if AI_IDN.
53156 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53158         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53159         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53161 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53163         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53164         Fix overflow bug in strncat.
53165         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53167         * string/test-strncat.c: Update.
53168         Add new tests for checking overflow bugs.
53170 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53172         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53173         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53174         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53175         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53176         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53177         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53178         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53179         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53180         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53182         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53183         (USE_AS_STRCAT): Define.
53184         Add strcat and strncat support.
53185         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53187 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53189         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53190         __n bigger than INT_MAX+1.
53191         (__strncmp_g): Likewise.
53193 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53195         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53196         * libio/stido.h: Likewise.
53198         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53199         (AF_NFC): Define.
53200         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53201         (AF_NFC): Define.
53203         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53204         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53205         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53206         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53207         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53209         [BZ #13021]
53210         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53211         installed.
53213         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53214         typo.
53215         (_dl_x86_64_save_sse): Likewise.
53217 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53219         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53220         OSXSAVE.
53221         (_dl_x86_64_save_sse): Likewise.
53223         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53225         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53227 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53229         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53230         change.
53231         (_dl_x86_64_save_sse): Use correct AVX check.
53233 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53235         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53236         bug in strncpy/strncat.
53237         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53239 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53241         * string/tester.c (test_strcat): Add tests for different alignments
53242         of source and destination.
53243         (test_strncat): Likewise.
53245 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53247         [BZ #12852]
53248         * posix/glob.c (glob): Check passed in values before using them in
53249         expressions to avoid some overflows.
53250         (glob_in_dir): Likewise.
53252         [BZ #13007]
53253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53254         check for AVX enablement so that we don't crash with old kernels and
53255         new hardware.
53256         * elf/tst-audit4.c: Add same checks here.
53257         * elf/tst-audit6.c: Likewise.
53259         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53261 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53263         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53265 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53267         * po/cs.po: Update from translation team.
53268         * po/bg.po: Likewise.
53270 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53272         * misc/sys/cdefs.h: Add support for const attribute.
53273         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53274         to gnu_dev_{major,minor,makedev} functions.
53276 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53278         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53280 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53282         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53283         strlen results.
53285 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53287         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53288         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53289         register in order to avoid conflicts with the soft frame pointer
53290         being held in r11 when necessary.
53291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53292         (INTERNAL_VSYSCALL_NCS): Likewise.
53294 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53296         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53297         * elf/dl-fini.c (_dl_fini): Adjust caller.
53298         * elf/dl-close.c (_dl_close_worker): Likewise.
53299         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53301 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53303         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53304         "aux_cache->nlibs < 0".
53306         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53307         in the reload-count case.
53309 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53312         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53313         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53314         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53315         * sysdeps/x86_64/multiarch/strcat.S: New file.
53316         * sysdeps/x86_64/multiarch/strncat.S: New file.
53317         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53318         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53319         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53320         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53321         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53322         (USE_AS_STRCAT): Define.
53323         Add strcat and strncat support.
53324         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53325         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53326         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53327         * string/strncat.c: Update.
53328         (USE_AS_STRNCAT): Define.
53329         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53330         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53331         and i7.
53332         * sysdeps/x86_64/multiarch/init-arch.h
53333         (bit_Prefer_PMINUB_for_stringop): New.
53334         (index_Prefer_PMINUB_for_stringop): Likewise.
53335         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53336         bit_Prefer_PMINUB_for_stringop.
53338 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53340         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53341         buffer64.
53342         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53343         of casting of buffer.
53344         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53345         buffer32 and buffer64.
53346         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53347         writes instead of casting of buffer.
53348         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53349         buffer32.
53350         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53351         casting of buffer.
53353 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53355         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53357 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53359         * nscd/nscd.c (termination_handler): Don't do anything for a database
53360         if it has not yet been initialized.
53362 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53364         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53366 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53368         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53370 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53372         * po/nl.po: Update from translation team.
53373         * po/sv.po: Likewise.
53375 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53377         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53378         now disallowed by GCC.
53380         * configure.in (use-default-link): Default to yes if a test -shared
53381         link meets our qualifications.
53382         * configure: Regenerated.
53384         * config.make.in (output-format): New variable.
53385         * configure.in: Check for ld --print-output-format support.
53386         * configure: Regenerated.
53387         * Makerules ($(common-objpfx)format.lds)
53388         [$(output-format) != unknown]: Just use $(output-format),
53389         instead of the linker-script munging.
53391 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53393         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53394         of $(common-objpfx)shlib.lds.
53395         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53397         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53398         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53400         * configure.in (-z relro check): Adjust test code to add a large
53401         writable data section after it.
53402         * configure: Regenerated.
53404 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53406         * configure.in (-z relro check): Fix test code to make the variable
53407         truly const.
53408         * configure: Regenerated.
53410 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53412         * nscd/nscd.h (struct traced_file): Define.
53413         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53414         elements.  Add traced_files.
53415         (inotify_fd): Declare.
53416         (register_traced_file): Declare.
53417         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53418         (inotify_fd): Export.
53419         (resolv_conf_descr): Remove.
53420         (nscd_init): Move inotify descriptor creation to main.
53421         Don't register files for notification here.
53422         (register_traced_file): New function.
53423         (invalidate_cache): Don't use reset_res to determine whether to call
53424         res_init, go through the list of registered files.
53425         (main_loop_poll): The inotify descriptors are now stored in the
53426         structures for the traced files.
53427         (main_loop_epoll): Likewise
53428         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53429         to __nss_disable_nscd.
53430         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53431         for a database anymore.  Check the records for all the registered
53432         files instead.
53433         * nss/Makefile (libnss_files-routines): Add files-init.
53434         (libnss_db-routines): Add db-init.
53435         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53436         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53437         * nss/nss_db/db-init.c: New file.
53438         * nss/nss_files/files-init.c: New file.
53439         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53440         __nss_lookup_function.
53441         (__nss_lookup_function): Call nss_load_library.
53442         (nss_load_all_libraries): New function.
53443         (__nss_disable_nscd): Take parameter with callback function for files
53444         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53445         used for the cached services.
53446         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53447         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53448         options for features to all the files in nscd.
53450         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53452 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53454         * csu/elf-init.c (__libc_csu_init): Comment typo.
53456 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53458         * po/pl.po: Update from translation team.
53459         * po/ja.po: Likewise.
53460         * po/ru.po: Likewise.
53461         * po/ko.po: Likewise.
53462         * po/fr.po: Likewise.
53464 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53466         * configure.in (.ctors/.dtors header and trailer check):
53467         Use an empirical test on a built program.
53468         * configure: Regenerated.
53470         * configure.in (-z relro check): Use an empirical test on a built DSO.
53471         Detect, but do not require, on ia64.
53472         * configure: Regenerated.
53474         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53475         Update tests that use readelf to use $READELF instead.
53476         * configure: Regenerated.
53478 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53480         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53481         if the result is not used.
53483 2011-07-05  Andreas Jaeger  <aj@suse.de>
53485         [BZ#9696]
53486         * stdlib/tst-strtod.c: Add testcase.
53488 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53490         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53491         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53492         The latter has a higher limit.  Take additional parameter to pass to
53493         the new function.
53494         (__pathconf): Pass file to __statfs_link_max.
53495         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53496         __statfs_link_max.
53497         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53498         __statfs_link_max.
53500         [BZ #12868]
53501         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53502         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53503         Handle Lustre.
53504         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53505         (__statfs_filesize_max): Likewise.
53506         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53508 2011-07-05  Andreas Jaeger  <aj@suse.de>
53510         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53512 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53514         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53515         `status' variable.
53516         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53517         Likewise.
53519 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53521         * Makefile (strop-tests): Add strncat.
53522         * string/test-strncat.c: New file.
53524 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53526         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53528 2011-06-21  Andreas Jaeger  <aj@suse.de>
53530         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53531         Copy rule from iconvdata/Makefile.
53533 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53535         [BZ #12922]
53536         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53537         but no long options are defined, just return 'W'.
53539 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53541         [BZ #9696]
53542         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53544 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53546         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53547         netgroups to read.
53548         (innetgr): Likewise.
53550 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53552         * config.make.in (install_root): Default to $(DESTDIR).
53554 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53556         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53558 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53560         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53562         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53563         containing directory rather than embedding absolute directory names.
53565         * scripts/check-local-headers.sh: Rewritten using awk.
53566         Match by word, not by line.  Print error messages for matches.
53567         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53569         * Makerules [shlib-lds-flags empty]:
53570         ($(common-objpfx)libc_pic.opts): New target.
53571         ($(common-objpfx)libc_pic.os.clean): New target.
53572         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53574         * config.make.in (OBJCOPY): New variable.
53575         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53576         * configure: Regenerated.
53578         * config.make.in (use-default-link): New variable.
53579         * configure.in (use_default_link): Grok --with-default-link to set it.
53580         * configure: Regenerated.
53581         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53582         (shlib-lds, shlib-lds-flags): Define to empty.
53584         * Makerules (shlib-lds): New variable.
53585         (shlib-lds-flags): New variable.
53586         (build-shlib, build-moduile, build-module-asneeded): Use it.
53587         ($(common-objpfx)libc.so): Use $(shlib-lds).
53588         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53589         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53591         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53592         DT_FLAGS/DT_FLAGS_1 with zero flags.
53594         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53595         linker script munging.
53597 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53599         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53600         as 128-bit value.
53601         * crypt/sha512.c (sha512_process_block): Perform total addition using
53602         128-bit if possible.
53603         (__sha512_finish_ctx): Likewise.
53604         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53605         as 64-bit value.
53606         * crypt/sha256.c (SWAP64): Define.
53607         (sha256_process_block): Perform total addition using 64-bit if
53608         possible.
53609         (__sha256_finish_ctx): Likewise.
53611 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53613         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53614         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53615         * nscd/hstcache.c (cache_addhst): Likewise.
53616         * nscd/grpcache.c (cache_addgr): Likewise.
53617         * nscd/aicache.c (addhstaiX): Likewise
53618         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53620 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53622         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53623         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53624         * nscd/hstcache.c (cache_addhst): Likewise.
53625         * nscd/grpcache.c (cache_addgr): Likewise.
53626         * nscd/aicache.c (addhstaiX): Likewise
53628 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53630         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53631         domain only when needed.
53633 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53635         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53636         is always restored.
53638 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53640         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53641         are re-adding the entry.
53642         * nscd/servicescache.c (cache_addserv): Likewise.
53644 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53646         * sysdeps/generic/dl-irel.h: fix protection against multiple
53647         inclusions.
53648         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53650 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53652         [BZ #12935]
53653         * malloc/memusage.sh: Fix quoting in message.
53654         * debug/xtrace.sh: Likewise.
53656         * configure.in: Remove support for --experimental-malloc option, make
53657         it the default.
53658         * config.make.in: Likewise.
53659         * malloc/Makefile: Likewise.
53661 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53663         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53664         two-byte characters.
53666 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53668         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53669         AC_CACHE_CHECK invocation.
53670         * configure: Regenerated.
53672         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53674 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53676         [BZ #12350]
53677         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53678         bit from old_res_options.
53680         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53682         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53683         value type for setfct.
53685 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53687         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53688         __gettimeofday instead of gettimeofday.
53690 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53692         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53694 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53696         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53698         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53699         info.
53701 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53704         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53705         strcpy-sse2-unaligned strncpy-sse2-unaligned
53706         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53707         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53708         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53709         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53710         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53711         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53712         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53713         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53714         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53715         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53716         (STRCPY): Support SSE2 and SSSE3 versions.
53718 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53720         [BZ #12874]
53721         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53722         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53723         kernels which artificially limit size of requests.
53725 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53727         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53728         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53729         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53730         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53731         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53732         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53733         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53734         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53735         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53736         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53737         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53738         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53739         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53740         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53741         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53742         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53743         Enable unaligned load optimization for Intel Core i3, i5 and i7
53744         processors.
53745         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53746         Define.
53747         (index_Fast_Unaligned_Load): Define.
53748         (HAS_FAST_UNALIGNED_LOAD): Define.
53750 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53752         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53754 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53756         [BZ #12907]
53757         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53758         until it is clear that the information is realy needed.
53759         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53761 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53763         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53765 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53767         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53768         /sys/devices/system/cpu/online if it is usable.
53770         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53771         reading the information from the /proc filesystem to once a second.
53773 2011-06-21  Andreas Jaeger  <aj@suse.de>
53775         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53776         NULL after inclusion of kernel headers.
53778 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53780         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53781         calls to internal_setent.
53783         [BZ #12885]
53784         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53785         addresses using gethostbyname4_r ignore IPv4 addresses.
53787         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53788         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53790         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53792 2011-06-20  David S. Miller  <davem@davemloft.net>
53794         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53795         inclusions.
53796         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53798         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53799         (elf_irel): Use it.
53800         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53801         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53802         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53803         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53804         * sysdeps/x86_64/dl-irel.h: Likewise.
53806         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53807         * elf/dl-sym.c: Likewise.
53809 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53811         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53812         need to dereference resplen2.
53814 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53816         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53818 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53820         * Makeconfig: Define vardbdir and inst_vardbdir.
53821         * nss/Makefile: Add rules to install db-Makefile.
53823         * nss/nss_db/db-XXX.c: Cleanup.
53825         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53826         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53827         GLIBC_PRIVATE.
53828         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53829         * nss/makedb.c: Implement -g option to specify that value strings
53830         are generated and should not be added to table iterated over for
53831         get*ent calls.
53832         * nss/nss_db/db-initgroups.c: New file.
53834         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53835         interface.
53837         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53838         (internal_getgrouplist): Adjust to name change.
53839         Update use_initgroups_entry if this is not the first call.
53840         * nss/databases.def: Add initgroups entry.
53842         * nss/makedb.c (compute_tables): Check result of multiple hash table
53843         sizes to minimize maximum chain length.
53845 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53847         * Versions.def: Add entry for libnss_db.
53848         * shlib-versions: Likewise.
53849         * nss/Makefile: Add rules to build libnss_db.
53850         * nss/Versions: Add libnss_db information.  Organize libnss_files
53851         entries better.
53852         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53853         makedb progra.  Some minor improvements to generate smaller files.
53854         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53855         here from...
53856         * nss/makedb.c: ...here.
53857         Improve database format to be smaller and require less memory at
53858         runtime.
53859         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53860         db anymore.
53861         * nss/nss_db/db-netgrp.c: Likewise.
53862         * nss/nss_db/db-open.c: Likewise.
53863         * nss/nss_files/flies-XXX.x: Adjust comments.
53864         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53865         * nss/nss_files/files-grp.c: Likewise.
53866         * nss/nss_files/files-hosts.c: Likewise.
53867         * nss/nss_files/files-network.c: Likewise.
53868         * nss/nss_files/files-proto.c: Likewise.
53869         * nss/nss_files/files-pwd.c: Likewise.
53870         * nss/nss_files/files-rpc.c: Likewise.
53871         * nss/nss_files/files-service.c: Likewise.
53872         * nss/nss_files/files-sgrp.c: Likewise.
53873         * nss/nss_files/files-spwd.c: Likewise.
53874         * nss/nss_db/db-alias.c: Removed.
53875         * nss/nss_db/dummy-db.h: Removed.
53877 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53879         * nss/makedb.c: Rewritten to not use database library.
53880         * nss/Makefile: Update to build new makedb program.
53882 2011-06-14  Andreas Jaeger  <aj@suse.de>
53884         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53885         memset declaration.
53887 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53889         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53890         tmpbuf.
53892 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53894         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53895         * elf/Makefile ($(objpfx)ld.so): Likewise.
53897         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53898         Don't list ld.so twice in dependencies.
53900         * posix/bug-regex31.c: Include <stdlib.h>.
53902         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53904         * nis/nss_compat/compat-spwd.c
53905         (getspent_next_nss_netgr): Remove unused variable.
53906         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53908         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53909         nonmembers" output to use the right array.
53911         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53913         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53915         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53916         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53917         * catgets/gencat.c (read_input_file): Likewise.
53918         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53920         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53921         variable definition inside #if's controlling its use.
53923         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53925         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53927         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53929         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53930         unreachable code.
53932         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53934         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53935         * configure: Regenerated.
53937         * Makerules: Revert last change.
53938         * elf/Makefile: Likewise.
53940 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53942         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53943         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53944         (reloc-link): Likewise.
53946 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53948         * elf/Makefile: Add rules to build pldd.
53949         * elf/pldd.c: New file.
53950         * elf/pldd-xx.c: New file.
53952 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53954         * version.h: Update for 2.15 development version.
53956 2011-06-07  David S. Miller  <davem@davemloft.net>
53958         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53959         ifuncs.
53960         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53961         elf_machine_lazy_rel): Likewise.
53962         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53963         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53964         elf_machine_lazy_rel): Likewise.
53965         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53966         dl_hwcap via passed in argument.
53967         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53968         Likewise.
53970 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53972         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53974 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53976         [BZ #12849]
53977         * manual/fdl-1.1.texi: New file, verbatim from:
53978         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53979         * manual/lgpl-2.1.texi: New file, verbatim from:
53980         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53981         * manual/Makefile (licenses): New variable, list those new file names.
53982         (texis): Use it.
53983         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53985         * manual/fdl.texi: File removed.
53986         * manual/lesser.texi: File removed.
53987         * manual/libc.texinfo (Copying, Documentation License):
53988         Use new @include file names, put @appendix directive before @include.
53990 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53992         [BZ #12841]
53993         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53994         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53995         (mq_open): Add __NTH.
53997 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54000         Assume Intel Core i3/i5/i7 processor if AVX is available.
54002 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54004         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54005         typo.
54007 2011-05-31  Andreas Schwab  <schwab@redhat.com>
54009         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54010         memory.  Use alloca_account.  Fix memory leak when retrying.
54012 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54014         * version.h (RELEASE): Bump for 2.14 release.
54015         * include/features.h (__GLIBC_MINOR__): Bump to 14.
54017         * config.make.in (RANLIB): Remove entry.
54019 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
54021         * po/Makefile (po-sed-cmd): Add ksh to extensions.
54022         (libc.pot): Work around missing support for .ksh extension in xgettext.
54024         [BZ #12684]
54025         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54026         if both request failed.
54027         (send_dg): In case of server errors clear resplen or *resplen2.
54029         [BZ #12454]
54030         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54031         when there are multiple maps.
54032         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54033         (_dl_fini): Remove test here.
54035         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54037 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
54039         [BZ #12350]
54040         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54041         bit from old_res_options.
54042         (gaih_inet): Likewise.
54044         [BZ #11099]
54045         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54046         as signed.
54048         * resolv/res_init.c (res_setoptions): Make the code more compact.
54050         [BZ #11558]
54051         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54052         set RES_USEVC.
54054         [BZ #11634]
54055         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54057         * malloc/malloc.h: Mark malloc hook variables as deprecated.
54059         [BZ #11781]
54060         * malloc/malloc.h: Declare malloc hook variables as volatile.
54062         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54063         in last patch.
54065         [BZ #11799]
54066         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54067         raise in the comment.
54068         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54069         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54070         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54072 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
54074         [BZ #12811]
54075         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54076         grow the buffers more if it already has to be sufficient.
54077         (build_wcs_upper_buffer): Likewise.
54078         * posix/regexec.c (check_matching): Likewise.
54079         (clean_state_log_if_needed): Likewise.
54080         (extend_buffers): Don't enlarge buffers beyond size of the input
54081         buffer.
54082         Patches mostly by Emil Wojak <emil@wojak.eu>.
54083         * posix/bug-regex32.c: New file.
54084         * posix/Makefile (tests): Add bug-regex32.
54086         * locale/findlocale.c (_nl_find_locale): Return right away if
54087         _nl_explode_name failed.
54088         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54090         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54092         * debug/xtrace.sh: Unify messages.
54093         * malloc/memusage.sh: Likewise.
54095         [BZ #12813]
54096         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54097         time symbol from vDSO.  Substitute with vsyscall if not available.
54098         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54099         __vdso_time.
54101         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54102         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54103         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54104         Add sendmmsg and internal_sendmmsg.
54105         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54106         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54107         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54109         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54110         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54111         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54113 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
54115         [BZ #12813]
54116         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54117         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54118         available.
54119         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54120         __vdso_getcpu.
54122         [BZ #12814]
54123         * iconvdata/Makefile (tests): Add bug-iconv9.
54124         * iconvdata/bug-iconv9.c: New file.
54126 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54128         [BZ #12814]
54129         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54131 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54133         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54134         (struct user_regs_struct): Change intcs field back to cs.
54136 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54138         * po/ja.po: Update from translation team.
54140 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54142         [BZ #12795]
54143         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54144         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54146 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54148         * stdlib/longlong.h: Update from GCC.
54150 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54152         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54153         parameter name.
54154         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54155         Add parameter name.
54156         (__sysconf): Pass it down.
54158 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54160         [BZ #12671]
54161         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54162         some situations.
54163         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54164         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54165         add in in __libc_use_alloca calls.  Adjust callers.
54166         (glob): Use malloc in some situations.
54168         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54169         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54170         pltexit.
54172 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54174         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54175         and CLOCK_BOOTTIME_ALARM.
54177         [BZ #12782]
54178         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54179         is returned.
54181         * string/_strerror.c (__strerror_r): Print negative errors as signed
54182         numbers.
54184         [BZ #12777]
54185         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54186         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54187         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54189         * configure.in: Fix typo in redirection and correct removal of test
54190         files in two cases.
54192         [BZ #12788]
54193         * locale/setlocale.c (new_composite_name): Fix test to check for
54194         identical name of all categories.
54196         [BZ #12792]
54197         * libio/filedoalloc.c (local_isatty): New function.
54198         (_IO_file_doallocate): Use local_isatty.
54199         * stdio-common/perror.c (perror): In case a new stream is used
54200         forward the stream error.
54201         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54202         error flag.
54204 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54206         [BZ #11869]
54207         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54208         alloca.
54209         * include/alloca.h (extend_alloca_account): Define.
54211         [BZ #11857]
54212         * posix/regex.h: Fix comments with documentation of user-accessible
54213         fields after compilation and describe correct free'ing of pattern
54214         after re_compile_pattern.
54215         Patch by Reuben Thomas <rrt@sc3d.org>.
54217 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54219         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54220         and -mno-altivec to prevent the compiler from using Altivec and/or
54221         VSX instructions when the corresponding registers are not available.
54223 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54225         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54227 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54229         * libio/freopen.c (freopen): Use __dup2, not dup2.
54230         * libio/freopen64.c (freopen64): Likewise.
54232 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54234         [BZ #12775]
54235         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54236         * math/Makefile (tests): Add test-powl.
54237         (CFLAGS-test-powl.c): Define.
54238         * math/test-powl.c: New file.
54240 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54242         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54244 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54246         [BZ #11837]
54247         * iconvdata/gb18030.c: Update to GB18020-2005.
54249 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54251         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54252         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54253         Patch by Aharon Robbins <arnold@skeeve.com>.
54255         [BZ #11892]
54256         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54257         on the stack.
54259         [BZ #11895]
54260         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54261         through underflows.
54263         [BZ #12766]
54264         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54265         point to strings before performing equality test for error_one_per_line
54266         mode.
54268         [BZ #11697]
54269         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54271         [BZ #11820]
54272         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54273         (struct user_fpregs_struct): Avoid __uint*_t types.
54275         [BZ #6420]
54276         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54277         symbol info.  Use it instead of calling _dl_addr locally.
54278         (lock_and_info): New function.
54279         (tr_freehook): Call lock_and_info and pass symbol info as additional
54280         parameter to tr_where.
54281         (tr_mallochook): Likewise.
54282         (tr_reallochook): Likewise.
54283         (tr_memalignhook): Likewise.
54285         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54286         used and couldn't be at all thread-safe.
54288 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54290         * libio/freopen.c (freopen): Don't close old file descriptor
54291         before the new one is opened.  Instead dup the new file descriptor
54292         to the old one after the new stream is created.
54293         * libio/freopen64.c (freopen64): Likewise.
54294         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54295         * libio/fileops.c (_IO_new_file_close_it): Handle new
54296         _IO_FLAGS2_NOCLOSE flag.
54297         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54298         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54299         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54300         _IO_FLAGS2_NOCLOSE flag.
54301         * include/unistd.h: Add hidden_proto for dup3.
54302         Define __have_dup3.
54303         * io/dup3.c: Define hidden symbol.
54304         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54306         [BZ #7101]
54307         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54308         when an incomplete long option is used.
54309         * posix/tst-getopt_long1.c: New file.
54310         * posix/Makefile (tests): Add tst-getopt_long1.
54312         [BZ #10138]
54313         * scripts/config.guess: Update from autoconf-2.68.
54314         * scripts/config.sub: Likewise.
54316         [BZ #10157]
54317         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54318         tests into ...
54319         (has_cpuclock): ...this.  New function.
54320         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54321         macro here based on has_cpuclock code.
54323         [BZ #10149]
54324         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54325         First byte (not low byte) is now always NUL.
54326         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54328         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54329         Use non-cancelable interfaces.
54331         [BZ #9809]
54332         * locale/iso-639.def: Add entry for Sorani.
54334         [BZ #11901]
54335         * include/stdlib.h: Move include protection to the right place.
54336         Define abort_msg_s.  Declare __abort_msg with it.
54337         * stdlib/abort.c (__abort_msg): Adjust type.
54338         * assert/assert.c (__assert_fail_base): New function.  Majority
54339         of code from __assert_fail.  Allocate memory for __abort_msg with
54340         mmap.
54341         (__assert_fail): Now call __assert_fail_base.
54342         * assert/assert-perr.c: Remove bulk of implementation.  Use
54343         __assert_fail_base.
54344         * include/assert.hL Declare __assert_fail_base.
54345         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54346         mmap.
54347         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54349 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54351         [BZ #11952]
54352         [BZ #12453]
54353         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54354         until all modules are registered in the DTV.
54355         * elf/Makefile: Add rules to build and run tst-tls19.
54356         * elf/tst-tls19.c: New file.
54357         * elf/tst-tls19mod1.c: New file.
54358         * elf/tst-tls19mod2.c: New file.
54359         * elf/tst-tls19mod3.c: New file.
54360         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54362         [BZ #12083]
54363         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54364         correctly.
54366         [BZ #12601]
54367         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54368         two-byte sequence errors.
54369         * iconvdata/Makefile (tests): Add bug-iconv8.
54370         * iconvdata/bug-iconv8.c: New file.
54372         [BZ #12626]
54373         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54374         buf2 definition.
54376         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54378         [BZ #12432]
54379         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54380         (dummy_getcfa): New function.
54381         (init): Get _Unwind_GetCFA address, use dummy if not found.
54382         (backtrace_helper): In recursion check, also check whether CFA changes.
54383         (__backtrace): Completely initialize arg.
54385         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54386         storing incomplete byte sequence in state object.  Avoid testing for
54387         guaranteed too small input if we know there is enough data available.
54389 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54391         * Makeconfig (+link-pie): Indent.
54392         * Rules (binaries-pie): Define if $(have-fpie) and
54393         $(build-shared).
54394         (binaries-shared): Also filter out $(binaries-pie).
54395         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54396         * nscd/Makefile (others-pie): Add nscd.
54397         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54398         ($(objpfx)nscd): Remove command override.
54399         * login/Makefile (others-pie): Add pt_chown.
54400         ($(objpfx)pt_chown): Remove command override.
54401         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54402         remove command overrides.
54404 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54406         * libio/tst_putwc.c: Fix error messages.
54408         [BZ #12724]
54409         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54410         currently writing and seek to current position when not.
54411         * libio/Makefile (tests): Add bug-fclose1.
54412         * libio/bug-fclose1.c: New file.
54414 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54416         [BZ #12511]
54417         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54418         don't set DF_1_NODELETE here.
54419         (do_lookup_x): When entering new entry test for copy relocation
54420         and if necessary set DF_1_NODELETE flag.
54421         * elf/tst-unique4.cc: New file.
54422         * elf/tst-unique4.h: New file.
54423         * elf/tst-unique4lib.cc: New file.
54424         * elf/Makefile: Add rules to build and run tst-unique4.
54425         Patch by Piotr Bury <pbury@goahead.com>.
54427 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54429         [BZ #12052]
54430         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54432         [BZ #12625]
54433         * misc/mntent_r.c (addmntent): Flush the stream after the output
54435         [BZ #12393]
54436         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54437         (is_trusted_path_normalize): Skip initial colon.  Append slash
54438         to empty buffer.  Duplicate is_trusted_path code but allow
54439         constructed patch to be prefix.
54440         (is_dst): Allow $ORIGIN followed by /.
54441         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54442         Correct testing of result of is_trusted_path_normalize
54443         (decompose_rpath): Fix warning.
54445 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54447         [BZ #11257]
54448         * grp/initgroups.c (internal_getgrouplist): When we found the service
54449         list through the initgroups entry in nsswitch.conf do not always
54450         continue on a successful lookup.  Don't always use the
54451         __nss_group_database value if it is set.
54452         * nss/nsswitch.conf (initgroups): Change action for successful db
54453         lookup to continue for compatibility.
54455 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54457         [BZ #11532]
54458         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54459         and CP774 modules.
54460         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54461         and CP774 modules.
54462         * iconvdata/tst-tables.sh: Likewise.
54463         * iconvdata/cp770.c: New file.
54464         * iconvdata/cp771.c: New file.
54465         * iconvdata/cp772.c: New file.
54466         * iconvdata/cp773.c: New file.
54467         * iconvdata/cp774.c: New file.
54468         * iconvdata/testdata/CP770: New file.
54469         * iconvdata/testdata/CP770..UTF8: New file.
54470         * iconvdata/testdata/CP771: New file.
54471         * iconvdata/testdata/CP771..UTF8: New file.
54472         * iconvdata/testdata/CP772: New file.
54473         * iconvdata/testdata/CP772..UTF8: New file.
54474         * iconvdata/testdata/CP773: New file.
54475         * iconvdata/testdata/CP773..UTF8: New file.
54476         * iconvdata/testdata/CP774: New file.
54477         * iconvdata/testdata/CP774..UTF8: New file.
54479         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54480         END CHARMAP line.
54481         * iconvdata/gen-8bit-gap.sh: Likewise.
54482         * iconvdata/gen-8bit.sh: Likewise.
54484         * locale/iso-639.def: Add ary entry.
54486         [BZ #11258]
54487         * locale/C-translit.h.in: Add U20A1 transliteration.
54489         [BZ #12178]
54490         * locale/iso-639.def: Add wae entry.
54491         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54493         [BZ #12545]
54494         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54495         for n.
54497         [BZ #12711]
54498         * locale/C-translit.h.in: Add entry for U20B9.
54499         Patch by pravin.d.s@gmail.com.
54501 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54503         [BZ #12713]
54504         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54505         ENAMETOOLONG use generic getcwd.
54506         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54507         in rtld.  Use *stat64.
54508         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54509         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54510         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54511         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54512         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54513         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54514         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54515         __fstatat64 macros.
54516         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54517         * dirent/rewinddir.c: Add libc_hidden_def.
54518         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54519         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54521         * include/dirent.h (__alloc_dir): Add flags parameter.
54522         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54523         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54524         __alloc_dir.
54525         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54526         from fdopendir if O_CLOEXEC is already set.
54528 2011-03-15  Alan Modra  <amodra@gmail.com>
54530         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54531         l_tls_firstbyte_offset non-zero.  Save padding offset in
54532         l_tls_firstbyte_offset for later use.
54533         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54534         freeing static tls block.
54536 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54538         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54539         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54540         being defined by the kernel headers.
54542 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54544         [BZ #12734]
54545         * resolv/resolv.h: Define RES_NOTLDQUERY.
54546         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54547         no-tld-query and set RES_NOTLDQUERY.
54548         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54549         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54550         modern BIND to search name as TLD unless forbidden.
54552 2011-05-07  Petr Baudis  <pasky@suse.cz>
54553             Ulrich Drepper  <drepper@gmail.com>
54555         [BZ #12393]
54556         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54557         (is_trusted_path): ...to here.
54558         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54559         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54560         using is_trusted_path_normalize() in setuid scripts.
54562 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54564         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54565         __BEGIN/__END_DECLS.
54567 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54569         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54570         NSS_STATUS_NOTFOUND if no record was found.
54572 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54574         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54575         (headers-not-in-tirpc): Remove rpc/netdb.h
54576         * resolv/netdb.h: Revert last change.
54578 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54580         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54581         circular dependency between libgcc.a and libc.a.
54583 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54585         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54586         * nis/Makefile: Don't install rpcsvc/*.
54587         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54588         instead of <rpc/types.h>.
54589         (MAXHOSTNAMELEN): Define.
54591 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54593         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54595 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54597         [BZ #12714]
54598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54599         gethostbyname4_r when IPv6 results are possible.
54601 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54603         [BZ #12723]
54604         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54605         _PC_PIPE_BUF handling.
54607 2011-04-30  Bruno Haible  <bruno@clisp.org>
54609         [BZ #12717]
54610         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54611         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54612         to 'int'.
54613         * inet/getnameinfo.c (getnameinfo): Likewise.
54615 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54617         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54618         to groups setting in database lookup.
54619         * nss/nsswitch.conf: Add initgroups entry.
54621 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54623         [BZ #12685]
54624         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54625         mode string.
54626         Patch by Eric Blake <eblake@redhat.com>.
54628 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54630         * sunrpc/Makefile (need-export-routines): Add svc_run.
54631         (routines): Remove svc_run.
54632         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54633         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54634         * sunrpc/svc_run.c (svc_run): Likewise.
54635         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54637 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54639         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54640         problem in reallocation in last patch.
54642 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54644         * sunrpc/Makefile: Move inclusion of Rules.
54646 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54648         * nss/nss_files/files-initgroups.c: New file.
54649         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54650         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54651         _nss_files_initgroups_dyn.
54653 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54655         * elf/elf.h (R_ARM_IRELATIVE): Define.
54657 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54659         * po/ru.po: Update from translation team.
54661 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54663         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54664         dependencies.
54666 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54668         [BZ #12653]
54669         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54670         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54671         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54672         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54673         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54675 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54677         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54678         differing bytes.
54679         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54680         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54681         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54683 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54685         [BZ #12420]
54686         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54687         storing it.
54688         * stdlib/bug-getcontext.c: New file.
54689         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54691 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54693         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54694         instructions into .machine "z9-109".
54695         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54696         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54698 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54700         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54701         between environment variables and auxiliary vector.
54703 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54705         * Makefile: Add rules to build linkobj/libc.so.
54706         * include/libc-symbols.h: Define libc_hidden_nolink.
54707         * include/rpc/auth.h: Mark functions which are to be hidden.
54708         * include/rpc/auth_des.h: Likewise.
54709         * include/rpc/auth_unix.h: Likewise.
54710         * include/rpc/clnt.h: Likewise.
54711         * include/rpc/des_crypt.h: Likewise.
54712         * include/rpc/key_prot.h: Likewise.
54713         * include/rpc/pmap_clnt.h: Likewise.
54714         * include/rpc/pmap_prot.h: Likewise.
54715         * include/rpc/pmap_rmt.h: Likewise.
54716         * include/rpc/rpc_msg.h: Likewise.
54717         * include/rpc/svc.h: Likewise.
54718         * include/rpc/svc_auth.h: Likewise.
54719         * include/rpc/xdr.h: Likewise.
54720         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54721         * nss/Makefile: Likewise.
54722         * sunrpc/Makefile: Don't install headers.  Build library with normal
54723         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54724         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54725         for the compat linking library.  Remove use of INTDEF/INTUSE.
54726         * sunrpc/auth_none.c: Likewise.
54727         * sunrpc/auth_unix.c: Likewise.
54728         * sunrpc/authdes_prot.c: Likewise.
54729         * sunrpc/authuxprot.c: Likewise.
54730         * sunrpc/clnt_gen.c: Likewise.
54731         * sunrpc/clnt_perr.c: Likewise.
54732         * sunrpc/clnt_raw.c: Likewise.
54733         * sunrpc/clnt_simp.c: Likewise.
54734         * sunrpc/clnt_tcp.c: Likewise.
54735         * sunrpc/clnt_udp.c: Likewise.
54736         * sunrpc/clnt_unix.c: Likewise.
54737         * sunrpc/des_crypt.c: Likewise.
54738         * sunrpc/des_soft.c: Likewise.
54739         * sunrpc/get_myaddr.c: Likewise.
54740         * sunrpc/key_call.c: Likewise.
54741         * sunrpc/key_prot.c: Likewise.
54742         * sunrpc/netname.c: Likewise.
54743         * sunrpc/pm_getmaps.c: Likewise.
54744         * sunrpc/pm_getport.c: Likewise.
54745         * sunrpc/pmap_clnt.c: Likewise.
54746         * sunrpc/pmap_prot.c: Likewise.
54747         * sunrpc/pmap_prot2.c: Likewise.
54748         * sunrpc/pmap_rmt.c: Likewise.
54749         * sunrpc/publickey.c: Likewise.
54750         * sunrpc/rpc_cmsg.c: Likewise.
54751         * sunrpc/rpc_common.c: Likewise.
54752         * sunrpc/rpc_dtable.c: Likewise.
54753         * sunrpc/rpc_prot.c: Likewise.
54754         * sunrpc/rpc_thread.c: Likewise.
54755         * sunrpc/rtime.c: Likewise.
54756         * sunrpc/svc.c: Likewise.
54757         * sunrpc/svc_auth.c: Likewise.
54758         * sunrpc/svc_authux.c: Likewise.
54759         * sunrpc/svc_raw.c: Likewise.
54760         * sunrpc/svc_run.c: Likewise.
54761         * sunrpc/svc_simple.c: Likewise.
54762         * sunrpc/svc_tcp.c: Likewise.
54763         * sunrpc/svc_udp.c: Likewise.
54764         * sunrpc/svc_unix.c: Likewise.
54765         * sunrpc/svcauth_des.c: Likewise.
54766         * sunrpc/xcrypt.c: Likewise.
54767         * sunrpc/xdr.c: Likewise.
54768         * sunrpc/xdr_array.c: Likewise.
54769         * sunrpc/xdr_float.c: Likewise.
54770         * sunrpc/xdr_intXX_t.c: Likewise.
54771         * sunrpc/xdr_mem.c: Likewise.
54772         * sunrpc/xdr_rec.c: Likewise.
54773         * sunrpc/xdr_ref.c: Likewise.
54774         * sunrpc/xdr_sizeof.c: Likewise.
54775         * sunrpc/xdr_stdio.c: Likewise.
54777 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54779         [BZ #12650]
54780         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54781         * sysdeps/ia64/dl-tls.h: Likewise.
54782         * sysdeps/powerpc/dl-tls.h: Likewise.
54783         * sysdeps/s390/dl-tls.h: Likewise.
54784         * sysdeps/sh/dl-tls.h: Likewise.
54785         * sysdeps/sparc/dl-tls.h: Likewise.
54786         * sysdeps/x86_64/dl-tls.h: Likewise.
54787         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54789 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54791         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54792         rpath element also skip the following colon.
54793         (expand_dynamic_string_token): Add is_path parameter and pass
54794         down to DL_DST_REQUIRED and _dl_dst_substitute.
54795         (decompose_rpath): Call expand_dynamic_string_token with
54796         non-zero is_path.  Ignore empty rpaths.
54797         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54798         with zero is_path.
54800 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54803         Make cancelable.
54805 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54807         [BZ #12655]
54808         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54809         Patch by Filipe David Manana <fdmanana@apache.org>.
54811 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54813         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54814         Maintain aligned stack.
54815         (CHECK_RSP): Remove unused macro.
54817 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54819         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54820         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54822 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54824         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54826         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54828 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54830         [BZ #12518]
54831         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54832         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54833         * sysdeps/x86_64/memmove.c: New file.
54834         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54835         (memcpy): Renamed to ...
54836         (__new_memcpy): This.
54837         (memcpy): Provide GLIBC_2_14 memcpy.
54838         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54839         (memcpy): Provide GLIBC_2_2_5 memcpy.
54841 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54843         [BZ #12631]
54844         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54846 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54848         * misc/syncfs.c: New file.
54849         * misc/Makefile (routines): Add syncfs.
54850         * posix/unistd.h: Declare syncfs.
54851         * sysdeps/unix/syscalls.list: Add syncfs.
54853 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54855         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54856         open_by_handle_at.
54857         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54858         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54859         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54860         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54861         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54862         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54863         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54865 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54867         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54868         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54869         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54870         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54871         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54872         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54873         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54875         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54876         sync_file_range.c with -fexceptions.
54877         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54878         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54879         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54880         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54881         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54882         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54883         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54884         sync_file_range as cancellation point
54885         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54886         now a wrapper around __call_sync_file_range with cancellation handling.
54887         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54888         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54889         function name to __call_sync_file_range.
54890         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54891         Add call_sync_file_range.
54893 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54895         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54896         bits/timex.h.
54898 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54900         * iconv/iconv.h: Fix typo in comment.
54901         * io/fcntl.h: Likewise.
54902         * libio/stdio.h: Likewise.
54903         * posix/spawn.h: Likewise.
54904         * posix/unistd.h: Likewise.
54905         * stdlib/stdlib.h: Likewise.
54906         * time/time.h: Likewise.
54907         * wcsmbs/wchar.h: Likewise.
54909         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54910         open_by_handle): Add.
54911         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54912         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54913         Augment a few comments.
54914         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54916         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54917         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54918         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54919         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54920         open_by_handle.
54922         * io/fcntl.h (AT_EMPTY_PATH): Define.
54924 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54926         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54927         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54928         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54929         to...
54930         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54931         * Versions.def: Add GLIBC_2.14.
54932         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54933         Export.
54935 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54937         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54938         round counter.
54939         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54941 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54943         [BZ #12597]
54944         * string/test-strncmp.c (do_page_test): New function.
54945         (check2): Likewise.
54946         (test_main): Call check2.
54947         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54949 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54951         [BZ #12587]
54952         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54953         Handle cache information in CPU leaf 4.
54954         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54956 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54958         [BZ #12583]
54959         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54960         character representation.
54961         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54963 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54965         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54966         END(__isnan) to END(__isnanf) to match function entry point/label
54967         EALIGN(__isnanf,...).
54969 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54971         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54973 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54975         [BZ #12510]
54976         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54977         copy from the symbol referenced in the relocation to initialize the
54978         used variable.
54979         Patch by Piotr Bury <pbury@goahead.com>.
54980         * elf/Makefile: Add rules to build and tst-unique3.
54981         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54982         * elf/tst-unique3.cc: New file.
54983         * elf/tst-unique3.h: New file.
54984         * elf/tst-unique3lib.cc: New file.
54985         * elf/tst-unique3lib2.cc: New file.
54987         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54989 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54991         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54992         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54993         to _start.
54995 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54997         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54998         to-be-loaded object along a path to loader is ld.so.
55000 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55001             Ulrich Drepper  <drepper@gmail.com>
55003         * sysdeps/x86_64/memset.S: After aligning destination, code
55004         branches to different locations depending on the value of
55005         misalignment, when multiarch is enabled. Fix this.
55007 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55009         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55010         Set _x86_64_preferred_memory_instruction for AMD processsors.
55011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55012         Set bit_Prefer_SSE_for_memop for AMD processors.
55014 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
55016         * libio/fmemopen.c (fmemopen): Optimize a bit.
55018 2011-03-03  Andreas Schwab  <schwab@redhat.com>
55020         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55022 2011-03-03  Roland McGrath  <roland@redhat.com>
55024         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55026 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
55028         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55029         __bzero_ultra1 instead of __memset_ultra1.
55031 2011-02-23  Andreas Schwab  <schwab@redhat.com>
55032             Ulrich Drepper  <drepper@gmail.com>
55034         [BZ #12509]
55035         * include/link.h (struct link_map): Add l_orig_initfini.
55036         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55037         returning unsuccessfully.
55038         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55039         close of a file loaded at startup, restore the original l_initfini
55040         list.
55041         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55042         list, store the pointer.
55043         * elf/Makefile ($(objpfx)noload-mem): New rule.
55044         (noload-ENV): Define.
55045         (tests): Add $(objpfx)noload-mem.
55046         * elf/noload.c: Include <memcheck.h>.
55047         (main): Call mtrace.  Close all opened handles.
55049 2011-02-17  Andreas Schwab  <schwab@redhat.com>
55051         [BZ #12454]
55052         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55053         dependencies are missing.
55055 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55057         Fix __if_freereq crash: Unlike the generic version which uses free,
55058         Hurd needs munmap.
55059         * sysdeps/mach/hurd/ifreq.h: New file.
55061 2011-01-27  Petr Baudis  <pasky@suse.cz>
55062             Ulrich Drepper  <drepper@gmail.com>
55064         [BZ 12445]#
55065         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55066         to extend_alloca().
55067         * stdio-common/bug23.c: New file.
55068         * stdio-common/Makefile (tests): Add bug23.
55070 2010-09-28  Andreas Schwab  <schwab@redhat.com>
55071             Ulrich Drepper  <drepper@gmail.com>
55073         [BZ #12489]
55074         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55075         before performing relro protection.  At old place add assertion
55076         to make sure nothing changed.
55078 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
55079             Glauber de Oliveira Costa  <glommer@gmail.com>
55081         * elf/elf.h: Add new ARM TLS relocs.
55083 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
55085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55086         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55087         cast from r3.
55088         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
55089         'tests' variable.
55090         * sysdeps/wordsize-64/tst-writev.c: New file.
55092 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
55094         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55095         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55096         insns in _dl_start to prevent a TOC reference before relocs are
55097         resolved.
55099 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
55101         [BZ #12469]
55102         * Makeconfig: Remove RANLIB definition.
55103         * Makerules: Don't use RANLIB.
55104         * aclocal.m4: Remove ranlib test.
55105         * configure.in: No need to check for ranlib.
55106         * elf/rtld-Rules: Don't use RANLIB.
55108 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55110         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55111         protection macro.
55112         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55113         inclusion protection macro.
55115         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55116         SIGRTMIN and SIGRTMAX and print information in that case only when
55117         SIGRTMIN is defined.
55119 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55121         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55122         arginfo fn returning -1.
55124         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55125         and thousands string is zero terminated.
55127 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55129         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55130         sysdeps/unix/sysv/linux/bits/socket.h.
55132 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55134         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55135         (__CPU_COUNT): Remove old macros.
55136         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55137         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55138         (__CPU_ALLOC, __CPU_FREE): Add macros.
55139         (__sched_cpualloc, __sched_cpufree): Add declarations.
55141 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55143         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55144         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55145         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55146         (readdhstai): Return value of addhstaiX call.
55147         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55148         (addgrbyX): Return value returned by cache_addgr.
55149         (readdgrbyname): Return value returned by addgrbyX.
55150         (readdgrbygid): Likewise.
55151         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55152         (addpwbyX): Return value returned by cache_addpw.
55153         (readdpwbyname): Return value returned by addhstbyX.
55154         (readdpwbyuid): Likewise.
55155         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55156         (addservbyX): Return value returned by cache_addserv.
55157         (readdservbyname): Return value returned by addservbyX:
55158         (readdservbyport): Likewise.
55159         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55160         (addhstbyX): Return value returned by cache_addhst.
55161         (readdhstbyname): Return value returned by addhstbyX.
55162         (readdhstbyaddr): Likewise.
55163         (readdhstbynamev6): Likewise.
55164         (readdhstbyaddrv6): Likewise.
55165         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55166         (readdinitgroups): Return value returned by addinitgroupsX.
55167         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55168         (prune_cache): Keep track of timeout value of re-added entries.
55169         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55170         * nscd/nscd.h: Adjust prototypes of readd* functions.
55172 2011-02-04  Roland McGrath  <roland@redhat.com>
55174         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55175         (nis_stats): Likewise.
55176         * nis/nis_modify.c (nis_modify): Likewise.
55177         * nis/nis_remove.c (nis_remove): Likewise.
55178         * nis/nis_add.c (nis_add): Likewise.
55180         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55182         * posix/fnmatch_loop.c: Add some consts.
55184         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55186 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55188         [BZ #12460]
55189         * config.make.in (config-cflags-novzeroupper): Define.
55190         * configure.in: Substitute libc_cv_cc_novzeroupper.
55191         * elf/Makefile (AVX-CFLAGS): Define.
55192         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55193         (CFLAGS-tst-auditmod4a.c): Likewise.
55194         (CFLAGS-tst-auditmod4b.c): Likewise.
55195         (CFLAGS-tst-auditmod6b.c): Likewise.
55196         (CFLAGS-tst-auditmod6c.c): Likewise.
55197         (CFLAGS-tst-auditmod7b.c): Likewise.
55198         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55200 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55202         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55203         function to the callback.
55204         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55206 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55208         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55209         of errno.
55211 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55213         [BZ #11724]
55214         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55215         of constructors.
55216         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55217         of destructors.
55218         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55220         [BZ #11724]
55221         * elf/Makefile: Add rules to build and run new test.
55222         * elf/tst-initorder.c: New file.
55223         * elf/tst-initorder.exp: New file.
55224         * elf/tst-initordera1.c: New file.
55225         * elf/tst-initordera2.c: New file.
55226         * elf/tst-initordera3.c: New file.
55227         * elf/tst-initordera4.c: New file.
55228         * elf/tst-initorderb1.c: New file.
55229         * elf/tst-initorderb2.c: New file.
55230         * elf/tst-order-a1.c: New file.
55231         * elf/tst-order-a2.c: New file.
55232         * elf/tst-order-a3.c: New file.
55233         * elf/tst-order-a4.c: New file.
55234         * elf/tst-order-b1.c: New file.
55235         * elf/tst-order-b2.c: New file.
55236         * elf/tst-order-main.c: New file.
55237         New test case by George Gensure <werkt0@gmail.com>.
55239 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55241         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55242         decoding ACE if AI_CANONIDN.
55244 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55246         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55248 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55250         * version.h (RELEASE): Bump for 2.13 release.
55251         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55253         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55255         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55256         MADV_NOHUGEPAGE.
55257         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55258         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55259         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55260         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55261         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55262         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55264         * posix/getconf.c: Update copyright year.
55265         * catgets/gencat.c: Likewise.
55266         * csu/version.c: Likewise.
55267         * debug/catchsegv.sh: Likewise.
55268         * debug/xtrace.sh: Likewise.
55269         * elf/ldconfig.c: Likewise.
55270         * elf/ldd.bash.in: Likewise.
55271         * elf/sprof.c (print_version): Likewise.
55272         * iconv/iconv_prog.c: Likewise.
55273         * iconv/iconvconfig.c: Likewise.
55274         * locale/programs/locale.c: Likewise.
55275         * locale/programs/localedef.c: Likewise.
55276         * malloc/memusage.sh: Likewise.
55277         * malloc/mtrace.pl: Likewise.
55278         * nscd/nscd.c (print_version): Likewise.
55279         * nss/getent.c: Likewise.
55281         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55282         PF_CAIF, and PF_ALG.
55283         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55285 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55287         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55288         (modules-names): Use them.
55289         (ifunc-test-modules, ifunc-pie-tests): Define.
55290         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55291         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55292         (test-extras): Likewise.
55293         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55294         $(compile-command.c).
55295         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55296         (all-built-dso): Define.
55297         (check-textrel.out, check-execstack.out): Depend on it.
55299         * configure.in: Don't override --enable-multi-arch.
55301 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55303         [BZ #6812]
55304         * nscd/hstcache.c (tryagain): Define.
55305         (cache_addhst): Return tryagain not notfound for temporary errors.
55306         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55307         failed.
55309 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55311         [BZ #10563]
55312         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55313         to make the syscall.
55314         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55316         [BZ #12378]
55317         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55318         and fall back to matching as normal character if the string ends before
55319         the matching ']' is found.  This is what POSIX requires.
55320         * posix/testfnm.c: Adjust test result.
55321         * posix/globtest.sh: Adjust test result.  Add new test.
55322         * posix/tst-fnmatch.input: Likewise.
55323         * posix/tst-fnmatch2.c: Add new test.
55325 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55327         * elf/Makefile (check-execstack): Revert last change.  Depend on
55328         check-execstack.h.
55329         (check-execstack.h): New target.
55330         (generated): Add check-execstack.h.
55331         * elf/check-execstack.c: Include "check-execstack.h".
55332         (main): Revert last change.
55333         (handle_file): Return zero if GNU_STACK is absent and
55334         DEFAULT_STACK_PERMS doesn't include PF_X.
55336 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55338         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55339         in child fails because the descriptor is already closed.
55340         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55341         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55342         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55344         [BZ #12397]
55345         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55346         syscall.
55348         [BZ #10484]
55349         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55350         temporary buffer used to handle multi lookups locally.
55351         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55353 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55355         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55356         loader is ld.so.
55358 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55360         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55361         alignment for SSE2.
55363 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55365         [BZ #12394]
55366         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55367         characters.  When rounding increased number of integer digits recompute
55368         number of groups.
55369         * stdio-common/tst-grouping.c: New file.
55370         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55372 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55374         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55375         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55377         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55378         void.
55379         * bits/select.h: Likewise.
55381 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55383         * po/ja.po: Update from translation team.
55385 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55387         [BZ #11155]
55388         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55389         implementation just like for lxstat, fxstatat, et al.
55391 2010-12-27  Jim Meyering  <meyering@redhat.com>
55393         [BZ #12348]
55394         * posix/regexec.c (build_trtable): Return failure indication upon
55395         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55397 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55399         [BZ #12201]
55400         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55401         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55402         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55403         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55405         [BZ #12207]
55406         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55408         [BZ #12204]
55409         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55410         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55412 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55414         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55415         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55416         script has SORT_BY_INIT_PRIORITY.
55417         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55418         NO_CTORS_DTORS_SECTIONS is defined.
55419         * elf/soinit.c: Likewise.
55420         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55421         NO_CTORS_DTORS_SECTIONS is defined.
55422         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55423         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55424         * sysdeps/sh/init-first.c: Likewise.
55425         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55427 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55429         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55430         always use the slow path.
55432 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55434         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55435         similar rule which adds the sysdep directories to the header search in
55436         order to pick up the correct platform stackinfo.h.
55437         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55438         perform test if it is, otherwise return successfully without testing.
55439         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55440         DEFAULT_STACK_PERMS define in stackinfo.h.
55441         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55442         defined in stackinfo.h.
55443         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55444         DEFAULT_STACK_PERMS defined in stackinfo.h.
55445         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55446         * sysdeps/ia64/stackinfo.h: Likewise.
55447         * sysdeps/s390/stackinfo.h: Likewise.
55448         * sysdeps/sh/stackinfo.h: Likewise.
55449         * sysdeps/sparc/stackinfo.h: Likewise.
55450         * sysdeps/x86_64/stackinfo.h: Likewise.
55451         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55452         PF_X for powerpc64.  Retain PF_X for powerpc32.
55454 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55456         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55457         accurately.
55458         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55459         GETDENTS_64BIT_ALIGNED.
55461 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55463         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55465 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55467         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55468         _GNU_SOURCE.
55470         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55471         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55472         Remove __restrict.
55473         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55474         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55476 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55478         [BZ #11655]
55479         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55480         are initialized.
55482 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55484         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55486 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55488         * po/it.po: Update from translation team.
55490 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55492         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55493         unused codes.
55495 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55497         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55499 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55501         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55502         specially.
55503         (gaih_getanswer_slice): Likewise.
55505 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55507         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55509 2010-05-31  Petr Baudis  <pasky@suse.cz>
55511         [BZ #11149]
55512         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55513         silently even in the chroot mode.
55515 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55517         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55518         last patch a bit.  Pretty printing
55520 2010-05-31  Petr Baudis <pasky@suse.cz>
55522         [BZ #10085]
55523         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55524         initialization of skip_initgroups_dyn.
55526 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55528         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55529         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55531 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55533         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55535 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55537         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55538         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55539         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55540         ($(objpfx)tst-fnmatch-mem): New rule.
55541         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55542         * posix/tst-fnmatch.c (main): Call mtrace.
55544 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55546         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55547         Support Intel processor model 6 and model 0x2c.
55549 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55551         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55552           signed comparison.
55554 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55556         [BZ #12205]
55557         * string/test-strncasecmp.c (check_result): New function.
55558         (do_one_test): Use it.
55559         (check1): New function.
55560         (test_main): Use it.
55561         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55562         Support strcasecmp and strncasecmp.
55564 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55566         [BZ #12194]
55567         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55568         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55570 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55572         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55573         IFUNC support.
55574         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55575         memset-x86-64.
55576         * sysdeps/x86_64/multiarch/bzero.S: New file.
55577         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55578         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55579         * sysdeps/x86_64/multiarch/memset.S: New file.
55580         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55582         Set bit_Prefer_SSE_for_memop for Intel processors.
55583         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55584         Define.
55585         (index_Prefer_SSE_for_memop): Define.
55586         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55588 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55590         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55591         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55593 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55595         [BZ #12191]
55596         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55597         (__x86_64_raw_data_cache_size_half): Likewise.
55598         (__x86_64_raw_shared_cache_size): Likewise.
55599         (__x86_64_raw_shared_cache_size_half): Likewise.
55601         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55602         (__x86_64_raw_data_cache_size_half): Likewise.
55603         (__x86_64_raw_shared_cache_size): Likewise.
55604         (__x86_64_raw_shared_cache_size_half): Likewise.
55605         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55606         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55607         and __x86_64_raw_shared_cache_size_half.  Round
55608         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55609         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55610         to multiple of 256 bytes.
55612 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55614         [BZ #12167]
55615         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55616         of inacessible symlinks.  Verify result of symlink before returning it.
55617         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55618         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55620 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55622         * math/math.h (isinf): Fix typo in comment.
55624 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55626         * po/da.po: Update from translation team.
55628 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55630         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55631         is added to the list.
55633 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55634             Ulrich Drepper  <drepper@gmail.com>
55636         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55637         the global list here.  Move code to...
55638         (_dl_add_to_namespace_list): ...here.  New function.
55639         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55640         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55641         * elf/dl-load.c (lose): Don't remove the element from the list.
55642         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55643         (_dl_map_object): Likewise.
55645 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55647         [BZ #12159]
55648         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55649         into all bytes of SSE register.
55650         Patch by Richard Li <richardpku@gmail.com>.
55652 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55654         [BZ #12140]
55655         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55656         perturbing.
55658 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55660         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55661         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55662         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55663         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55665         submachine.
55666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55668 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55670         * include/dlfcn.h (__RTLD_SECURE): Define.
55671         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55672         mode & __RTLD_SECURE instead.
55673         (open_path): Rename preloaded parameter to secure.
55674         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55675         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55676         * elf/dl-deps.c (openaux): Likewise.
55677         * elf/rtld.c (struct map_args): Remove is_preloaded.
55678         (map_doit): Don't use it.
55679         (dl_main): Likewise.
55680         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55681         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55683 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55685         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55686         (sysd-rules-targets): Remove duplicates.
55687         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55688         rtld-%.$o dependency.
55690 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55692         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55693         _dl_map_object do it.
55695 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55697         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55698         fast fma builtins, define the macros in the C99 standard.
55699         (FP_FAST_FMAF): Likewise.
55700         (FP_FAST_FMAL): Likewise.
55701         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55703         * bits/mathdef.h: Update copyright year.
55704         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55706 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55708         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55709         builtins, define the macros in the C99 standard.
55710         (FP_FAST_FMAF): Likewise.
55711         (FP_FAST_FMAL): Likewise.
55712         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55713         multiply/add.
55714         (FP_FAST_FMAF): Likewise.
55716 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55718         [BZ #3268]
55719         * math/libm-test.inc (fma_test): Some new testcases.
55720         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55721         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55722         y and infinite z.  Do multiplication by C already in long double.
55723         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55724         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55725         y and infinite z.  Do bitwise or of inexact bit into u.d.
55726         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55727         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55728         * sysdeps/i386/fpu/s_fma.S: Removed.
55729         * sysdeps/i386/fpu/s_fmal.S: Removed.
55731 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55733         [BZ #3268]
55734         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55735         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55736         computation is not scheduled after fetestexcept.  Fix value
55737         of minimum denormal long double.
55739 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55741         [BZ #3268]
55742         * math/libm-test.inc (fma_test): Add some more tests.
55743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55744         correctly.
55746 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55748         * scripts/data/localplt-s390-linux-gnu.data: New file.
55749         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55751 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55753         [BZ #3268]
55754         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55755         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55756         instead of dbl-64.
55757         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55758         inlines.
55759         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55760         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55761         if one of x and y is very large and the other is subnormal.
55762         * sysdeps/s390/fpu/s_fmaf.c: New file.
55763         * sysdeps/s390/fpu/s_fma.c: New file.
55764         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55765         * sysdeps/powerpc/fpu/s_fma.S: New file.
55766         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55767         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55768         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55770 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55772         [BZ #3268]
55773         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55774         fma tests.
55775         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55776         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55777         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55778         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55779         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55780         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55781         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55783 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55785         [BZ #12078]
55786         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55787         * posix/bug-regex31.input: Add test case.
55789 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55791         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55792         * posix/bug-regex31.input: New file.
55794         [BZ #12078]
55795         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55796         (parse_sub_exp): Fix last change, use postorder.
55798         * posix/bug-regex31.c: New file.
55799         * posix/Makefile: Add rules to build and run bug-regex31.
55801         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55803         [BZ #12078]
55804         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55806         [BZ #12108]
55807         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55808         to have entries in sys_siglist.
55810         [BZ #12093]
55811         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55812         be NULL.
55814 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55816         [BZ #3268]
55817         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55818         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55819         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55820         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55821         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55822         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55823         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55824         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55825         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55826         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55827         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55828         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55829         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55830         * math/ftestexcept.c (fetestexcept): Likewise.
55831         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55832         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55833         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55834         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55835         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55836         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55837         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55839 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55841         [BZ #12107]
55842         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55843         newline.
55845 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55847         * string/bug-strstr1.c: New file.
55848         * string/Makefile: Add rules to build and run bug-strstr1.
55850 2010-10-05  Eric Blake  <eblake@redhat.com>
55852         [BZ #12092]
55853         * string/str-two-way.h (two_way_long_needle): Always clear memory
55854         when skipping input due to the shift table.
55856 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55858         [BZ #12005]
55859         * malloc/mcheck.c: Handle large requests.
55861         [BZ #12077]
55862         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55863         for strncmp and strncasecmp.
55864         * string/stratcliff.c: Add tests for strcmp and strncmp.
55865         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55867 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55869         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55870         __set_fpscr.
55872 2010-09-30  Andreas Jaeger  <aj@suse.de>
55874         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55875         (CGROUP_SUPER_MAGIC): Define.
55876         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55877         Handle btrfs and cgroup file systems.
55878         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55879         Likewise.
55881 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55883         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55884         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55886 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55888         [BZ #12067]
55889         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55890         trying to locate the ELF header.
55892 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55894         [BZ #11611]
55895         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55896         Mask out sign-bit copies when constructing f_fsid.
55898 2010-09-24  Petr Baudis <pasky@suse.cz>
55900         * debug/stack_chk_fail_local.c: Add missing licence exception.
55901         * debug/warning-nop.c: Likewise.
55903 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55905         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55906         implementing getdents64 using getdents syscall, set d_type if
55907         __ASSUME_GETDENTS32_D_TYPE.
55909 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55911         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55912         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55914 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55916         [BZ #12037]
55917         * posix/unistd.h: Undo change of feature selection for ftruncate from
55918         2010-01-11.
55920 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55922         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55923         detection.
55925 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55927         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55928         fanotify_mark.
55929         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55931 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55933         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55934         variables after CHECK_SP call.
55935         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55937 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55938             Ulrich Drepper  <drepper@redhat.com>
55940         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55941         re-relocationg ld.so.
55942         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55943         _dl_init_paths call.
55944         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55945         here anymore.
55947 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55949         * resolv/res_init.c (__res_vinit): Count the default server we added.
55951 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55952             Ulrich Drepper  <drepper@redhat.com>
55954         [BZ #11968]
55955         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55956         (____longjmp_chk): Use %ebx for saving value across system call.
55957         Add unwind info.
55959 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55961         * manual/Makefile: Don't mix pattern rules with normal rules.
55963 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55965         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55966         operation.
55967         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55968         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55969         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55970         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55971         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55972         Likewise.
55974 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55976         [BZ #11979]
55977         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55978         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55980 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55982         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55983         * sysdeps/x86_64/addmul_1.S: Likewise.
55984         * sysdeps/x86_64/lshift.S: Likewise.
55985         * sysdeps/x86_64/mul_1.S: Likewise.
55986         * sysdeps/x86_64/rshift.S: Likewise.
55987         * sysdeps/x86_64/sub_n.S: Likewise.
55988         * sysdeps/x86_64/submul_1.S: Likewise.
55990 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55992         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55993         Define __sched_param instead of SCHED_* and sched_param when
55994         <bits/sched.h> is included with __need_schedparam defined.
55995         * bits/sched.h [__need_schedparam]
55996         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55997         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55998         (__defined_schedparam): Define to 1.
55999         (__sched_param): New structure, identical to sched_param.
56000         (__need_schedparam): Undefine.
56002 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
56004         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56005         (epoll_create1): Declare.
56007         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56009 2010-08-31  Andreas Schwab  <schwab@redhat.com>
56011         [BZ #7066]
56012         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56013         shifting retval into place.
56015 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
56017         * nis/rpcsvc/nis.h: Update copyright notice.
56018         * nis/rpcsvc/nis.x: Likewise.
56019         * nis/rpcsvc/nis_callback.h: Likewise.
56020         * nis/rpcsvc/nis_callback.x: Likewise.
56021         * nis/rpcsvc/nis_object.x: Likewise.
56022         * nis/rpcsvc/nis_tags.h: Likewise.
56023         * nis/rpcsvc/yp.h: Likewise.
56024         * nis/rpcsvc/yp.x: Likewise.
56025         * nis/rpcsvc/ypupd.h: Likewise.
56026         * nis/yp_xdr.c: Likewise.
56027         * nis/ypupdate_xdr.c: Likewise.
56029         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
56030         mainly the body of pmap_getport.  Add parameters to specify timeouts.
56031         (pmap_getport): Use __libc_rpc_getport.
56032         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56033         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56034         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56036 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
56038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56039         fanotify_mark.
56041 2010-08-27  Roland McGrath  <roland@redhat.com>
56043         * sysdeps/i386/i686/multiarch/Makefile
56044         (CFLAGS-varshift.c): New variable.
56046 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
56048         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56049         * sysdeps/i386/i686/multiarch/varshift.c: New file.
56051         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56053         * sysdeps/x86_64/strlen.S: Minimal code improvement.
56055 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
56057         * sysdeps/x86_64/strlen.S: Unroll the loop.
56058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56059         strlen-sse2 strlen-sse2-bsf.
56060         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56061         __strlen_no_bsf if bit_Slow_BSF is set.
56062         (__strlen_sse42): Removed.
56063         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56064         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56066 2010-08-25  Roland McGrath  <roland@redhat.com>
56068         * sysdeps/x86_64/multiarch/varshift.S: File removed.
56069         * sysdeps/x86_64/multiarch/varshift.c: New file.
56070         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56071         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56072         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56073         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56075 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
56077         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56078         strlen-sse2 strlen-sse2-bsf.
56079         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56080         __strlen_sse2_bsf if bit_Slow_BSF is unset.
56081         (__strlen_sse2): Removed.
56082         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56083         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56085         bit_Slow_BSF for Atom.
56086         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56087         (index_Slow_BSF): Define.
56088         (HAS_SLOW_BSF): Define.
56090 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
56092         [BZ #10851]
56093         * resolv/res_init.c (__res_vinit): When no server address at all
56094         is given default to loopback.
56096 2010-08-24  Roland McGrath  <roland@redhat.com>
56098         * configure.in: Remove config-name.h generation.
56099         * configure: Regenerated.
56100         * config-name.in: File removed.
56101         * scripts/config-uname.sh: New file.
56102         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56103         ($(objdir)config-name.h): New target.
56105         * sunrpc/rpc_parse.h: Avoid nested comment.
56107 2010-08-24  Richard Henderson  <rth@redhat.com>
56108             Ulrich Drepper  <drepper@redhat.com>
56109             H.J. Lu  <hongjiu.lu@intel.com>
56111         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56112         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56113         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56114         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
56115         _mm_alignr_epi8 with _mm_loadu_si128.
56116         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56117         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56118         (__m128i_shift_right): Removed.
56119         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56120         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56121         * sysdeps/x86_64/multiarch/varshift.h: New file.
56122         * sysdeps/x86_64/multiarch/varshift.S: New file.
56124 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56126         * configure.in: Move assembler checks to before sysdep dir checking.
56128 2010-08-20  Petr Baudis  <pasky@suse.cz>
56130         * LICENSES: Sync the sunrpc license.
56132 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56134         * sunrpc/auth_des.c: Update copyright notice once again.
56135         * sunrpc/auth_none.c: Likewise.
56136         * sunrpc/auth_unix.c: Likewise.
56137         * sunrpc/authdes_prot.c: Likewise.
56138         * sunrpc/authuxprot.c: Likewise.
56139         * sunrpc/bindrsvprt.c: Likewise.
56140         * sunrpc/clnt_gen.c: Likewise.
56141         * sunrpc/clnt_perr.c: Likewise.
56142         * sunrpc/clnt_raw.c: Likewise.
56143         * sunrpc/clnt_simp.c: Likewise.
56144         * sunrpc/clnt_tcp.c: Likewise.
56145         * sunrpc/clnt_udp.c: Likewise.
56146         * sunrpc/clnt_unix.c: Likewise.
56147         * sunrpc/des_crypt.c: Likewise.
56148         * sunrpc/des_soft.c: Likewise.
56149         * sunrpc/get_myaddr.c: Likewise.
56150         * sunrpc/getrpcport.c: Likewise.
56151         * sunrpc/key_call.c: Likewise.
56152         * sunrpc/key_prot.c: Likewise.
56153         * sunrpc/openchild.c: Likewise.
56154         * sunrpc/pm_getmaps.c: Likewise.
56155         * sunrpc/pm_getport.c: Likewise.
56156         * sunrpc/pmap_clnt.c: Likewise.
56157         * sunrpc/pmap_prot.c: Likewise.
56158         * sunrpc/pmap_prot2.c: Likewise.
56159         * sunrpc/pmap_rmt.c: Likewise.
56160         * sunrpc/rpc/auth.h: Likewise.
56161         * sunrpc/rpc/auth_unix.h: Likewise.
56162         * sunrpc/rpc/clnt.h: Likewise.
56163         * sunrpc/rpc/des_crypt.h: Likewise.
56164         * sunrpc/rpc/key_prot.h: Likewise.
56165         * sunrpc/rpc/netdb.h: Likewise.
56166         * sunrpc/rpc/pmap_clnt.h: Likewise.
56167         * sunrpc/rpc/pmap_prot.h: Likewise.
56168         * sunrpc/rpc/pmap_rmt.h: Likewise.
56169         * sunrpc/rpc/rpc.h: Likewise.
56170         * sunrpc/rpc/rpc_des.h: Likewise.
56171         * sunrpc/rpc/rpc_msg.h: Likewise.
56172         * sunrpc/rpc/svc.h: Likewise.
56173         * sunrpc/rpc/svc_auth.h: Likewise.
56174         * sunrpc/rpc/types.h: Likewise.
56175         * sunrpc/rpc/xdr.h: Likewise.
56176         * sunrpc/rpc_clntout.c: Likewise.
56177         * sunrpc/rpc_cmsg.c: Likewise.
56178         * sunrpc/rpc_common.c: Likewise.
56179         * sunrpc/rpc_cout.c: Likewise.
56180         * sunrpc/rpc_dtable.c: Likewise.
56181         * sunrpc/rpc_hout.c: Likewise.
56182         * sunrpc/rpc_main.c: Likewise.
56183         * sunrpc/rpc_parse.c: Likewise.
56184         * sunrpc/rpc_parse.h: Likewise.
56185         * sunrpc/rpc_prot.c: Likewise.
56186         * sunrpc/rpc_sample.c: Likewise.
56187         * sunrpc/rpc_scan.c: Likewise.
56188         * sunrpc/rpc_scan.h: Likewise.
56189         * sunrpc/rpc_svcout.c: Likewise.
56190         * sunrpc/rpc_tblout.c: Likewise.
56191         * sunrpc/rpc_util.c: Likewise.
56192         * sunrpc/rpc_util.h: Likewise.
56193         * sunrpc/rpcinfo.c: Likewise.
56194         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56195         * sunrpc/rpcsvc/key_prot.x: Likewise.
56196         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56197         * sunrpc/rpcsvc/mount.x: Likewise.
56198         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56199         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56200         * sunrpc/rpcsvc/rex.x: Likewise.
56201         * sunrpc/rpcsvc/rstat.x: Likewise.
56202         * sunrpc/rpcsvc/rusers.x: Likewise.
56203         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56204         * sunrpc/rpcsvc/spray.x: Likewise.
56205         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56206         * sunrpc/rtime.c: Likewise.
56207         * sunrpc/svc.c: Likewise.
56208         * sunrpc/svc_auth.c: Likewise.
56209         * sunrpc/svc_authux.c: Likewise.
56210         * sunrpc/svc_raw.c: Likewise.
56211         * sunrpc/svc_run.c: Likewise.
56212         * sunrpc/svc_simple.c: Likewise.
56213         * sunrpc/svc_tcp.c: Likewise.
56214         * sunrpc/svc_udp.c: Likewise.
56215         * sunrpc/svc_unix.c: Likewise.
56216         * sunrpc/svcauth_des.c: Likewise.
56217         * sunrpc/xcrypt.c: Likewise.
56218         * sunrpc/xdr.c: Likewise.
56219         * sunrpc/xdr_array.c: Likewise.
56220         * sunrpc/xdr_float.c: Likewise.
56221         * sunrpc/xdr_mem.c: Likewise.
56222         * sunrpc/xdr_rec.c: Likewise.
56223         * sunrpc/xdr_ref.c: Likewise.
56224         * sunrpc/xdr_sizeof.c: Likewise.
56225         * sunrpc/xdr_stdio.c: Likewise.
56227         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56228         handling.
56230 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56232         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56234 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56236         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56237         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56238         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56239         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56240         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56241         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56242         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56243         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56244         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56245         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56246         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56247         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56248         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56249         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56251 2010-07-26  Anton Blanchard  <anton@samba.org>
56253         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56254         * malloc/arena.c (heap_trim): Likewise.
56256 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56258         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56259         here.  Not...
56260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56261         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56263 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56265         * sysdeps/i386/elf/Makefile: New file.
56267 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56269         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56270         from fanotify_init.
56271         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56272         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56274 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56276         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56277         of strncasecmp_l.
56278         * sysdeps/multiarch/strcmp.S: Likewise.
56280 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56282         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56283         strncase_l-nonascii.
56284         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56285         Add strncase_l-ssse3.
56286         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56287         * sysdeps/x86_64/strcmp.S: Likewise.
56288         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56289         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56290         * sysdeps/x86_64/strncase.S: New file.
56291         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56292         * sysdeps/x86_64/strncase_l.S: New file.
56293         * string/Makefile (strop-tests): Add strncasecmp.
56294         * string/test-strncasecmp.c: New file.
56296         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56297         warning.
56299         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56300         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56302 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56304         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56306 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56308         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56309         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56310         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56312 2010-05-01  Alan Modra  <amodra@gmail.com>
56314         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56315         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56316         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56317         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56318         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56319         tidying.  Don't tail-call __sigjmp_save for static lib.
56320         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56321         save location.
56322         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56323         (CALL_MCOUNT): Add eh info, and nop after bl.
56324         (TAIL_CALL_SYSCALL_ERROR): New macro.
56325         (PSEUDO_RET): Use it.
56326         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56327         Correct save location of integer regs and cr.
56328         (_dl_profile_resolve): Correct cr save location.  Delete nops
56329         after bl when SHARED.  Reduce cfi size a little by better
56330         placement of cfi directives.
56331         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56332         make a stack frame.  Instead use parm save area as a temp.
56333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56334         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56336         Don't make a stack frame for parent, use parm save area.
56337         Increase child stack frame to 112 bytes.  Don't save unused reg,
56338         and adjust reg usage.  Set up cfi on error recovery and
56339         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56341         (__makecontext): Add dummy nop after jump to exit.
56342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56343         Use correct parm save area and cr save, reduce stack frame.
56344         Correct cfi for possible PSEUDO_RET frame setup.
56345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56346         Branch to local label emitted by PSEUDO_RET rather than
56347         __syscall_error.
56349 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56351         [BZ #11904]
56352         * locale/programs/locale.c (print_assignment): New function.
56353         (show_locale_vars): Use it.
56355 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56357         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56358         field.
56359         (struct statfs64): Likewise.
56360         (_STATFS_F_FLAGS): Define.
56361         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56362         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56363         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56364         (ST_VALID): Define locally.
56365         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56366         __statvfs_getflags, use the provided value.
56367         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56368         __ASSUME_STATFS_F_FLAGS.
56370         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56372         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56373         Add sys/fanotify.h.
56374         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56375         fanotify_mask for GLIBC_2.13.
56376         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56377         fanotify_init and fanotify_mark.
56378         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56379         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56381         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56382         Add prlimit.
56383         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56384         prlimit64 for GLIBC_2.13.
56385         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56386         prlimit64.
56387         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56388         syscall.
56389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56390         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56391         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56392         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56394         add prlimit alias.
56395         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56397         [BZ #11903]
56398         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56399         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56401         * nss/Makefile: Add rules to build and run tst-nss-test1.
56402         * shlib-versions: Add entry for libnss_test1.
56403         * nss/nss_test1.c: New file.
56404         * nss/tst-nss-test1.c: New file.
56406         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56407         (__nss_configure_lookup): Set appropriate entry in
56408         __nss_configure_lookup to true.
56409         * nss/nsswitch.h: Define enum with indeces of databases in
56410         databases and __nss_database_custom arrays.  Declare
56411         __nss_database_custom.
56412         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56413         to avoid using nscd when custom rules are installed.
56414         * nss/getXXbyYY_r.c: Likewise.
56415         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56417         * nss/nss_files/files-parse.c: Whitespace fixes.
56419 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56421         [BZ #11883]
56422         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56423         * posix/fnmatch_loop.c: Likewise.
56425 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56427         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56428         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56429         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56430         * Versions.def [GLIBC_2.13]: Add.
56432 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56434         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56435         Also fail if tpwd after pwuid call is NULL.
56437 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56439         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56440         when converting to ms.
56442 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56444         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56445         EOPNOTSUPP errors with ENOTTY.
56446         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56447         EOPNOTSUPP errors with ENOTTY.
56449 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56451         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56452         Add strcasecmp_l-ssse3.
56453         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56454         strcasecmp.
56455         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56456         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56457         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56459 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56461         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56463         * string/Makefile (strop-tests): Add strcasecmp.
56464         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56465         strcasecmp_l-nonascii.
56466         (gen-as-const-headers): Add locale-defines.sym.
56467         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56468         * sysdeps/x86_64/strcasecmp.S: New file.
56469         * sysdeps/x86_64/strcasecmp_l.S: New file.
56470         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56471         * sysdeps/x86_64/locale-defines.sym: New file.
56472         * string/test-strcasecmp.c: New file.
56474         * string/test-strcasestr.c: Test both ends of the range of characters.
56475         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56477 2010-07-29  Roland McGrath  <roland@redhat.com>
56479         [BZ #11856]
56480         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56482 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56484         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56485         for ld.so.
56487 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56489         * manual/memory.texi (Malloc Tunable Parameters): Document
56490         M_PERTURB.
56492 2010-07-26  Roland McGrath  <roland@redhat.com>
56494         [BZ #11840]
56495         * configure.in (-fgnu89-inline check): Set and substitute
56496         gnu89_inline, not libc_cv_gnu89_inline.
56497         * configure: Regenerated.
56498         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56500 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56502         * string/test-strnlen.c: New file.
56503         * string/Makefile (strop-tests): Add strnlen.
56504         * string/tester.c (test_strnlen): Add a few more test cases.
56505         * string/tst-strlen.c: Better error reporting.
56507         * sysdeps/x86_64/strnlen.S: New file.
56509 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56511         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56512         lower-latency instructions.
56514 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56516         * string/test-strcasestr.c: New file.
56517         * string/test-strstr.c: New file.
56518         * string/Makefile (strop-tests): Add strstr and strcasestr.
56519         * string/str-two-way.h: Don't undefine MAX.
56520         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56522 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56524         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56525         strcasestr-nonascii.
56526         (CFLAGS-strcasestr-nonascii.c): Define.
56527         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56528         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56529         Remove unused attribute.
56531 2010-07-20  Roland McGrath  <roland@redhat.com>
56533         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56534         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56535         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56536         like LD_HWCAP_MASK can disable hwcaps.
56538 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56540         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56542 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56544         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56545         call in strcasestr.
56546         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56547         __strcasestr_sse42_nonascii.
56548         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56549         strcasestr-nonascii.c.
56550         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56552 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56554         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56555         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56556         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56557         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56559 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56561         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56562         fcntl.
56564 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56566         [BZ #11577]
56567         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56568         dl_signal_cerror.
56570 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56572         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56573         _PC_PIPE_BUF using F_GETPIPE_SZ.
56575 2010-07-05  Roland McGrath  <roland@redhat.com>
56577         * manual/arith.texi (Rounding Functions): Fix rint description
56578         implicit in round description.
56580 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56582         * elf/Makefile: Fix linking for a few tests to make recent linker
56583         happy.
56585 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56587         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56588         $(common-objpfx)libc_nonshared.a.
56590 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56592         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56593         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56594         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56595         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56596         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56597         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56598         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56599         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56614         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56615         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56616         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56617         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56618         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56619         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56620         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56621         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56622         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56623         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56624         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56625         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56641 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56643         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56644         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56645         * string/memmove.c (memmove): Renamed to ...
56646         (MEMMOVE): ...this.  Default to memmove.
56647         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56648         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56649         (END_CHK): Define.
56650         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56651         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56652         mempcpy-ssse3-back memmove-ssse3-back.
56653         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56654         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56655         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56656         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56657         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56658         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56659         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56660         * sysdeps/x86_64/multiarch/memmove.c: New file.
56661         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56662         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56663         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56664         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56665         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56666         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56667         Define.
56668         (index_Fast_Copy_Backward): Define.
56669         (HAS_ARCH_FEATURE): Define.
56670         (HAS_FAST_REP_STRING): Define.
56671         (HAS_FAST_COPY_BACKWARD): Define.
56673 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56675         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56676         Restore proper fallback handling.
56678 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56680         [BZ #11701]
56681         * posix/group_member.c (__group_member): Correct checking loop.
56683         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56684         OOM in getpwuid_r correctly.  Return error number when the caller
56685         should return, otherwise -1.
56686         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56687         call returning > 0 value.
56688         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56690 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56692         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56693         libc_nonshared.a from targets in modules-names.
56695 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56697         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56698         requires it.
56700 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56702         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56703         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56704         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56705         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56707 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56709         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56711 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56713         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56714         and F_GETPIPE_SZ.
56715         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56716         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56718         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56719         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56720         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56722 2010-06-14  Roland McGrath  <roland@redhat.com>
56724         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56726 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56728         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56729         __REDIRECT followed by __THROW.
56730         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56731         * posix/getopt.h (getopt): Likewise.
56733 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56735         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56736         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56737         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56738         in AT_FLAGS.
56739         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56740         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56742 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56744         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56746 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56748         [BZ #11640]
56749         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56750         Properly check family and model.
56752 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56754         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56756 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56758         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56760 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56762         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56763         symbol reference.
56765 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56767         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56768         symbol reference.
56770 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56772         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56773         and internal_recvmmsg.
56774         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56775         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56776         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56777         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56779         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56780         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56781         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56783 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56785         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56787 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56789         POWER7 optimizations.
56790         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56791         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56793 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56795         * version.h: Update for 2.13 development version.
56797 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56799         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56800         exceptions.  Return 0.
56802 2010-05-07  Roland McGrath  <roland@redhat.com>
56804         * elf/ldconfig.c (main): Add a const.
56806 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56808         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56809         (args_options): Add no-idn option.
56810         (ahosts_keys_int): Add idn_flags to ai_flags.
56811         (parse_option): Handle 'i' option to clear idn_flags.
56813         * malloc/malloc.c (_int_free): Possible race in the most recently
56814         added check.  Only act on the data if no current modification
56815         happened.
56817 See ChangeLog.17 for earlier changes.